konnect.GatewayPluginAiSanitizer
Explore with Pulumi AI
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:
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Config
Gateway
Plugin Ai Sanitizer Config - Consumer
Gateway
Plugin Ai Sanitizer Consumer - 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 GatewayPlugin Ai Sanitizer Consumer Group - 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 double - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringAi Sanitizer Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Sanitizer Ordering - Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Sanitizer Route - 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
Gateway
Plugin Ai Sanitizer Service - 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.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At double - Unix epoch when the resource was last updated.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Config
Gateway
Plugin Ai Sanitizer Config Args - Consumer
Gateway
Plugin Ai Sanitizer Consumer Args - 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 GatewayPlugin Ai Sanitizer Consumer Group Args - 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 float64 - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringAi Sanitizer Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Sanitizer Ordering Args - Protocols []string
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Sanitizer Route Args - 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
Gateway
Plugin Ai Sanitizer Service Args - 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.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At float64 - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config
Gateway
Plugin Ai Sanitizer Config - consumer
Gateway
Plugin Ai Sanitizer Consumer - 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 GatewayPlugin Ai Sanitizer Consumer Group - 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 Double - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringAi Sanitizer Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Ai Sanitizer Ordering - protocols List<String>
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Sanitizer Route - 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
Gateway
Plugin Ai Sanitizer Service - 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.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Double - Unix epoch when the resource was last updated.
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config
Gateway
Plugin Ai Sanitizer Config - consumer
Gateway
Plugin Ai Sanitizer Consumer - 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 GatewayPlugin Ai Sanitizer Consumer Group - 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 number - Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied.
- gateway
Plugin stringAi Sanitizer Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Ai Sanitizer Ordering - protocols string[]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Sanitizer Route - 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
Gateway
Plugin Ai Sanitizer Service - 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.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At number - Unix epoch when the resource was last updated.
- control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config
Gateway
Plugin Ai Sanitizer Config Args - consumer
Gateway
Plugin Ai Sanitizer Consumer Args - 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 GatewayPlugin Ai Sanitizer Consumer Group Args - 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_ strai_ sanitizer_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Ai Sanitizer Ordering Args - protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Sanitizer Route Args - 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
Gateway
Plugin Ai Sanitizer Service Args - 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.
- 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.
- control
Plane StringId - 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.
- consumer
Group 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
- created
At Number - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringAi Sanitizer Id - The ID of this resource.
- instance
Name 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.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At 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.
- Config
Gateway
Plugin Ai Sanitizer Config - Consumer
Gateway
Plugin Ai Sanitizer Consumer - 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 GatewayPlugin Ai Sanitizer Consumer Group - 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 stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At double - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringAi Sanitizer Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Sanitizer Ordering - Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Sanitizer Route - 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
Gateway
Plugin Ai Sanitizer Service - 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.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Plugin Ai Sanitizer Config Args - Consumer
Gateway
Plugin Ai Sanitizer Consumer Args - 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 GatewayPlugin Ai Sanitizer Consumer Group Args - 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 stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At float64 - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringAi Sanitizer Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Sanitizer Ordering Args - Protocols []string
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Sanitizer Route Args - 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
Gateway
Plugin Ai Sanitizer Service Args - 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.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Ai Sanitizer Config - consumer
Gateway
Plugin Ai Sanitizer Consumer - 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 GatewayPlugin Ai Sanitizer Consumer Group - 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 StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Double - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringAi Sanitizer Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Ai Sanitizer Ordering - protocols List<String>
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Sanitizer Route - 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
Gateway
Plugin Ai Sanitizer Service - 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.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Ai Sanitizer Config - consumer
Gateway
Plugin Ai Sanitizer Consumer - 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 GatewayPlugin Ai Sanitizer Consumer Group - 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 stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At number - Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied.
- gateway
Plugin stringAi Sanitizer Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Ai Sanitizer Ordering - protocols string[]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Sanitizer Route - 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
Gateway
Plugin Ai Sanitizer Service - 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.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Ai Sanitizer Config Args - consumer
Gateway
Plugin Ai Sanitizer Consumer Args - 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 GatewayPlugin Ai Sanitizer Consumer Group Args - 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_ strid - 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_ strai_ sanitizer_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Ai Sanitizer Ordering Args - protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Sanitizer Route Args - 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
Gateway
Plugin Ai Sanitizer Service Args - 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.
- 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.
- consumer
Group 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
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Number - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringAi Sanitizer Id - The ID of this resource.
- instance
Name 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.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Number - Unix epoch when the resource was last updated.
Supporting Types
GatewayPluginAiSanitizerConfig, GatewayPluginAiSanitizerConfigArgs
- Anonymizes List<string>
- List of types to be anonymized
- Custom
Patterns List<GatewayPlugin Ai Sanitizer Config Custom Pattern> - List of custom patterns to be used for anonymization
- Host string
- The host of the sanitizer
- Keepalive
Timeout double - The keepalive timeout for the established http connnection
- Port double
- The port of the sanitizer
- Recover
Redacted bool - Whether to recover redacted data
- Redact
Type string - What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
- Scheme string
- The protocol can be http and https
- Stop
On boolError - Stop processing if an error occurs
- Timeout double
- Connection timeout with the sanitizer
- Anonymizes []string
- List of types to be anonymized
- Custom
Patterns []GatewayPlugin Ai Sanitizer Config Custom Pattern - List of custom patterns to be used for anonymization
- Host string
- The host of the sanitizer
- Keepalive
Timeout float64 - The keepalive timeout for the established http connnection
- Port float64
- The port of the sanitizer
- Recover
Redacted bool - Whether to recover redacted data
- Redact
Type string - What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
- Scheme string
- The protocol can be http and https
- Stop
On boolError - Stop processing if an error occurs
- Timeout float64
- Connection timeout with the sanitizer
- anonymizes List<String>
- List of types to be anonymized
- custom
Patterns List<GatewayPlugin Ai Sanitizer Config Custom Pattern> - List of custom patterns to be used for anonymization
- host String
- The host of the sanitizer
- keepalive
Timeout Double - The keepalive timeout for the established http connnection
- port Double
- The port of the sanitizer
- recover
Redacted Boolean - Whether to recover redacted data
- redact
Type String - What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
- scheme String
- The protocol can be http and https
- stop
On BooleanError - Stop processing if an error occurs
- timeout Double
- Connection timeout with the sanitizer
- anonymizes string[]
- List of types to be anonymized
- custom
Patterns GatewayPlugin Ai Sanitizer Config Custom Pattern[] - List of custom patterns to be used for anonymization
- host string
- The host of the sanitizer
- keepalive
Timeout number - The keepalive timeout for the established http connnection
- port number
- The port of the sanitizer
- recover
Redacted boolean - Whether to recover redacted data
- redact
Type string - What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
- scheme string
- The protocol can be http and https
- stop
On booleanError - 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[GatewayPlugin Ai Sanitizer Config Custom Pattern] - 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_ boolerror - Stop processing if an error occurs
- timeout float
- Connection timeout with the sanitizer
- anonymizes List<String>
- List of types to be anonymized
- custom
Patterns List<Property Map> - List of custom patterns to be used for anonymization
- host String
- The host of the sanitizer
- keepalive
Timeout Number - The keepalive timeout for the established http connnection
- port Number
- The port of the sanitizer
- recover
Redacted Boolean - Whether to recover redacted data
- redact
Type String - What value to be used to redacted to. must be one of ["placeholder", "synthetic"]
- scheme String
- The protocol can be http and https
- stop
On BooleanError - Stop processing if an error occurs
- timeout Number
- Connection timeout with the sanitizer
GatewayPluginAiSanitizerConfigCustomPattern, GatewayPluginAiSanitizerConfigCustomPatternArgs
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.