konnect.GatewayPluginAiAwsGuardrails
Explore with Pulumi AI
GatewayPluginAiAwsGuardrails Resource
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayPluginAiAwsGuardrails;
import com.pulumi.konnect.GatewayPluginAiAwsGuardrailsArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsConsumerGroupArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsPartialArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiAwsGuardrailsServiceArgs;
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 myGatewaypluginaiawsguardrails = new GatewayPluginAiAwsGuardrails("myGatewaypluginaiawsguardrails", GatewayPluginAiAwsGuardrailsArgs.builder()
.config(GatewayPluginAiAwsGuardrailsConfigArgs.builder()
.aws_access_key_id("...my_aws_access_key_id...")
.aws_region("...my_aws_region...")
.aws_secret_access_key("...my_aws_secret_access_key...")
.guarding_mode("INPUT")
.guardrails_id("...my_guardrails_id...")
.guardrails_version("...my_guardrails_version...")
.response_buffer_size(4.85)
.stop_on_error(false)
.text_source("concatenate_all_content")
.timeout(4.59)
.build())
.consumer(GatewayPluginAiAwsGuardrailsConsumerArgs.builder()
.id("...my_id...")
.build())
.consumerGroup(GatewayPluginAiAwsGuardrailsConsumerGroupArgs.builder()
.id("...my_id...")
.build())
.controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.createdAt(4)
.enabled(true)
.gatewayPluginAiAwsGuardrailsId("...my_id...")
.instanceName("...my_instance_name...")
.ordering(GatewayPluginAiAwsGuardrailsOrderingArgs.builder()
.after(GatewayPluginAiAwsGuardrailsOrderingAfterArgs.builder()
.access("...")
.build())
.before(GatewayPluginAiAwsGuardrailsOrderingBeforeArgs.builder()
.access("...")
.build())
.build())
.partials(GatewayPluginAiAwsGuardrailsPartialArgs.builder()
.id("...my_id...")
.name("...my_name...")
.path("...my_path...")
.build())
.protocols("grpc")
.route(GatewayPluginAiAwsGuardrailsRouteArgs.builder()
.id("...my_id...")
.build())
.service(GatewayPluginAiAwsGuardrailsServiceArgs.builder()
.id("...my_id...")
.build())
.tags("...")
.updatedAt(9)
.build());
}
}
resources:
myGatewaypluginaiawsguardrails:
type: konnect:GatewayPluginAiAwsGuardrails
properties:
config:
aws_access_key_id: '...my_aws_access_key_id...'
aws_region: '...my_aws_region...'
aws_secret_access_key: '...my_aws_secret_access_key...'
guarding_mode: INPUT
guardrails_id: '...my_guardrails_id...'
guardrails_version: '...my_guardrails_version...'
response_buffer_size: 4.85
stop_on_error: false
text_source: concatenate_all_content
timeout: 4.59
consumer:
id: '...my_id...'
consumerGroup:
id: '...my_id...'
controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
createdAt: 4
enabled: true
gatewayPluginAiAwsGuardrailsId: '...my_id...'
instanceName: '...my_instance_name...'
ordering:
after:
access:
- '...'
before:
access:
- '...'
partials:
- id: '...my_id...'
name: '...my_name...'
path: '...my_path...'
protocols:
- grpc
route:
id: '...my_id...'
service:
id: '...my_id...'
tags:
- '...'
updatedAt: 9
Create GatewayPluginAiAwsGuardrails Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayPluginAiAwsGuardrails(name: string, args: GatewayPluginAiAwsGuardrailsArgs, opts?: CustomResourceOptions);
@overload
def GatewayPluginAiAwsGuardrails(resource_name: str,
args: GatewayPluginAiAwsGuardrailsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayPluginAiAwsGuardrails(resource_name: str,
opts: Optional[ResourceOptions] = None,
control_plane_id: Optional[str] = None,
config: Optional[GatewayPluginAiAwsGuardrailsConfigArgs] = None,
gateway_plugin_ai_aws_guardrails_id: Optional[str] = None,
consumer_group: Optional[GatewayPluginAiAwsGuardrailsConsumerGroupArgs] = None,
created_at: Optional[float] = None,
enabled: Optional[bool] = None,
consumer: Optional[GatewayPluginAiAwsGuardrailsConsumerArgs] = None,
instance_name: Optional[str] = None,
ordering: Optional[GatewayPluginAiAwsGuardrailsOrderingArgs] = None,
partials: Optional[Sequence[GatewayPluginAiAwsGuardrailsPartialArgs]] = None,
protocols: Optional[Sequence[str]] = None,
route: Optional[GatewayPluginAiAwsGuardrailsRouteArgs] = None,
service: Optional[GatewayPluginAiAwsGuardrailsServiceArgs] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[float] = None)
func NewGatewayPluginAiAwsGuardrails(ctx *Context, name string, args GatewayPluginAiAwsGuardrailsArgs, opts ...ResourceOption) (*GatewayPluginAiAwsGuardrails, error)
public GatewayPluginAiAwsGuardrails(string name, GatewayPluginAiAwsGuardrailsArgs args, CustomResourceOptions? opts = null)
public GatewayPluginAiAwsGuardrails(String name, GatewayPluginAiAwsGuardrailsArgs args)
public GatewayPluginAiAwsGuardrails(String name, GatewayPluginAiAwsGuardrailsArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginAiAwsGuardrails
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 GatewayPluginAiAwsGuardrailsArgs
- 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 GatewayPluginAiAwsGuardrailsArgs
- 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 GatewayPluginAiAwsGuardrailsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayPluginAiAwsGuardrailsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayPluginAiAwsGuardrailsArgs
- 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 gatewayPluginAiAwsGuardrailsResource = new Konnect.GatewayPluginAiAwsGuardrails("gatewayPluginAiAwsGuardrailsResource", new()
{
ControlPlaneId = "string",
Config = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsConfigArgs
{
AwsRegion = "string",
GuardrailsId = "string",
GuardrailsVersion = "string",
AwsAccessKeyId = "string",
AwsSecretAccessKey = "string",
GuardingMode = "string",
ResponseBufferSize = 0,
StopOnError = false,
TextSource = "string",
Timeout = 0,
},
GatewayPluginAiAwsGuardrailsId = "string",
ConsumerGroup = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsConsumerGroupArgs
{
Id = "string",
},
CreatedAt = 0,
Enabled = false,
Consumer = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsConsumerArgs
{
Id = "string",
},
InstanceName = "string",
Ordering = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsOrderingArgs
{
After = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsOrderingAfterArgs
{
Accesses = new[]
{
"string",
},
},
Before = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsOrderingBeforeArgs
{
Accesses = new[]
{
"string",
},
},
},
Partials = new[]
{
new Konnect.Inputs.GatewayPluginAiAwsGuardrailsPartialArgs
{
Id = "string",
Name = "string",
Path = "string",
},
},
Protocols = new[]
{
"string",
},
Route = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsRouteArgs
{
Id = "string",
},
Service = new Konnect.Inputs.GatewayPluginAiAwsGuardrailsServiceArgs
{
Id = "string",
},
Tags = new[]
{
"string",
},
UpdatedAt = 0,
});
example, err := konnect.NewGatewayPluginAiAwsGuardrails(ctx, "gatewayPluginAiAwsGuardrailsResource", &konnect.GatewayPluginAiAwsGuardrailsArgs{
ControlPlaneId: pulumi.String("string"),
Config: &konnect.GatewayPluginAiAwsGuardrailsConfigArgs{
AwsRegion: pulumi.String("string"),
GuardrailsId: pulumi.String("string"),
GuardrailsVersion: pulumi.String("string"),
AwsAccessKeyId: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
GuardingMode: pulumi.String("string"),
ResponseBufferSize: pulumi.Float64(0),
StopOnError: pulumi.Bool(false),
TextSource: pulumi.String("string"),
Timeout: pulumi.Float64(0),
},
GatewayPluginAiAwsGuardrailsId: pulumi.String("string"),
ConsumerGroup: &konnect.GatewayPluginAiAwsGuardrailsConsumerGroupArgs{
Id: pulumi.String("string"),
},
CreatedAt: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
Consumer: &konnect.GatewayPluginAiAwsGuardrailsConsumerArgs{
Id: pulumi.String("string"),
},
InstanceName: pulumi.String("string"),
Ordering: &konnect.GatewayPluginAiAwsGuardrailsOrderingArgs{
After: &konnect.GatewayPluginAiAwsGuardrailsOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &konnect.GatewayPluginAiAwsGuardrailsOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Partials: konnect.GatewayPluginAiAwsGuardrailsPartialArray{
&konnect.GatewayPluginAiAwsGuardrailsPartialArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &konnect.GatewayPluginAiAwsGuardrailsRouteArgs{
Id: pulumi.String("string"),
},
Service: &konnect.GatewayPluginAiAwsGuardrailsServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
})
var gatewayPluginAiAwsGuardrailsResource = new GatewayPluginAiAwsGuardrails("gatewayPluginAiAwsGuardrailsResource", GatewayPluginAiAwsGuardrailsArgs.builder()
.controlPlaneId("string")
.config(GatewayPluginAiAwsGuardrailsConfigArgs.builder()
.awsRegion("string")
.guardrailsId("string")
.guardrailsVersion("string")
.awsAccessKeyId("string")
.awsSecretAccessKey("string")
.guardingMode("string")
.responseBufferSize(0.0)
.stopOnError(false)
.textSource("string")
.timeout(0.0)
.build())
.gatewayPluginAiAwsGuardrailsId("string")
.consumerGroup(GatewayPluginAiAwsGuardrailsConsumerGroupArgs.builder()
.id("string")
.build())
.createdAt(0.0)
.enabled(false)
.consumer(GatewayPluginAiAwsGuardrailsConsumerArgs.builder()
.id("string")
.build())
.instanceName("string")
.ordering(GatewayPluginAiAwsGuardrailsOrderingArgs.builder()
.after(GatewayPluginAiAwsGuardrailsOrderingAfterArgs.builder()
.accesses("string")
.build())
.before(GatewayPluginAiAwsGuardrailsOrderingBeforeArgs.builder()
.accesses("string")
.build())
.build())
.partials(GatewayPluginAiAwsGuardrailsPartialArgs.builder()
.id("string")
.name("string")
.path("string")
.build())
.protocols("string")
.route(GatewayPluginAiAwsGuardrailsRouteArgs.builder()
.id("string")
.build())
.service(GatewayPluginAiAwsGuardrailsServiceArgs.builder()
.id("string")
.build())
.tags("string")
.updatedAt(0.0)
.build());
gateway_plugin_ai_aws_guardrails_resource = konnect.GatewayPluginAiAwsGuardrails("gatewayPluginAiAwsGuardrailsResource",
control_plane_id="string",
config={
"aws_region": "string",
"guardrails_id": "string",
"guardrails_version": "string",
"aws_access_key_id": "string",
"aws_secret_access_key": "string",
"guarding_mode": "string",
"response_buffer_size": 0,
"stop_on_error": False,
"text_source": "string",
"timeout": 0,
},
gateway_plugin_ai_aws_guardrails_id="string",
consumer_group={
"id": "string",
},
created_at=0,
enabled=False,
consumer={
"id": "string",
},
instance_name="string",
ordering={
"after": {
"accesses": ["string"],
},
"before": {
"accesses": ["string"],
},
},
partials=[{
"id": "string",
"name": "string",
"path": "string",
}],
protocols=["string"],
route={
"id": "string",
},
service={
"id": "string",
},
tags=["string"],
updated_at=0)
const gatewayPluginAiAwsGuardrailsResource = new konnect.GatewayPluginAiAwsGuardrails("gatewayPluginAiAwsGuardrailsResource", {
controlPlaneId: "string",
config: {
awsRegion: "string",
guardrailsId: "string",
guardrailsVersion: "string",
awsAccessKeyId: "string",
awsSecretAccessKey: "string",
guardingMode: "string",
responseBufferSize: 0,
stopOnError: false,
textSource: "string",
timeout: 0,
},
gatewayPluginAiAwsGuardrailsId: "string",
consumerGroup: {
id: "string",
},
createdAt: 0,
enabled: false,
consumer: {
id: "string",
},
instanceName: "string",
ordering: {
after: {
accesses: ["string"],
},
before: {
accesses: ["string"],
},
},
partials: [{
id: "string",
name: "string",
path: "string",
}],
protocols: ["string"],
route: {
id: "string",
},
service: {
id: "string",
},
tags: ["string"],
updatedAt: 0,
});
type: konnect:GatewayPluginAiAwsGuardrails
properties:
config:
awsAccessKeyId: string
awsRegion: string
awsSecretAccessKey: string
guardingMode: string
guardrailsId: string
guardrailsVersion: string
responseBufferSize: 0
stopOnError: false
textSource: string
timeout: 0
consumer:
id: string
consumerGroup:
id: string
controlPlaneId: string
createdAt: 0
enabled: false
gatewayPluginAiAwsGuardrailsId: string
instanceName: string
ordering:
after:
accesses:
- string
before:
accesses:
- string
partials:
- id: string
name: string
path: string
protocols:
- string
route:
id: string
service:
id: string
tags:
- string
updatedAt: 0
GatewayPluginAiAwsGuardrails 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 GatewayPluginAiAwsGuardrails resource accepts the following input properties:
- Config
Gateway
Plugin Ai Aws Guardrails Config - Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Aws Guardrails Ordering - Partials
List<Gateway
Plugin Ai Aws Guardrails Partial> - Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config Args - Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Aws Guardrails Ordering Args - Partials
[]Gateway
Plugin Ai Aws Guardrails Partial Args - Protocols []string
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config - control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Ai Aws Guardrails Ordering - partials
List<Gateway
Plugin Ai Aws Guardrails Partial> - protocols List<String>
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config - control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Ai Aws Guardrails Ordering - partials
Gateway
Plugin Ai Aws Guardrails Partial[] - protocols string[]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config Args - control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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_ aws_ guardrails_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Ai Aws Guardrails Ordering Args - partials
Sequence[Gateway
Plugin Ai Aws Guardrails Partial Args] - protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- 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 Aws Guardrails Id - The ID of this resource.
- instance
Name String - ordering Property Map
- partials List<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 GatewayPluginAiAwsGuardrails 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 GatewayPluginAiAwsGuardrails Resource
Get an existing GatewayPluginAiAwsGuardrails 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?: GatewayPluginAiAwsGuardrailsState, opts?: CustomResourceOptions): GatewayPluginAiAwsGuardrails
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[GatewayPluginAiAwsGuardrailsConfigArgs] = None,
consumer: Optional[GatewayPluginAiAwsGuardrailsConsumerArgs] = None,
consumer_group: Optional[GatewayPluginAiAwsGuardrailsConsumerGroupArgs] = None,
control_plane_id: Optional[str] = None,
created_at: Optional[float] = None,
enabled: Optional[bool] = None,
gateway_plugin_ai_aws_guardrails_id: Optional[str] = None,
instance_name: Optional[str] = None,
ordering: Optional[GatewayPluginAiAwsGuardrailsOrderingArgs] = None,
partials: Optional[Sequence[GatewayPluginAiAwsGuardrailsPartialArgs]] = None,
protocols: Optional[Sequence[str]] = None,
route: Optional[GatewayPluginAiAwsGuardrailsRouteArgs] = None,
service: Optional[GatewayPluginAiAwsGuardrailsServiceArgs] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[float] = None) -> GatewayPluginAiAwsGuardrails
func GetGatewayPluginAiAwsGuardrails(ctx *Context, name string, id IDInput, state *GatewayPluginAiAwsGuardrailsState, opts ...ResourceOption) (*GatewayPluginAiAwsGuardrails, error)
public static GatewayPluginAiAwsGuardrails Get(string name, Input<string> id, GatewayPluginAiAwsGuardrailsState? state, CustomResourceOptions? opts = null)
public static GatewayPluginAiAwsGuardrails get(String name, Output<String> id, GatewayPluginAiAwsGuardrailsState state, CustomResourceOptions options)
resources: _: type: konnect:GatewayPluginAiAwsGuardrails 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 Aws Guardrails Config - Consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Aws Guardrails Ordering - Partials
List<Gateway
Plugin Ai Aws Guardrails Partial> - Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config Args - Consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Ai Aws Guardrails Ordering Args - Partials
[]Gateway
Plugin Ai Aws Guardrails Partial Args - Protocols []string
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config - consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Ai Aws Guardrails Ordering - partials
List<Gateway
Plugin Ai Aws Guardrails Partial> - protocols List<String>
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config - consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Ai Aws Guardrails Ordering - partials
Gateway
Plugin Ai Aws Guardrails Partial[] - protocols string[]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Config Args - consumer
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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_ aws_ guardrails_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Ai Aws Guardrails Ordering Args - partials
Sequence[Gateway
Plugin Ai Aws Guardrails Partial Args] - protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Ai Aws Guardrails 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 Aws Guardrails 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 Aws Guardrails Id - The ID of this resource.
- instance
Name String - ordering Property Map
- partials List<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
GatewayPluginAiAwsGuardrailsConfig, GatewayPluginAiAwsGuardrailsConfigArgs
- Aws
Region string - The AWS region to use for the Bedrock API
- Guardrails
Id string - The guardrail identifier used in the request to apply the guardrail
- Guardrails
Version string - The guardrail version used in the request to apply the guardrail
- Aws
Access stringKey Id - The AWS access key ID to use for authentication
- Aws
Secret stringAccess Key - The AWS secret access key to use for authentication
- Guarding
Mode string - The guardrail mode to use for the request. must be one of ["BOTH", "INPUT", "OUTPUT"]
- Response
Buffer doubleSize - The amount of token receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard.
- Stop
On boolError - Stop processing if an error occurs
- Text
Source string - Select where to pick the 'text' for the Content Guard Services request. must be one of ["concatenateallcontent", "concatenateusercontent"]
- Timeout double
- Connection timeout with the bedrock service
- Aws
Region string - The AWS region to use for the Bedrock API
- Guardrails
Id string - The guardrail identifier used in the request to apply the guardrail
- Guardrails
Version string - The guardrail version used in the request to apply the guardrail
- Aws
Access stringKey Id - The AWS access key ID to use for authentication
- Aws
Secret stringAccess Key - The AWS secret access key to use for authentication
- Guarding
Mode string - The guardrail mode to use for the request. must be one of ["BOTH", "INPUT", "OUTPUT"]
- Response
Buffer float64Size - The amount of token receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard.
- Stop
On boolError - Stop processing if an error occurs
- Text
Source string - Select where to pick the 'text' for the Content Guard Services request. must be one of ["concatenateallcontent", "concatenateusercontent"]
- Timeout float64
- Connection timeout with the bedrock service
- aws
Region String - The AWS region to use for the Bedrock API
- guardrails
Id String - The guardrail identifier used in the request to apply the guardrail
- guardrails
Version String - The guardrail version used in the request to apply the guardrail
- aws
Access StringKey Id - The AWS access key ID to use for authentication
- aws
Secret StringAccess Key - The AWS secret access key to use for authentication
- guarding
Mode String - The guardrail mode to use for the request. must be one of ["BOTH", "INPUT", "OUTPUT"]
- response
Buffer DoubleSize - The amount of token receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard.
- stop
On BooleanError - Stop processing if an error occurs
- text
Source String - Select where to pick the 'text' for the Content Guard Services request. must be one of ["concatenateallcontent", "concatenateusercontent"]
- timeout Double
- Connection timeout with the bedrock service
- aws
Region string - The AWS region to use for the Bedrock API
- guardrails
Id string - The guardrail identifier used in the request to apply the guardrail
- guardrails
Version string - The guardrail version used in the request to apply the guardrail
- aws
Access stringKey Id - The AWS access key ID to use for authentication
- aws
Secret stringAccess Key - The AWS secret access key to use for authentication
- guarding
Mode string - The guardrail mode to use for the request. must be one of ["BOTH", "INPUT", "OUTPUT"]
- response
Buffer numberSize - The amount of token receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard.
- stop
On booleanError - Stop processing if an error occurs
- text
Source string - Select where to pick the 'text' for the Content Guard Services request. must be one of ["concatenateallcontent", "concatenateusercontent"]
- timeout number
- Connection timeout with the bedrock service
- aws_
region str - The AWS region to use for the Bedrock API
- guardrails_
id str - The guardrail identifier used in the request to apply the guardrail
- guardrails_
version str - The guardrail version used in the request to apply the guardrail
- aws_
access_ strkey_ id - The AWS access key ID to use for authentication
- aws_
secret_ straccess_ key - The AWS secret access key to use for authentication
- guarding_
mode str - The guardrail mode to use for the request. must be one of ["BOTH", "INPUT", "OUTPUT"]
- response_
buffer_ floatsize - The amount of token receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard.
- stop_
on_ boolerror - Stop processing if an error occurs
- text_
source str - Select where to pick the 'text' for the Content Guard Services request. must be one of ["concatenateallcontent", "concatenateusercontent"]
- timeout float
- Connection timeout with the bedrock service
- aws
Region String - The AWS region to use for the Bedrock API
- guardrails
Id String - The guardrail identifier used in the request to apply the guardrail
- guardrails
Version String - The guardrail version used in the request to apply the guardrail
- aws
Access StringKey Id - The AWS access key ID to use for authentication
- aws
Secret StringAccess Key - The AWS secret access key to use for authentication
- guarding
Mode String - The guardrail mode to use for the request. must be one of ["BOTH", "INPUT", "OUTPUT"]
- response
Buffer NumberSize - The amount of token receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard.
- stop
On BooleanError - Stop processing if an error occurs
- text
Source String - Select where to pick the 'text' for the Content Guard Services request. must be one of ["concatenateallcontent", "concatenateusercontent"]
- timeout Number
- Connection timeout with the bedrock service
GatewayPluginAiAwsGuardrailsConsumer, GatewayPluginAiAwsGuardrailsConsumerArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginAiAwsGuardrailsConsumerGroup, GatewayPluginAiAwsGuardrailsConsumerGroupArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginAiAwsGuardrailsOrdering, GatewayPluginAiAwsGuardrailsOrderingArgs
GatewayPluginAiAwsGuardrailsOrderingAfter, GatewayPluginAiAwsGuardrailsOrderingAfterArgs
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginAiAwsGuardrailsOrderingBefore, GatewayPluginAiAwsGuardrailsOrderingBeforeArgs
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginAiAwsGuardrailsPartial, GatewayPluginAiAwsGuardrailsPartialArgs
GatewayPluginAiAwsGuardrailsRoute, GatewayPluginAiAwsGuardrailsRouteArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginAiAwsGuardrailsService, GatewayPluginAiAwsGuardrailsServiceArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
Import
$ pulumi import konnect:index/gatewayPluginAiAwsGuardrails:GatewayPluginAiAwsGuardrails my_konnect_gateway_plugin_ai_aws_guardrails '{"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.