1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayPluginXmlThreatProtection
konnect 3.2.0 published on Tuesday, Sep 16, 2025 by kong

konnect.GatewayPluginXmlThreatProtection

Explore with Pulumi AI

konnect logo
konnect 3.2.0 published on Tuesday, Sep 16, 2025 by kong

    GatewayPluginXMLThreatProtection Resource

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.GatewayPluginXmlThreatProtection;
    import com.pulumi.konnect.GatewayPluginXmlThreatProtectionArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionConfigArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionConsumerArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionOrderingArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionOrderingAfterArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionOrderingBeforeArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionPartialArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionRouteArgs;
    import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionServiceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var myGatewaypluginxmlthreatprotection = new GatewayPluginXmlThreatProtection("myGatewaypluginxmlthreatprotection", GatewayPluginXmlThreatProtectionArgs.builder()
                .config(GatewayPluginXmlThreatProtectionConfigArgs.builder()
                    .allow_dtd(true)
                    .allowed_content_types("...")
                    .attribute(6)
                    .bla_max_amplification(6.05)
                    .bla_threshold(1030)
                    .buffer(7)
                    .checked_content_types("...")
                    .comment(1)
                    .document(4)
                    .entity(1)
                    .entityname(5)
                    .entityproperty(7)
                    .localname(4)
                    .max_attributes(6)
                    .max_children(7)
                    .max_depth(8)
                    .max_namespaces(6)
                    .namespace_aware(false)
                    .namespaceuri(0)
                    .pidata(10)
                    .pitarget(9)
                    .prefix(3)
                    .text(3)
                    .build())
                .consumer(GatewayPluginXmlThreatProtectionConsumerArgs.builder()
                    .id("...my_id...")
                    .build())
                .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .createdAt(2)
                .enabled(true)
                .gatewayPluginXmlThreatProtectionId("...my_id...")
                .instanceName("...my_instance_name...")
                .ordering(GatewayPluginXmlThreatProtectionOrderingArgs.builder()
                    .after(GatewayPluginXmlThreatProtectionOrderingAfterArgs.builder()
                        .access("...")
                        .build())
                    .before(GatewayPluginXmlThreatProtectionOrderingBeforeArgs.builder()
                        .access("...")
                        .build())
                    .build())
                .partials(GatewayPluginXmlThreatProtectionPartialArgs.builder()
                    .id("...my_id...")
                    .name("...my_name...")
                    .path("...my_path...")
                    .build())
                .protocols("https")
                .route(GatewayPluginXmlThreatProtectionRouteArgs.builder()
                    .id("...my_id...")
                    .build())
                .service(GatewayPluginXmlThreatProtectionServiceArgs.builder()
                    .id("...my_id...")
                    .build())
                .tags("...")
                .updatedAt(7)
                .build());
    
        }
    }
    
    resources:
      myGatewaypluginxmlthreatprotection:
        type: konnect:GatewayPluginXmlThreatProtection
        properties:
          config:
            allow_dtd: true
            allowed_content_types:
              - '...'
            attribute: 6
            bla_max_amplification: 6.05
            bla_threshold: 1030
            buffer: 7
            checked_content_types:
              - '...'
            comment: 1
            document: 4
            entity: 1
            entityname: 5
            entityproperty: 7
            localname: 4
            max_attributes: 6
            max_children: 7
            max_depth: 8
            max_namespaces: 6
            namespace_aware: false
            namespaceuri: 0
            pidata: 10
            pitarget: 9
            prefix: 3
            text: 3
          consumer:
            id: '...my_id...'
          controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          createdAt: 2
          enabled: true
          gatewayPluginXmlThreatProtectionId: '...my_id...'
          instanceName: '...my_instance_name...'
          ordering:
            after:
              access:
                - '...'
            before:
              access:
                - '...'
          partials:
            - id: '...my_id...'
              name: '...my_name...'
              path: '...my_path...'
          protocols:
            - https
          route:
            id: '...my_id...'
          service:
            id: '...my_id...'
          tags:
            - '...'
          updatedAt: 7
    

    Create GatewayPluginXmlThreatProtection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GatewayPluginXmlThreatProtection(name: string, args: GatewayPluginXmlThreatProtectionArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayPluginXmlThreatProtection(resource_name: str,
                                         args: GatewayPluginXmlThreatProtectionArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayPluginXmlThreatProtection(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         control_plane_id: Optional[str] = None,
                                         instance_name: Optional[str] = None,
                                         consumer: Optional[GatewayPluginXmlThreatProtectionConsumerArgs] = None,
                                         created_at: Optional[float] = None,
                                         enabled: Optional[bool] = None,
                                         gateway_plugin_xml_threat_protection_id: Optional[str] = None,
                                         config: Optional[GatewayPluginXmlThreatProtectionConfigArgs] = None,
                                         ordering: Optional[GatewayPluginXmlThreatProtectionOrderingArgs] = None,
                                         partials: Optional[Sequence[GatewayPluginXmlThreatProtectionPartialArgs]] = None,
                                         protocols: Optional[Sequence[str]] = None,
                                         route: Optional[GatewayPluginXmlThreatProtectionRouteArgs] = None,
                                         service: Optional[GatewayPluginXmlThreatProtectionServiceArgs] = None,
                                         tags: Optional[Sequence[str]] = None,
                                         updated_at: Optional[float] = None)
    func NewGatewayPluginXmlThreatProtection(ctx *Context, name string, args GatewayPluginXmlThreatProtectionArgs, opts ...ResourceOption) (*GatewayPluginXmlThreatProtection, error)
    public GatewayPluginXmlThreatProtection(string name, GatewayPluginXmlThreatProtectionArgs args, CustomResourceOptions? opts = null)
    public GatewayPluginXmlThreatProtection(String name, GatewayPluginXmlThreatProtectionArgs args)
    public GatewayPluginXmlThreatProtection(String name, GatewayPluginXmlThreatProtectionArgs args, CustomResourceOptions options)
    
    type: konnect:GatewayPluginXmlThreatProtection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GatewayPluginXmlThreatProtectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GatewayPluginXmlThreatProtectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GatewayPluginXmlThreatProtectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayPluginXmlThreatProtectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayPluginXmlThreatProtectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var gatewayPluginXmlThreatProtectionResource = new Konnect.GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource", new()
    {
        ControlPlaneId = "string",
        InstanceName = "string",
        Consumer = new Konnect.Inputs.GatewayPluginXmlThreatProtectionConsumerArgs
        {
            Id = "string",
        },
        CreatedAt = 0,
        Enabled = false,
        GatewayPluginXmlThreatProtectionId = "string",
        Config = new Konnect.Inputs.GatewayPluginXmlThreatProtectionConfigArgs
        {
            AllowDtd = false,
            AllowedContentTypes = new[]
            {
                "string",
            },
            Attribute = 0,
            BlaMaxAmplification = 0,
            BlaThreshold = 0,
            Buffer = 0,
            CheckedContentTypes = new[]
            {
                "string",
            },
            Comment = 0,
            Document = 0,
            Entity = 0,
            Entityname = 0,
            Entityproperty = 0,
            Localname = 0,
            MaxAttributes = 0,
            MaxChildren = 0,
            MaxDepth = 0,
            MaxNamespaces = 0,
            NamespaceAware = false,
            Namespaceuri = 0,
            Pidata = 0,
            Pitarget = 0,
            Prefix = 0,
            Text = 0,
        },
        Ordering = new Konnect.Inputs.GatewayPluginXmlThreatProtectionOrderingArgs
        {
            After = new Konnect.Inputs.GatewayPluginXmlThreatProtectionOrderingAfterArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
            Before = new Konnect.Inputs.GatewayPluginXmlThreatProtectionOrderingBeforeArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
        },
        Partials = new[]
        {
            new Konnect.Inputs.GatewayPluginXmlThreatProtectionPartialArgs
            {
                Id = "string",
                Name = "string",
                Path = "string",
            },
        },
        Protocols = new[]
        {
            "string",
        },
        Route = new Konnect.Inputs.GatewayPluginXmlThreatProtectionRouteArgs
        {
            Id = "string",
        },
        Service = new Konnect.Inputs.GatewayPluginXmlThreatProtectionServiceArgs
        {
            Id = "string",
        },
        Tags = new[]
        {
            "string",
        },
        UpdatedAt = 0,
    });
    
    example, err := konnect.NewGatewayPluginXmlThreatProtection(ctx, "gatewayPluginXmlThreatProtectionResource", &konnect.GatewayPluginXmlThreatProtectionArgs{
    	ControlPlaneId: pulumi.String("string"),
    	InstanceName:   pulumi.String("string"),
    	Consumer: &konnect.GatewayPluginXmlThreatProtectionConsumerArgs{
    		Id: pulumi.String("string"),
    	},
    	CreatedAt:                          pulumi.Float64(0),
    	Enabled:                            pulumi.Bool(false),
    	GatewayPluginXmlThreatProtectionId: pulumi.String("string"),
    	Config: &konnect.GatewayPluginXmlThreatProtectionConfigArgs{
    		AllowDtd: pulumi.Bool(false),
    		AllowedContentTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Attribute:           pulumi.Float64(0),
    		BlaMaxAmplification: pulumi.Float64(0),
    		BlaThreshold:        pulumi.Float64(0),
    		Buffer:              pulumi.Float64(0),
    		CheckedContentTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Comment:        pulumi.Float64(0),
    		Document:       pulumi.Float64(0),
    		Entity:         pulumi.Float64(0),
    		Entityname:     pulumi.Float64(0),
    		Entityproperty: pulumi.Float64(0),
    		Localname:      pulumi.Float64(0),
    		MaxAttributes:  pulumi.Float64(0),
    		MaxChildren:    pulumi.Float64(0),
    		MaxDepth:       pulumi.Float64(0),
    		MaxNamespaces:  pulumi.Float64(0),
    		NamespaceAware: pulumi.Bool(false),
    		Namespaceuri:   pulumi.Float64(0),
    		Pidata:         pulumi.Float64(0),
    		Pitarget:       pulumi.Float64(0),
    		Prefix:         pulumi.Float64(0),
    		Text:           pulumi.Float64(0),
    	},
    	Ordering: &konnect.GatewayPluginXmlThreatProtectionOrderingArgs{
    		After: &konnect.GatewayPluginXmlThreatProtectionOrderingAfterArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Before: &konnect.GatewayPluginXmlThreatProtectionOrderingBeforeArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Partials: konnect.GatewayPluginXmlThreatProtectionPartialArray{
    		&konnect.GatewayPluginXmlThreatProtectionPartialArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Path: pulumi.String("string"),
    		},
    	},
    	Protocols: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Route: &konnect.GatewayPluginXmlThreatProtectionRouteArgs{
    		Id: pulumi.String("string"),
    	},
    	Service: &konnect.GatewayPluginXmlThreatProtectionServiceArgs{
    		Id: pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UpdatedAt: pulumi.Float64(0),
    })
    
    var gatewayPluginXmlThreatProtectionResource = new GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource", GatewayPluginXmlThreatProtectionArgs.builder()
        .controlPlaneId("string")
        .instanceName("string")
        .consumer(GatewayPluginXmlThreatProtectionConsumerArgs.builder()
            .id("string")
            .build())
        .createdAt(0.0)
        .enabled(false)
        .gatewayPluginXmlThreatProtectionId("string")
        .config(GatewayPluginXmlThreatProtectionConfigArgs.builder()
            .allowDtd(false)
            .allowedContentTypes("string")
            .attribute(0.0)
            .blaMaxAmplification(0.0)
            .blaThreshold(0.0)
            .buffer(0.0)
            .checkedContentTypes("string")
            .comment(0.0)
            .document(0.0)
            .entity(0.0)
            .entityname(0.0)
            .entityproperty(0.0)
            .localname(0.0)
            .maxAttributes(0.0)
            .maxChildren(0.0)
            .maxDepth(0.0)
            .maxNamespaces(0.0)
            .namespaceAware(false)
            .namespaceuri(0.0)
            .pidata(0.0)
            .pitarget(0.0)
            .prefix(0.0)
            .text(0.0)
            .build())
        .ordering(GatewayPluginXmlThreatProtectionOrderingArgs.builder()
            .after(GatewayPluginXmlThreatProtectionOrderingAfterArgs.builder()
                .accesses("string")
                .build())
            .before(GatewayPluginXmlThreatProtectionOrderingBeforeArgs.builder()
                .accesses("string")
                .build())
            .build())
        .partials(GatewayPluginXmlThreatProtectionPartialArgs.builder()
            .id("string")
            .name("string")
            .path("string")
            .build())
        .protocols("string")
        .route(GatewayPluginXmlThreatProtectionRouteArgs.builder()
            .id("string")
            .build())
        .service(GatewayPluginXmlThreatProtectionServiceArgs.builder()
            .id("string")
            .build())
        .tags("string")
        .updatedAt(0.0)
        .build());
    
    gateway_plugin_xml_threat_protection_resource = konnect.GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource",
        control_plane_id="string",
        instance_name="string",
        consumer={
            "id": "string",
        },
        created_at=0,
        enabled=False,
        gateway_plugin_xml_threat_protection_id="string",
        config={
            "allow_dtd": False,
            "allowed_content_types": ["string"],
            "attribute": 0,
            "bla_max_amplification": 0,
            "bla_threshold": 0,
            "buffer": 0,
            "checked_content_types": ["string"],
            "comment": 0,
            "document": 0,
            "entity": 0,
            "entityname": 0,
            "entityproperty": 0,
            "localname": 0,
            "max_attributes": 0,
            "max_children": 0,
            "max_depth": 0,
            "max_namespaces": 0,
            "namespace_aware": False,
            "namespaceuri": 0,
            "pidata": 0,
            "pitarget": 0,
            "prefix": 0,
            "text": 0,
        },
        ordering={
            "after": {
                "accesses": ["string"],
            },
            "before": {
                "accesses": ["string"],
            },
        },
        partials=[{
            "id": "string",
            "name": "string",
            "path": "string",
        }],
        protocols=["string"],
        route={
            "id": "string",
        },
        service={
            "id": "string",
        },
        tags=["string"],
        updated_at=0)
    
    const gatewayPluginXmlThreatProtectionResource = new konnect.GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource", {
        controlPlaneId: "string",
        instanceName: "string",
        consumer: {
            id: "string",
        },
        createdAt: 0,
        enabled: false,
        gatewayPluginXmlThreatProtectionId: "string",
        config: {
            allowDtd: false,
            allowedContentTypes: ["string"],
            attribute: 0,
            blaMaxAmplification: 0,
            blaThreshold: 0,
            buffer: 0,
            checkedContentTypes: ["string"],
            comment: 0,
            document: 0,
            entity: 0,
            entityname: 0,
            entityproperty: 0,
            localname: 0,
            maxAttributes: 0,
            maxChildren: 0,
            maxDepth: 0,
            maxNamespaces: 0,
            namespaceAware: false,
            namespaceuri: 0,
            pidata: 0,
            pitarget: 0,
            prefix: 0,
            text: 0,
        },
        ordering: {
            after: {
                accesses: ["string"],
            },
            before: {
                accesses: ["string"],
            },
        },
        partials: [{
            id: "string",
            name: "string",
            path: "string",
        }],
        protocols: ["string"],
        route: {
            id: "string",
        },
        service: {
            id: "string",
        },
        tags: ["string"],
        updatedAt: 0,
    });
    
    type: konnect:GatewayPluginXmlThreatProtection
    properties:
        config:
            allowDtd: false
            allowedContentTypes:
                - string
            attribute: 0
            blaMaxAmplification: 0
            blaThreshold: 0
            buffer: 0
            checkedContentTypes:
                - string
            comment: 0
            document: 0
            entity: 0
            entityname: 0
            entityproperty: 0
            localname: 0
            maxAttributes: 0
            maxChildren: 0
            maxDepth: 0
            maxNamespaces: 0
            namespaceAware: false
            namespaceuri: 0
            pidata: 0
            pitarget: 0
            prefix: 0
            text: 0
        consumer:
            id: string
        controlPlaneId: string
        createdAt: 0
        enabled: false
        gatewayPluginXmlThreatProtectionId: string
        instanceName: string
        ordering:
            after:
                accesses:
                    - string
            before:
                accesses:
                    - string
        partials:
            - id: string
              name: string
              path: string
        protocols:
            - string
        route:
            id: string
        service:
            id: string
        tags:
            - string
        updatedAt: 0
    

    GatewayPluginXmlThreatProtection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The GatewayPluginXmlThreatProtection resource accepts the following input properties:

    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Config GatewayPluginXmlThreatProtectionConfig
    Consumer GatewayPluginXmlThreatProtectionConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    CreatedAt double
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginXmlThreatProtectionId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginXmlThreatProtectionOrdering
    Partials List<GatewayPluginXmlThreatProtectionPartial>
    A list of partials to be used by the plugin.
    Protocols List<string>
    A set of strings representing HTTP protocols.
    Route GatewayPluginXmlThreatProtectionRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginXmlThreatProtectionService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags List<string>
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt double
    Unix epoch when the resource was last updated.
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Config GatewayPluginXmlThreatProtectionConfigArgs
    Consumer GatewayPluginXmlThreatProtectionConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    CreatedAt float64
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginXmlThreatProtectionId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginXmlThreatProtectionOrderingArgs
    Partials []GatewayPluginXmlThreatProtectionPartialArgs
    A list of partials to be used by the plugin.
    Protocols []string
    A set of strings representing HTTP protocols.
    Route GatewayPluginXmlThreatProtectionRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginXmlThreatProtectionServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags []string
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt float64
    Unix epoch when the resource was last updated.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    config GatewayPluginXmlThreatProtectionConfig
    consumer GatewayPluginXmlThreatProtectionConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    createdAt Double
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginXmlThreatProtectionId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginXmlThreatProtectionOrdering
    partials List<GatewayPluginXmlThreatProtectionPartial>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols.
    route GatewayPluginXmlThreatProtectionRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginXmlThreatProtectionService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Double
    Unix epoch when the resource was last updated.
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    config GatewayPluginXmlThreatProtectionConfig
    consumer GatewayPluginXmlThreatProtectionConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    createdAt number
    Unix epoch when the resource was created.
    enabled boolean
    Whether the plugin is applied. Default: true
    gatewayPluginXmlThreatProtectionId string
    A string representing a UUID (universally unique identifier).
    instanceName string
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginXmlThreatProtectionOrdering
    partials GatewayPluginXmlThreatProtectionPartial[]
    A list of partials to be used by the plugin.
    protocols string[]
    A set of strings representing HTTP protocols.
    route GatewayPluginXmlThreatProtectionRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginXmlThreatProtectionService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags string[]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt number
    Unix epoch when the resource was last updated.
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    config GatewayPluginXmlThreatProtectionConfigArgs
    consumer GatewayPluginXmlThreatProtectionConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    created_at float
    Unix epoch when the resource was created.
    enabled bool
    Whether the plugin is applied. Default: true
    gateway_plugin_xml_threat_protection_id str
    A string representing a UUID (universally unique identifier).
    instance_name str
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginXmlThreatProtectionOrderingArgs
    partials Sequence[GatewayPluginXmlThreatProtectionPartialArgs]
    A list of partials to be used by the plugin.
    protocols Sequence[str]
    A set of strings representing HTTP protocols.
    route GatewayPluginXmlThreatProtectionRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginXmlThreatProtectionServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags Sequence[str]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updated_at float
    Unix epoch when the resource was last updated.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    config Property Map
    consumer Property Map
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    createdAt Number
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginXmlThreatProtectionId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering Property Map
    partials List<Property Map>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols.
    route Property Map
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service Property Map
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Number
    Unix epoch when the resource was last updated.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GatewayPluginXmlThreatProtection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GatewayPluginXmlThreatProtection Resource

    Get an existing GatewayPluginXmlThreatProtection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GatewayPluginXmlThreatProtectionState, opts?: CustomResourceOptions): GatewayPluginXmlThreatProtection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[GatewayPluginXmlThreatProtectionConfigArgs] = None,
            consumer: Optional[GatewayPluginXmlThreatProtectionConsumerArgs] = None,
            control_plane_id: Optional[str] = None,
            created_at: Optional[float] = None,
            enabled: Optional[bool] = None,
            gateway_plugin_xml_threat_protection_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            ordering: Optional[GatewayPluginXmlThreatProtectionOrderingArgs] = None,
            partials: Optional[Sequence[GatewayPluginXmlThreatProtectionPartialArgs]] = None,
            protocols: Optional[Sequence[str]] = None,
            route: Optional[GatewayPluginXmlThreatProtectionRouteArgs] = None,
            service: Optional[GatewayPluginXmlThreatProtectionServiceArgs] = None,
            tags: Optional[Sequence[str]] = None,
            updated_at: Optional[float] = None) -> GatewayPluginXmlThreatProtection
    func GetGatewayPluginXmlThreatProtection(ctx *Context, name string, id IDInput, state *GatewayPluginXmlThreatProtectionState, opts ...ResourceOption) (*GatewayPluginXmlThreatProtection, error)
    public static GatewayPluginXmlThreatProtection Get(string name, Input<string> id, GatewayPluginXmlThreatProtectionState? state, CustomResourceOptions? opts = null)
    public static GatewayPluginXmlThreatProtection get(String name, Output<String> id, GatewayPluginXmlThreatProtectionState state, CustomResourceOptions options)
    resources:  _:    type: konnect:GatewayPluginXmlThreatProtection    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Config GatewayPluginXmlThreatProtectionConfig
    Consumer GatewayPluginXmlThreatProtectionConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    CreatedAt double
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginXmlThreatProtectionId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginXmlThreatProtectionOrdering
    Partials List<GatewayPluginXmlThreatProtectionPartial>
    A list of partials to be used by the plugin.
    Protocols List<string>
    A set of strings representing HTTP protocols.
    Route GatewayPluginXmlThreatProtectionRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginXmlThreatProtectionService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags List<string>
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt double
    Unix epoch when the resource was last updated.
    Config GatewayPluginXmlThreatProtectionConfigArgs
    Consumer GatewayPluginXmlThreatProtectionConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    CreatedAt float64
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginXmlThreatProtectionId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginXmlThreatProtectionOrderingArgs
    Partials []GatewayPluginXmlThreatProtectionPartialArgs
    A list of partials to be used by the plugin.
    Protocols []string
    A set of strings representing HTTP protocols.
    Route GatewayPluginXmlThreatProtectionRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginXmlThreatProtectionServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags []string
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt float64
    Unix epoch when the resource was last updated.
    config GatewayPluginXmlThreatProtectionConfig
    consumer GatewayPluginXmlThreatProtectionConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt Double
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginXmlThreatProtectionId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginXmlThreatProtectionOrdering
    partials List<GatewayPluginXmlThreatProtectionPartial>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols.
    route GatewayPluginXmlThreatProtectionRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginXmlThreatProtectionService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Double
    Unix epoch when the resource was last updated.
    config GatewayPluginXmlThreatProtectionConfig
    consumer GatewayPluginXmlThreatProtectionConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt number
    Unix epoch when the resource was created.
    enabled boolean
    Whether the plugin is applied. Default: true
    gatewayPluginXmlThreatProtectionId string
    A string representing a UUID (universally unique identifier).
    instanceName string
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginXmlThreatProtectionOrdering
    partials GatewayPluginXmlThreatProtectionPartial[]
    A list of partials to be used by the plugin.
    protocols string[]
    A set of strings representing HTTP protocols.
    route GatewayPluginXmlThreatProtectionRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginXmlThreatProtectionService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags string[]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt number
    Unix epoch when the resource was last updated.
    config GatewayPluginXmlThreatProtectionConfigArgs
    consumer GatewayPluginXmlThreatProtectionConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    created_at float
    Unix epoch when the resource was created.
    enabled bool
    Whether the plugin is applied. Default: true
    gateway_plugin_xml_threat_protection_id str
    A string representing a UUID (universally unique identifier).
    instance_name str
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginXmlThreatProtectionOrderingArgs
    partials Sequence[GatewayPluginXmlThreatProtectionPartialArgs]
    A list of partials to be used by the plugin.
    protocols Sequence[str]
    A set of strings representing HTTP protocols.
    route GatewayPluginXmlThreatProtectionRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginXmlThreatProtectionServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags Sequence[str]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updated_at float
    Unix epoch when the resource was last updated.
    config Property Map
    consumer Property Map
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt Number
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginXmlThreatProtectionId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering Property Map
    partials List<Property Map>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols.
    route Property Map
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service Property Map
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Number
    Unix epoch when the resource was last updated.

    Supporting Types

    GatewayPluginXmlThreatProtectionConfig, GatewayPluginXmlThreatProtectionConfigArgs

    AllowDtd bool
    Indicates whether an XML Document Type Definition (DTD) section is allowed. Default: false
    AllowedContentTypes List<string>
    A list of Content-Type values with payloads that are allowed, but aren't validated.
    Attribute double
    Maximum size of the attribute value. Default: 1048576
    BlaMaxAmplification double
    Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. Default: 100
    BlaThreshold double
    Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. Default: 8388608
    Buffer double
    Maximum size of the unparsed buffer (see below). Default: 1048576
    CheckedContentTypes List<string>
    A list of Content-Type values with payloads that must be validated.
    Comment double
    Maximum size of comments. Default: 1024
    Document double
    Maximum size of the entire document. Default: 10485760
    Entity double
    Maximum size of entity values in EntityDecl. Default: 1024
    Entityname double
    Maximum size of entity names in EntityDecl. Default: 1024
    Entityproperty double
    Maximum size of systemId, publicId, or notationName in EntityDecl. Default: 1024
    Localname double
    Maximum size of the localname. This applies to tags and attributes. Default: 1024
    MaxAttributes double
    Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes. Default: 100
    MaxChildren double
    Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child. Default: 100
    MaxDepth double
    Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. Default: 50
    MaxNamespaces double
    Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. Default: 20
    NamespaceAware bool
    If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such. Default: true
    Namespaceuri double
    Maximum size of the namespace URI. This value is required if parsing is namespace-aware. Default: 1024
    Pidata double
    Maximum size of processing instruction data. Default: 1024
    Pitarget double
    Maximum size of processing instruction targets. Default: 1024
    Prefix double
    Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. Default: 1024
    Text double
    Maximum text inside tags (counted over all adjacent text/CDATA elements combined). Default: 1048576
    AllowDtd bool
    Indicates whether an XML Document Type Definition (DTD) section is allowed. Default: false
    AllowedContentTypes []string
    A list of Content-Type values with payloads that are allowed, but aren't validated.
    Attribute float64
    Maximum size of the attribute value. Default: 1048576
    BlaMaxAmplification float64
    Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. Default: 100
    BlaThreshold float64
    Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. Default: 8388608
    Buffer float64
    Maximum size of the unparsed buffer (see below). Default: 1048576
    CheckedContentTypes []string
    A list of Content-Type values with payloads that must be validated.
    Comment float64
    Maximum size of comments. Default: 1024
    Document float64
    Maximum size of the entire document. Default: 10485760
    Entity float64
    Maximum size of entity values in EntityDecl. Default: 1024
    Entityname float64
    Maximum size of entity names in EntityDecl. Default: 1024
    Entityproperty float64
    Maximum size of systemId, publicId, or notationName in EntityDecl. Default: 1024
    Localname float64
    Maximum size of the localname. This applies to tags and attributes. Default: 1024
    MaxAttributes float64
    Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes. Default: 100
    MaxChildren float64
    Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child. Default: 100
    MaxDepth float64
    Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. Default: 50
    MaxNamespaces float64
    Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. Default: 20
    NamespaceAware bool
    If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such. Default: true
    Namespaceuri float64
    Maximum size of the namespace URI. This value is required if parsing is namespace-aware. Default: 1024
    Pidata float64
    Maximum size of processing instruction data. Default: 1024
    Pitarget float64
    Maximum size of processing instruction targets. Default: 1024
    Prefix float64
    Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. Default: 1024
    Text float64
    Maximum text inside tags (counted over all adjacent text/CDATA elements combined). Default: 1048576
    allowDtd Boolean
    Indicates whether an XML Document Type Definition (DTD) section is allowed. Default: false
    allowedContentTypes List<String>
    A list of Content-Type values with payloads that are allowed, but aren't validated.
    attribute Double
    Maximum size of the attribute value. Default: 1048576
    blaMaxAmplification Double
    Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. Default: 100
    blaThreshold Double
    Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. Default: 8388608
    buffer Double
    Maximum size of the unparsed buffer (see below). Default: 1048576
    checkedContentTypes List<String>
    A list of Content-Type values with payloads that must be validated.
    comment Double
    Maximum size of comments. Default: 1024
    document Double
    Maximum size of the entire document. Default: 10485760
    entity Double
    Maximum size of entity values in EntityDecl. Default: 1024
    entityname Double
    Maximum size of entity names in EntityDecl. Default: 1024
    entityproperty Double
    Maximum size of systemId, publicId, or notationName in EntityDecl. Default: 1024
    localname Double
    Maximum size of the localname. This applies to tags and attributes. Default: 1024
    maxAttributes Double
    Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes. Default: 100
    maxChildren Double
    Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child. Default: 100
    maxDepth Double
    Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. Default: 50
    maxNamespaces Double
    Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. Default: 20
    namespaceAware Boolean
    If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such. Default: true
    namespaceuri Double
    Maximum size of the namespace URI. This value is required if parsing is namespace-aware. Default: 1024
    pidata Double
    Maximum size of processing instruction data. Default: 1024
    pitarget Double
    Maximum size of processing instruction targets. Default: 1024
    prefix Double
    Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. Default: 1024
    text Double
    Maximum text inside tags (counted over all adjacent text/CDATA elements combined). Default: 1048576
    allowDtd boolean
    Indicates whether an XML Document Type Definition (DTD) section is allowed. Default: false
    allowedContentTypes string[]
    A list of Content-Type values with payloads that are allowed, but aren't validated.
    attribute number
    Maximum size of the attribute value. Default: 1048576
    blaMaxAmplification number
    Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. Default: 100
    blaThreshold number
    Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. Default: 8388608
    buffer number
    Maximum size of the unparsed buffer (see below). Default: 1048576
    checkedContentTypes string[]
    A list of Content-Type values with payloads that must be validated.
    comment number
    Maximum size of comments. Default: 1024
    document number
    Maximum size of the entire document. Default: 10485760
    entity number
    Maximum size of entity values in EntityDecl. Default: 1024
    entityname number
    Maximum size of entity names in EntityDecl. Default: 1024
    entityproperty number
    Maximum size of systemId, publicId, or notationName in EntityDecl. Default: 1024
    localname number
    Maximum size of the localname. This applies to tags and attributes. Default: 1024
    maxAttributes number
    Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes. Default: 100
    maxChildren number
    Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child. Default: 100
    maxDepth number
    Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. Default: 50
    maxNamespaces number
    Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. Default: 20
    namespaceAware boolean
    If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such. Default: true
    namespaceuri number
    Maximum size of the namespace URI. This value is required if parsing is namespace-aware. Default: 1024
    pidata number
    Maximum size of processing instruction data. Default: 1024
    pitarget number
    Maximum size of processing instruction targets. Default: 1024
    prefix number
    Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. Default: 1024
    text number
    Maximum text inside tags (counted over all adjacent text/CDATA elements combined). Default: 1048576
    allow_dtd bool
    Indicates whether an XML Document Type Definition (DTD) section is allowed. Default: false
    allowed_content_types Sequence[str]
    A list of Content-Type values with payloads that are allowed, but aren't validated.
    attribute float
    Maximum size of the attribute value. Default: 1048576
    bla_max_amplification float
    Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. Default: 100
    bla_threshold float
    Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. Default: 8388608
    buffer float
    Maximum size of the unparsed buffer (see below). Default: 1048576
    checked_content_types Sequence[str]
    A list of Content-Type values with payloads that must be validated.
    comment float
    Maximum size of comments. Default: 1024
    document float
    Maximum size of the entire document. Default: 10485760
    entity float
    Maximum size of entity values in EntityDecl. Default: 1024
    entityname float
    Maximum size of entity names in EntityDecl. Default: 1024
    entityproperty float
    Maximum size of systemId, publicId, or notationName in EntityDecl. Default: 1024
    localname float
    Maximum size of the localname. This applies to tags and attributes. Default: 1024
    max_attributes float
    Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes. Default: 100
    max_children float
    Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child. Default: 100
    max_depth float
    Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. Default: 50
    max_namespaces float
    Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. Default: 20
    namespace_aware bool
    If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such. Default: true
    namespaceuri float
    Maximum size of the namespace URI. This value is required if parsing is namespace-aware. Default: 1024
    pidata float
    Maximum size of processing instruction data. Default: 1024
    pitarget float
    Maximum size of processing instruction targets. Default: 1024
    prefix float
    Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. Default: 1024
    text float
    Maximum text inside tags (counted over all adjacent text/CDATA elements combined). Default: 1048576
    allowDtd Boolean
    Indicates whether an XML Document Type Definition (DTD) section is allowed. Default: false
    allowedContentTypes List<String>
    A list of Content-Type values with payloads that are allowed, but aren't validated.
    attribute Number
    Maximum size of the attribute value. Default: 1048576
    blaMaxAmplification Number
    Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. Default: 100
    blaThreshold Number
    Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. Default: 8388608
    buffer Number
    Maximum size of the unparsed buffer (see below). Default: 1048576
    checkedContentTypes List<String>
    A list of Content-Type values with payloads that must be validated.
    comment Number
    Maximum size of comments. Default: 1024
    document Number
    Maximum size of the entire document. Default: 10485760
    entity Number
    Maximum size of entity values in EntityDecl. Default: 1024
    entityname Number
    Maximum size of entity names in EntityDecl. Default: 1024
    entityproperty Number
    Maximum size of systemId, publicId, or notationName in EntityDecl. Default: 1024
    localname Number
    Maximum size of the localname. This applies to tags and attributes. Default: 1024
    maxAttributes Number
    Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes. Default: 100
    maxChildren Number
    Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child. Default: 100
    maxDepth Number
    Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. Default: 50
    maxNamespaces Number
    Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. Default: 20
    namespaceAware Boolean
    If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such. Default: true
    namespaceuri Number
    Maximum size of the namespace URI. This value is required if parsing is namespace-aware. Default: 1024
    pidata Number
    Maximum size of processing instruction data. Default: 1024
    pitarget Number
    Maximum size of processing instruction targets. Default: 1024
    prefix Number
    Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. Default: 1024
    text Number
    Maximum text inside tags (counted over all adjacent text/CDATA elements combined). Default: 1048576

    GatewayPluginXmlThreatProtectionConsumer, GatewayPluginXmlThreatProtectionConsumerArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    GatewayPluginXmlThreatProtectionOrdering, GatewayPluginXmlThreatProtectionOrderingArgs

    GatewayPluginXmlThreatProtectionOrderingAfter, GatewayPluginXmlThreatProtectionOrderingAfterArgs

    Accesses List<string>
    Accesses []string
    accesses List<String>
    accesses string[]
    accesses Sequence[str]
    accesses List<String>

    GatewayPluginXmlThreatProtectionOrderingBefore, GatewayPluginXmlThreatProtectionOrderingBeforeArgs

    Accesses List<string>
    Accesses []string
    accesses List<String>
    accesses string[]
    accesses Sequence[str]
    accesses List<String>

    GatewayPluginXmlThreatProtectionPartial, GatewayPluginXmlThreatProtectionPartialArgs

    Id string
    A string representing a UUID (universally unique identifier).
    Name string
    A unique string representing a UTF-8 encoded name.
    Path string
    Id string
    A string representing a UUID (universally unique identifier).
    Name string
    A unique string representing a UTF-8 encoded name.
    Path string
    id String
    A string representing a UUID (universally unique identifier).
    name String
    A unique string representing a UTF-8 encoded name.
    path String
    id string
    A string representing a UUID (universally unique identifier).
    name string
    A unique string representing a UTF-8 encoded name.
    path string
    id str
    A string representing a UUID (universally unique identifier).
    name str
    A unique string representing a UTF-8 encoded name.
    path str
    id String
    A string representing a UUID (universally unique identifier).
    name String
    A unique string representing a UTF-8 encoded name.
    path String

    GatewayPluginXmlThreatProtectionRoute, GatewayPluginXmlThreatProtectionRouteArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    GatewayPluginXmlThreatProtectionService, GatewayPluginXmlThreatProtectionServiceArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    Import

    $ pulumi import konnect:index/gatewayPluginXmlThreatProtection:GatewayPluginXmlThreatProtection my_konnect_gateway_plugin_xml_threat_protection '{"control_plane_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "3473c251-5b6c-4f45-b1ff-7ede735a366d"}'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect logo
    konnect 3.2.0 published on Tuesday, Sep 16, 2025 by kong