1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayPluginAiSanitizer
konnect 2.7.2 published on Wednesday, May 7, 2025 by kong

konnect.GatewayPluginAiSanitizer

Explore with Pulumi AI

konnect logo
konnect 2.7.2 published on Wednesday, May 7, 2025 by kong

    GatewayPluginAiSanitizer Resource

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.GatewayPluginAiSanitizer;
    import com.pulumi.konnect.GatewayPluginAiSanitizerArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerConfigArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerConsumerArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerConsumerGroupArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerOrderingArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerOrderingAfterArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerOrderingBeforeArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerRouteArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiSanitizerServiceArgs;
    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 myGatewaypluginaisanitizer = new GatewayPluginAiSanitizer("myGatewaypluginaisanitizer", GatewayPluginAiSanitizerArgs.builder()
                .config(GatewayPluginAiSanitizerConfigArgs.builder()
                    .anonymize("ssn")
                    .custom_patterns(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .host("...my_host...")
                    .keepalive_timeout(7.7)
                    .port(6.01)
                    .recover_redacted(true)
                    .redact_type("placeholder")
                    .scheme("...my_scheme...")
                    .stop_on_error(false)
                    .timeout(1.92)
                    .build())
                .consumer(GatewayPluginAiSanitizerConsumerArgs.builder()
                    .id("...my_id...")
                    .build())
                .consumerGroup(GatewayPluginAiSanitizerConsumerGroupArgs.builder()
                    .id("...my_id...")
                    .build())
                .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .createdAt(2)
                .enabled(false)
                .gatewayPluginAiSanitizerId("...my_id...")
                .instanceName("...my_instance_name...")
                .ordering(GatewayPluginAiSanitizerOrderingArgs.builder()
                    .after(GatewayPluginAiSanitizerOrderingAfterArgs.builder()
                        .access("...")
                        .build())
                    .before(GatewayPluginAiSanitizerOrderingBeforeArgs.builder()
                        .access("...")
                        .build())
                    .build())
                .protocols("grpc")
                .route(GatewayPluginAiSanitizerRouteArgs.builder()
                    .id("...my_id...")
                    .build())
                .service(GatewayPluginAiSanitizerServiceArgs.builder()
                    .id("...my_id...")
                    .build())
                .tags("...")
                .updatedAt(9)
                .build());
    
        }
    }
    
    resources:
      myGatewaypluginaisanitizer:
        type: konnect:GatewayPluginAiSanitizer
        properties:
          config:
            anonymize:
              - ssn
            custom_patterns:
              - name: '...my_name...'
                regex: '...my_regex...'
                score: 0.99
            host: '...my_host...'
            keepalive_timeout: 7.7
            port: 6.01
            recover_redacted: true
            redact_type: placeholder
            scheme: '...my_scheme...'
            stop_on_error: false
            timeout: 1.92
          consumer:
            id: '...my_id...'
          consumerGroup:
            id: '...my_id...'
          controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          createdAt: 2
          enabled: false
          gatewayPluginAiSanitizerId: '...my_id...'
          instanceName: '...my_instance_name...'
          ordering:
            after:
              access:
                - '...'
            before:
              access:
                - '...'
          protocols:
            - grpc
          route:
            id: '...my_id...'
          service:
            id: '...my_id...'
          tags:
            - '...'
          updatedAt: 9
    

    Create GatewayPluginAiSanitizer Resource

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

    Constructor syntax

    new GatewayPluginAiSanitizer(name: string, args: GatewayPluginAiSanitizerArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayPluginAiSanitizer(resource_name: str,
                                 args: GatewayPluginAiSanitizerArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayPluginAiSanitizer(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 control_plane_id: Optional[str] = None,
                                 gateway_plugin_ai_sanitizer_id: Optional[str] = None,
                                 consumer_group: Optional[GatewayPluginAiSanitizerConsumerGroupArgs] = None,
                                 consumer: Optional[GatewayPluginAiSanitizerConsumerArgs] = None,
                                 created_at: Optional[float] = None,
                                 enabled: Optional[bool] = None,
                                 config: Optional[GatewayPluginAiSanitizerConfigArgs] = None,
                                 instance_name: Optional[str] = None,
                                 ordering: Optional[GatewayPluginAiSanitizerOrderingArgs] = None,
                                 protocols: Optional[Sequence[str]] = None,
                                 route: Optional[GatewayPluginAiSanitizerRouteArgs] = None,
                                 service: Optional[GatewayPluginAiSanitizerServiceArgs] = None,
                                 tags: Optional[Sequence[str]] = None,
                                 updated_at: Optional[float] = None)
    func NewGatewayPluginAiSanitizer(ctx *Context, name string, args GatewayPluginAiSanitizerArgs, opts ...ResourceOption) (*GatewayPluginAiSanitizer, error)
    public GatewayPluginAiSanitizer(string name, GatewayPluginAiSanitizerArgs args, CustomResourceOptions? opts = null)
    public GatewayPluginAiSanitizer(String name, GatewayPluginAiSanitizerArgs args)
    public GatewayPluginAiSanitizer(String name, GatewayPluginAiSanitizerArgs args, CustomResourceOptions options)
    
    type: konnect:GatewayPluginAiSanitizer
    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 GatewayPluginAiSanitizerArgs
    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 GatewayPluginAiSanitizerArgs
    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 GatewayPluginAiSanitizerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayPluginAiSanitizerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayPluginAiSanitizerArgs
    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 gatewayPluginAiSanitizerResource = new Konnect.GatewayPluginAiSanitizer("gatewayPluginAiSanitizerResource", new()
    {
        ControlPlaneId = "string",
        GatewayPluginAiSanitizerId = "string",
        ConsumerGroup = new Konnect.Inputs.GatewayPluginAiSanitizerConsumerGroupArgs
        {
            Id = "string",
        },
        Consumer = new Konnect.Inputs.GatewayPluginAiSanitizerConsumerArgs
        {
            Id = "string",
        },
        CreatedAt = 0,
        Enabled = false,
        Config = new Konnect.Inputs.GatewayPluginAiSanitizerConfigArgs
        {
            Anonymizes = new[]
            {
                "string",
            },
            CustomPatterns = new[]
            {
                new Konnect.Inputs.GatewayPluginAiSanitizerConfigCustomPatternArgs
                {
                    Name = "string",
                    Regex = "string",
                    Score = 0,
                },
            },
            Host = "string",
            KeepaliveTimeout = 0,
            Port = 0,
            RecoverRedacted = false,
            RedactType = "string",
            Scheme = "string",
            StopOnError = false,
            Timeout = 0,
        },
        InstanceName = "string",
        Ordering = new Konnect.Inputs.GatewayPluginAiSanitizerOrderingArgs
        {
            After = new Konnect.Inputs.GatewayPluginAiSanitizerOrderingAfterArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
            Before = new Konnect.Inputs.GatewayPluginAiSanitizerOrderingBeforeArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
        },
        Protocols = new[]
        {
            "string",
        },
        Route = new Konnect.Inputs.GatewayPluginAiSanitizerRouteArgs
        {
            Id = "string",
        },
        Service = new Konnect.Inputs.GatewayPluginAiSanitizerServiceArgs
        {
            Id = "string",
        },
        Tags = new[]
        {
            "string",
        },
        UpdatedAt = 0,
    });
    
    example, err := konnect.NewGatewayPluginAiSanitizer(ctx, "gatewayPluginAiSanitizerResource", &konnect.GatewayPluginAiSanitizerArgs{
    	ControlPlaneId:             pulumi.String("string"),
    	GatewayPluginAiSanitizerId: pulumi.String("string"),
    	ConsumerGroup: &konnect.GatewayPluginAiSanitizerConsumerGroupArgs{
    		Id: pulumi.String("string"),
    	},
    	Consumer: &konnect.GatewayPluginAiSanitizerConsumerArgs{
    		Id: pulumi.String("string"),
    	},
    	CreatedAt: pulumi.Float64(0),
    	Enabled:   pulumi.Bool(false),
    	Config: &konnect.GatewayPluginAiSanitizerConfigArgs{
    		Anonymizes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CustomPatterns: konnect.GatewayPluginAiSanitizerConfigCustomPatternArray{
    			&konnect.GatewayPluginAiSanitizerConfigCustomPatternArgs{
    				Name:  pulumi.String("string"),
    				Regex: pulumi.String("string"),
    				Score: pulumi.Float64(0),
    			},
    		},
    		Host:             pulumi.String("string"),
    		KeepaliveTimeout: pulumi.Float64(0),
    		Port:             pulumi.Float64(0),
    		RecoverRedacted:  pulumi.Bool(false),
    		RedactType:       pulumi.String("string"),
    		Scheme:           pulumi.String("string"),
    		StopOnError:      pulumi.Bool(false),
    		Timeout:          pulumi.Float64(0),
    	},
    	InstanceName: pulumi.String("string"),
    	Ordering: &konnect.GatewayPluginAiSanitizerOrderingArgs{
    		After: &konnect.GatewayPluginAiSanitizerOrderingAfterArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Before: &konnect.GatewayPluginAiSanitizerOrderingBeforeArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Protocols: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Route: &konnect.GatewayPluginAiSanitizerRouteArgs{
    		Id: pulumi.String("string"),
    	},
    	Service: &konnect.GatewayPluginAiSanitizerServiceArgs{
    		Id: pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UpdatedAt: pulumi.Float64(0),
    })
    
    var gatewayPluginAiSanitizerResource = new GatewayPluginAiSanitizer("gatewayPluginAiSanitizerResource", GatewayPluginAiSanitizerArgs.builder()
        .controlPlaneId("string")
        .gatewayPluginAiSanitizerId("string")
        .consumerGroup(GatewayPluginAiSanitizerConsumerGroupArgs.builder()
            .id("string")
            .build())
        .consumer(GatewayPluginAiSanitizerConsumerArgs.builder()
            .id("string")
            .build())
        .createdAt(0.0)
        .enabled(false)
        .config(GatewayPluginAiSanitizerConfigArgs.builder()
            .anonymizes("string")
            .customPatterns(GatewayPluginAiSanitizerConfigCustomPatternArgs.builder()
                .name("string")
                .regex("string")
                .score(0.0)
                .build())
            .host("string")
            .keepaliveTimeout(0.0)
            .port(0.0)
            .recoverRedacted(false)
            .redactType("string")
            .scheme("string")
            .stopOnError(false)
            .timeout(0.0)
            .build())
        .instanceName("string")
        .ordering(GatewayPluginAiSanitizerOrderingArgs.builder()
            .after(GatewayPluginAiSanitizerOrderingAfterArgs.builder()
                .accesses("string")
                .build())
            .before(GatewayPluginAiSanitizerOrderingBeforeArgs.builder()
                .accesses("string")
                .build())
            .build())
        .protocols("string")
        .route(GatewayPluginAiSanitizerRouteArgs.builder()
            .id("string")
            .build())
        .service(GatewayPluginAiSanitizerServiceArgs.builder()
            .id("string")
            .build())
        .tags("string")
        .updatedAt(0.0)
        .build());
    
    gateway_plugin_ai_sanitizer_resource = konnect.GatewayPluginAiSanitizer("gatewayPluginAiSanitizerResource",
        control_plane_id="string",
        gateway_plugin_ai_sanitizer_id="string",
        consumer_group={
            "id": "string",
        },
        consumer={
            "id": "string",
        },
        created_at=0,
        enabled=False,
        config={
            "anonymizes": ["string"],
            "custom_patterns": [{
                "name": "string",
                "regex": "string",
                "score": 0,
            }],
            "host": "string",
            "keepalive_timeout": 0,
            "port": 0,
            "recover_redacted": False,
            "redact_type": "string",
            "scheme": "string",
            "stop_on_error": False,
            "timeout": 0,
        },
        instance_name="string",
        ordering={
            "after": {
                "accesses": ["string"],
            },
            "before": {
                "accesses": ["string"],
            },
        },
        protocols=["string"],
        route={
            "id": "string",
        },
        service={
            "id": "string",
        },
        tags=["string"],
        updated_at=0)
    
    const gatewayPluginAiSanitizerResource = new konnect.GatewayPluginAiSanitizer("gatewayPluginAiSanitizerResource", {
        controlPlaneId: "string",
        gatewayPluginAiSanitizerId: "string",
        consumerGroup: {
            id: "string",
        },
        consumer: {
            id: "string",
        },
        createdAt: 0,
        enabled: false,
        config: {
            anonymizes: ["string"],
            customPatterns: [{
                name: "string",
                regex: "string",
                score: 0,
            }],
            host: "string",
            keepaliveTimeout: 0,
            port: 0,
            recoverRedacted: false,
            redactType: "string",
            scheme: "string",
            stopOnError: false,
            timeout: 0,
        },
        instanceName: "string",
        ordering: {
            after: {
                accesses: ["string"],
            },
            before: {
                accesses: ["string"],
            },
        },
        protocols: ["string"],
        route: {
            id: "string",
        },
        service: {
            id: "string",
        },
        tags: ["string"],
        updatedAt: 0,
    });
    
    type: konnect:GatewayPluginAiSanitizer
    properties:
        config:
            anonymizes:
                - string
            customPatterns:
                - name: string
                  regex: string
                  score: 0
            host: string
            keepaliveTimeout: 0
            port: 0
            recoverRedacted: false
            redactType: string
            scheme: string
            stopOnError: false
            timeout: 0
        consumer:
            id: string
        consumerGroup:
            id: string
        controlPlaneId: string
        createdAt: 0
        enabled: false
        gatewayPluginAiSanitizerId: string
        instanceName: string
        ordering:
            after:
                accesses:
                    - string
            before:
                accesses:
                    - string
        protocols:
            - string
        route:
            id: string
        service:
            id: string
        tags:
            - string
        updatedAt: 0
    

    GatewayPluginAiSanitizer 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 GatewayPluginAiSanitizer 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 GatewayPluginAiSanitizerConfig
    Consumer GatewayPluginAiSanitizerConsumer
    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.
    ConsumerGroup GatewayPluginAiSanitizerConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    CreatedAt double
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied.
    GatewayPluginAiSanitizerId string
    The ID of this resource.
    InstanceName string
    Ordering GatewayPluginAiSanitizerOrdering
    Protocols List<string>
    A set of strings representing HTTP protocols.
    Route GatewayPluginAiSanitizerRoute
    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 GatewayPluginAiSanitizerService
    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 GatewayPluginAiSanitizerConfigArgs
    Consumer GatewayPluginAiSanitizerConsumerArgs
    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.
    ConsumerGroup GatewayPluginAiSanitizerConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    CreatedAt float64
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied.
    GatewayPluginAiSanitizerId string
    The ID of this resource.
    InstanceName string
    Ordering GatewayPluginAiSanitizerOrderingArgs
    Protocols []string
    A set of strings representing HTTP protocols.
    Route GatewayPluginAiSanitizerRouteArgs
    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 GatewayPluginAiSanitizerServiceArgs
    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 GatewayPluginAiSanitizerConfig
    consumer GatewayPluginAiSanitizerConsumer
    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.
    consumerGroup GatewayPluginAiSanitizerConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    createdAt Double
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied.
    gatewayPluginAiSanitizerId String
    The ID of this resource.
    instanceName String
    ordering GatewayPluginAiSanitizerOrdering
    protocols List<String>
    A set of strings representing HTTP protocols.
    route GatewayPluginAiSanitizerRoute
    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 GatewayPluginAiSanitizerService
    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 GatewayPluginAiSanitizerConfig
    consumer GatewayPluginAiSanitizerConsumer
    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.
    consumerGroup GatewayPluginAiSanitizerConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    createdAt number
    Unix epoch when the resource was created.
    enabled boolean
    Whether the plugin is applied.
    gatewayPluginAiSanitizerId string
    The ID of this resource.
    instanceName string
    ordering GatewayPluginAiSanitizerOrdering
    protocols string[]
    A set of strings representing HTTP protocols.
    route GatewayPluginAiSanitizerRoute
    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 GatewayPluginAiSanitizerService
    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 GatewayPluginAiSanitizerConfigArgs
    consumer GatewayPluginAiSanitizerConsumerArgs
    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.
    consumer_group GatewayPluginAiSanitizerConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    created_at float
    Unix epoch when the resource was created.
    enabled bool
    Whether the plugin is applied.
    gateway_plugin_ai_sanitizer_id str
    The ID of this resource.
    instance_name str
    ordering GatewayPluginAiSanitizerOrderingArgs
    protocols Sequence[str]
    A set of strings representing HTTP protocols.
    route GatewayPluginAiSanitizerRouteArgs
    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 GatewayPluginAiSanitizerServiceArgs
    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.
    consumerGroup Property Map
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    createdAt Number
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied.
    gatewayPluginAiSanitizerId String
    The ID of this resource.
    instanceName String
    ordering Property Map
    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 GatewayPluginAiSanitizer 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 GatewayPluginAiSanitizer Resource

    Get an existing GatewayPluginAiSanitizer 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?: GatewayPluginAiSanitizerState, opts?: CustomResourceOptions): GatewayPluginAiSanitizer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[GatewayPluginAiSanitizerConfigArgs] = None,
            consumer: Optional[GatewayPluginAiSanitizerConsumerArgs] = None,
            consumer_group: Optional[GatewayPluginAiSanitizerConsumerGroupArgs] = None,
            control_plane_id: Optional[str] = None,
            created_at: Optional[float] = None,
            enabled: Optional[bool] = None,
            gateway_plugin_ai_sanitizer_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            ordering: Optional[GatewayPluginAiSanitizerOrderingArgs] = None,
            protocols: Optional[Sequence[str]] = None,
            route: Optional[GatewayPluginAiSanitizerRouteArgs] = None,
            service: Optional[GatewayPluginAiSanitizerServiceArgs] = None,
            tags: Optional[Sequence[str]] = None,
            updated_at: Optional[float] = None) -> GatewayPluginAiSanitizer
    func GetGatewayPluginAiSanitizer(ctx *Context, name string, id IDInput, state *GatewayPluginAiSanitizerState, opts ...ResourceOption) (*GatewayPluginAiSanitizer, error)
    public static GatewayPluginAiSanitizer Get(string name, Input<string> id, GatewayPluginAiSanitizerState? state, CustomResourceOptions? opts = null)
    public static GatewayPluginAiSanitizer get(String name, Output<String> id, GatewayPluginAiSanitizerState state, CustomResourceOptions options)
    resources:  _:    type: konnect:GatewayPluginAiSanitizer    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 GatewayPluginAiSanitizerConfig
    Consumer GatewayPluginAiSanitizerConsumer
    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.
    ConsumerGroup GatewayPluginAiSanitizerConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    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.
    GatewayPluginAiSanitizerId string
    The ID of this resource.
    InstanceName string
    Ordering GatewayPluginAiSanitizerOrdering
    Protocols List<string>
    A set of strings representing HTTP protocols.
    Route GatewayPluginAiSanitizerRoute
    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 GatewayPluginAiSanitizerService
    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 GatewayPluginAiSanitizerConfigArgs
    Consumer GatewayPluginAiSanitizerConsumerArgs
    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.
    ConsumerGroup GatewayPluginAiSanitizerConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    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.
    GatewayPluginAiSanitizerId string
    The ID of this resource.
    InstanceName string
    Ordering GatewayPluginAiSanitizerOrderingArgs
    Protocols []string
    A set of strings representing HTTP protocols.
    Route GatewayPluginAiSanitizerRouteArgs
    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 GatewayPluginAiSanitizerServiceArgs
    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 GatewayPluginAiSanitizerConfig
    consumer GatewayPluginAiSanitizerConsumer
    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.
    consumerGroup GatewayPluginAiSanitizerConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    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.
    gatewayPluginAiSanitizerId String
    The ID of this resource.
    instanceName String
    ordering GatewayPluginAiSanitizerOrdering
    protocols List<String>
    A set of strings representing HTTP protocols.
    route GatewayPluginAiSanitizerRoute
    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 GatewayPluginAiSanitizerService
    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 GatewayPluginAiSanitizerConfig
    consumer GatewayPluginAiSanitizerConsumer
    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.
    consumerGroup GatewayPluginAiSanitizerConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    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.
    gatewayPluginAiSanitizerId string
    The ID of this resource.
    instanceName string
    ordering GatewayPluginAiSanitizerOrdering
    protocols string[]
    A set of strings representing HTTP protocols.
    route GatewayPluginAiSanitizerRoute
    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 GatewayPluginAiSanitizerService
    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 GatewayPluginAiSanitizerConfigArgs
    consumer GatewayPluginAiSanitizerConsumerArgs
    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.
    consumer_group GatewayPluginAiSanitizerConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    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.
    gateway_plugin_ai_sanitizer_id str
    The ID of this resource.
    instance_name str
    ordering GatewayPluginAiSanitizerOrderingArgs
    protocols Sequence[str]
    A set of strings representing HTTP protocols.
    route GatewayPluginAiSanitizerRouteArgs
    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 GatewayPluginAiSanitizerServiceArgs
    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.
    consumerGroup Property Map
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    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.
    gatewayPluginAiSanitizerId String
    The ID of this resource.
    instanceName String
    ordering Property Map
    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

    GatewayPluginAiSanitizerConfig, GatewayPluginAiSanitizerConfigArgs

    Anonymizes List<string>
    List of types to be anonymized
    CustomPatterns List<GatewayPluginAiSanitizerConfigCustomPattern>
    List of custom patterns to be used for anonymization
    Host string
    The host of the sanitizer
    KeepaliveTimeout double
    The keepalive timeout for the established http connnection
    Port double
    The port of the sanitizer
    RecoverRedacted bool
    Whether to recover redacted data
    RedactType string
    What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
    Scheme string
    The protocol can be http and https
    StopOnError bool
    Stop processing if an error occurs
    Timeout double
    Connection timeout with the sanitizer
    Anonymizes []string
    List of types to be anonymized
    CustomPatterns []GatewayPluginAiSanitizerConfigCustomPattern
    List of custom patterns to be used for anonymization
    Host string
    The host of the sanitizer
    KeepaliveTimeout float64
    The keepalive timeout for the established http connnection
    Port float64
    The port of the sanitizer
    RecoverRedacted bool
    Whether to recover redacted data
    RedactType string
    What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
    Scheme string
    The protocol can be http and https
    StopOnError bool
    Stop processing if an error occurs
    Timeout float64
    Connection timeout with the sanitizer
    anonymizes List<String>
    List of types to be anonymized
    customPatterns List<GatewayPluginAiSanitizerConfigCustomPattern>
    List of custom patterns to be used for anonymization
    host String
    The host of the sanitizer
    keepaliveTimeout Double
    The keepalive timeout for the established http connnection
    port Double
    The port of the sanitizer
    recoverRedacted Boolean
    Whether to recover redacted data
    redactType String
    What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
    scheme String
    The protocol can be http and https
    stopOnError Boolean
    Stop processing if an error occurs
    timeout Double
    Connection timeout with the sanitizer
    anonymizes string[]
    List of types to be anonymized
    customPatterns GatewayPluginAiSanitizerConfigCustomPattern[]
    List of custom patterns to be used for anonymization
    host string
    The host of the sanitizer
    keepaliveTimeout number
    The keepalive timeout for the established http connnection
    port number
    The port of the sanitizer
    recoverRedacted boolean
    Whether to recover redacted data
    redactType string
    What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
    scheme string
    The protocol can be http and https
    stopOnError boolean
    Stop processing if an error occurs
    timeout number
    Connection timeout with the sanitizer
    anonymizes Sequence[str]
    List of types to be anonymized
    custom_patterns Sequence[GatewayPluginAiSanitizerConfigCustomPattern]
    List of custom patterns to be used for anonymization
    host str
    The host of the sanitizer
    keepalive_timeout float
    The keepalive timeout for the established http connnection
    port float
    The port of the sanitizer
    recover_redacted bool
    Whether to recover redacted data
    redact_type str
    What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
    scheme str
    The protocol can be http and https
    stop_on_error bool
    Stop processing if an error occurs
    timeout float
    Connection timeout with the sanitizer
    anonymizes List<String>
    List of types to be anonymized
    customPatterns List<Property Map>
    List of custom patterns to be used for anonymization
    host String
    The host of the sanitizer
    keepaliveTimeout Number
    The keepalive timeout for the established http connnection
    port Number
    The port of the sanitizer
    recoverRedacted Boolean
    Whether to recover redacted data
    redactType String
    What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
    scheme String
    The protocol can be http and https
    stopOnError Boolean
    Stop processing if an error occurs
    timeout Number
    Connection timeout with the sanitizer

    GatewayPluginAiSanitizerConfigCustomPattern, GatewayPluginAiSanitizerConfigCustomPatternArgs

    Name string
    Not Null
    Regex string
    Not Null
    Score double
    Name string
    Not Null
    Regex string
    Not Null
    Score float64
    name String
    Not Null
    regex String
    Not Null
    score Double
    name string
    Not Null
    regex string
    Not Null
    score number
    name str
    Not Null
    regex str
    Not Null
    score float
    name String
    Not Null
    regex String
    Not Null
    score Number

    GatewayPluginAiSanitizerConsumer, GatewayPluginAiSanitizerConsumerArgs

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

    GatewayPluginAiSanitizerConsumerGroup, GatewayPluginAiSanitizerConsumerGroupArgs

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

    GatewayPluginAiSanitizerOrdering, GatewayPluginAiSanitizerOrderingArgs

    GatewayPluginAiSanitizerOrderingAfter, GatewayPluginAiSanitizerOrderingAfterArgs

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

    GatewayPluginAiSanitizerOrderingBefore, GatewayPluginAiSanitizerOrderingBeforeArgs

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

    GatewayPluginAiSanitizerRoute, GatewayPluginAiSanitizerRouteArgs

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

    GatewayPluginAiSanitizerService, GatewayPluginAiSanitizerServiceArgs

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

    Import

    $ pulumi import konnect:index/gatewayPluginAiSanitizer:GatewayPluginAiSanitizer my_konnect_gateway_plugin_ai_sanitizer "{ \"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 2.7.2 published on Wednesday, May 7, 2025 by kong