We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
Resource Type definition for AWS::BedrockAgentCore::GatewayRule
Create GatewayRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayRule(name: string, args: GatewayRuleArgs, opts?: CustomResourceOptions);@overload
def GatewayRule(resource_name: str,
args: GatewayRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[Union[GatewayRuleAction0PropertiesArgs, GatewayRuleAction1PropertiesArgs]]] = None,
priority: Optional[float] = None,
conditions: Optional[Sequence[Union[GatewayRuleCondition0PropertiesArgs, GatewayRuleCondition1PropertiesArgs]]] = None,
description: Optional[str] = None,
gateway_identifier: Optional[str] = None)func NewGatewayRule(ctx *Context, name string, args GatewayRuleArgs, opts ...ResourceOption) (*GatewayRule, error)public GatewayRule(string name, GatewayRuleArgs args, CustomResourceOptions? opts = null)
public GatewayRule(String name, GatewayRuleArgs args)
public GatewayRule(String name, GatewayRuleArgs args, CustomResourceOptions options)
type: aws-native:bedrockagentcore:GatewayRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_bedrockagentcore_gateway_rule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GatewayRuleArgs
- 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 GatewayRuleArgs
- 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 GatewayRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GatewayRule 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 GatewayRule resource accepts the following input properties:
- Actions
List<Union<Pulumi.
Aws Native. Bedrock Agent Core. Inputs. Gateway Rule Action0Properties, Pulumi. Aws Native. Bedrock Agent Core. Inputs. Gateway Rule Action1Properties Args>> - Priority double
- Conditions
List<Union<Pulumi.
Aws Native. Bedrock Agent Core. Inputs. Gateway Rule Condition0Properties, Pulumi. Aws Native. Bedrock Agent Core. Inputs. Gateway Rule Condition1Properties Args>> - Description string
- Gateway
Identifier string
- Actions []interface{}
- Priority float64
- Conditions []interface{}
- Description string
- Gateway
Identifier string
- actions list(object | object)
- priority number
- conditions list(object | object)
- description string
- gateway_
identifier string
- actions
List<Either<Gateway
Rule Action0Properties,Gateway Rule Action1Properties Args>> - priority Double
- conditions
List<Either<Gateway
Rule Condition0Properties,Gateway Rule Condition1Properties Args>> - description String
- gateway
Identifier String
- actions
(Gateway
Rule Action0Properties | Gateway Rule Action1Properties Args)[] - priority number
- conditions
(Gateway
Rule Condition0Properties | Gateway Rule Condition1Properties Args)[] - description string
- gateway
Identifier string
- actions
Sequence[Union[Gateway
Rule Action0Properties Args, Gateway Rule Action1Properties Args]] - priority float
- conditions
Sequence[Union[Gateway
Rule Condition0Properties Args, Gateway Rule Condition1Properties Args]] - description str
- gateway_
identifier str
- actions List<Property Map | Property Map>
- priority Number
- conditions List<Property Map | Property Map>
- description String
- gateway
Identifier String
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayRule resource produces the following output properties:
- Created
At string - Gateway
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Id string - Status
Pulumi.
Aws Native. Bedrock Agent Core. Gateway Rule Status - System
Pulumi.
Aws Native. Bedrock Agent Core. Outputs. Gateway Rule System Managed Block - Updated
At string
- Created
At string - Gateway
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Id string - Status
Gateway
Rule Status - System
Gateway
Rule System Managed Block - Updated
At string
- created_
at string - gateway_
arn string - id string
- The provider-assigned unique ID for this managed resource.
- rule_
id string - status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING"
- system object
- updated_
at string
- created
At String - gateway
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- rule
Id String - status
Gateway
Rule Status - system
Gateway
Rule System Managed Block - updated
At String
- created
At string - gateway
Arn string - id string
- The provider-assigned unique ID for this managed resource.
- rule
Id string - status
Gateway
Rule Status - system
Gateway
Rule System Managed Block - updated
At string
- created_
at str - gateway_
arn str - id str
- The provider-assigned unique ID for this managed resource.
- rule_
id str - status
Gateway
Rule Status - system
Gateway
Rule System Managed Block - updated_
at str
- created
At String - gateway
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- rule
Id String - status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING"
- system Property Map
- updated
At String
Supporting Types
GatewayRuleAction0Properties, GatewayRuleAction0PropertiesArgs
GatewayRuleAction1Properties, GatewayRuleAction1PropertiesArgs
GatewayRuleCondition0Properties, GatewayRuleCondition0PropertiesArgs
GatewayRuleCondition1Properties, GatewayRuleCondition1PropertiesArgs
GatewayRuleConfigurationBundleAction0Properties, GatewayRuleConfigurationBundleAction0PropertiesArgs
GatewayRuleConfigurationBundleAction1Properties, GatewayRuleConfigurationBundleAction1PropertiesArgs
GatewayRuleConfigurationBundleReference, GatewayRuleConfigurationBundleReferenceArgs
- Bundle
Arn string - Bundle
Version string
- Bundle
Arn string - Bundle
Version string
- bundle_
arn string - bundle_
version string
- bundle
Arn String - bundle
Version String
- bundle
Arn string - bundle
Version string
- bundle_
arn str - bundle_
version str
- bundle
Arn String - bundle
Version String
GatewayRuleIamPrincipal, GatewayRuleIamPrincipalArgs
GatewayRuleMatchPaths, GatewayRuleMatchPathsArgs
- Any
Of List<string>
- Any
Of []string
- any_
of list(string)
- any
Of List<String>
- any
Of string[]
- any_
of Sequence[str]
- any
Of List<String>
GatewayRuleMatchPrincipalEntryProperties, GatewayRuleMatchPrincipalEntryPropertiesArgs
GatewayRuleMatchPrincipals, GatewayRuleMatchPrincipalsArgs
GatewayRulePrincipalMatchOperator, GatewayRulePrincipalMatchOperatorArgs
- String
Equals StringEquals- String
Like StringLike
- Gateway
Rule Principal Match Operator String Equals StringEquals- Gateway
Rule Principal Match Operator String Like StringLike
- "String
Equals" StringEquals- "String
Like" StringLike
- String
Equals StringEquals- String
Like StringLike
- String
Equals StringEquals- String
Like StringLike
- STRING_EQUALS
StringEquals- STRING_LIKE
StringLike
- "String
Equals" StringEquals- "String
Like" StringLike
GatewayRuleRouteToTargetAction0Properties, GatewayRuleRouteToTargetAction0PropertiesArgs
GatewayRuleRouteToTargetAction1Properties, GatewayRuleRouteToTargetAction1PropertiesArgs
GatewayRuleStaticOverride, GatewayRuleStaticOverrideArgs
- Bundle
Arn string - Bundle
Version string
- Bundle
Arn string - Bundle
Version string
- bundle_
arn string - bundle_
version string
- bundle
Arn String - bundle
Version String
- bundle
Arn string - bundle
Version string
- bundle_
arn str - bundle_
version str
- bundle
Arn String - bundle
Version String
GatewayRuleStaticRoute, GatewayRuleStaticRouteArgs
- Target
Name string
- Target
Name string
- target_
name string
- target
Name String
- target
Name string
- target_
name str
- target
Name String
GatewayRuleStatus, GatewayRuleStatusArgs
- Creating
CREATING- Active
ACTIVE- Updating
UPDATING- Deleting
DELETING
- Gateway
Rule Status Creating CREATING- Gateway
Rule Status Active ACTIVE- Gateway
Rule Status Updating UPDATING- Gateway
Rule Status Deleting DELETING
- "CREATING"
CREATING- "ACTIVE"
ACTIVE- "UPDATING"
UPDATING- "DELETING"
DELETING
- Creating
CREATING- Active
ACTIVE- Updating
UPDATING- Deleting
DELETING
- Creating
CREATING- Active
ACTIVE- Updating
UPDATING- Deleting
DELETING
- CREATING
CREATING- ACTIVE
ACTIVE- UPDATING
UPDATING- DELETING
DELETING
- "CREATING"
CREATING- "ACTIVE"
ACTIVE- "UPDATING"
UPDATING- "DELETING"
DELETING
GatewayRuleSystemManagedBlock, GatewayRuleSystemManagedBlockArgs
- Managed
By string
- Managed
By string
- managed_
by string
- managed
By String
- managed
By string
- managed_
by str
- managed
By String
GatewayRuleTargetTrafficSplitEntry, GatewayRuleTargetTrafficSplitEntryArgs
- Name string
- Target
Name string - Weight double
- Description string
- Metadata Dictionary<string, string>
- Name string
- Target
Name string - Weight float64
- Description string
- Metadata map[string]string
- name string
- target_
name string - weight number
- description string
- metadata map(string)
- name String
- target
Name String - weight Double
- description String
- metadata Map<String,String>
- name string
- target
Name string - weight number
- description string
- metadata {[key: string]: string}
- name str
- target_
name str - weight float
- description str
- metadata Mapping[str, str]
- name String
- target
Name String - weight Number
- description String
- metadata Map<String>
GatewayRuleTrafficSplitEntry, GatewayRuleTrafficSplitEntryArgs
- Configuration
Bundle Pulumi.Aws Native. Bedrock Agent Core. Inputs. Gateway Rule Configuration Bundle Reference - Name string
- Weight double
- Description string
- Metadata Dictionary<string, string>
- Configuration
Bundle GatewayRule Configuration Bundle Reference - Name string
- Weight float64
- Description string
- Metadata map[string]string
- configuration_
bundle object - name string
- weight number
- description string
- metadata map(string)
- configuration
Bundle GatewayRule Configuration Bundle Reference - name String
- weight Double
- description String
- metadata Map<String,String>
- configuration
Bundle GatewayRule Configuration Bundle Reference - name string
- weight number
- description string
- metadata {[key: string]: string}
- configuration_
bundle GatewayRule Configuration Bundle Reference - name str
- weight float
- description str
- metadata Mapping[str, str]
- configuration
Bundle Property Map - name String
- weight Number
- description String
- metadata Map<String>
GatewayRuleWeightedOverride, GatewayRuleWeightedOverrideArgs
GatewayRuleWeightedRoute, GatewayRuleWeightedRouteArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi