CfnGatewayRulePropsMixin
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnGatewayRulePropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::BedrockAgentCore::GatewayRule.
- See:
- CloudformationResource:
AWS::BedrockAgentCore::GatewayRule
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_gateway_rule_props_mixin = bedrockagentcore.CfnGatewayRulePropsMixin(bedrockagentcore.CfnGatewayRuleMixinProps( actions=[bedrockagentcore.CfnGatewayRulePropsMixin.ActionProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleActionProperty( static_override=bedrockagentcore.CfnGatewayRulePropsMixin.StaticOverrideProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), weighted_override=bedrockagentcore.CfnGatewayRulePropsMixin.WeightedOverrideProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TrafficSplitEntryProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), description="description", metadata={ "metadata_key": "metadata" }, name="name", weight=123 )] ) ), route_to_target=bedrockagentcore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty( static_route=bedrockagentcore.CfnGatewayRulePropsMixin.StaticRouteProperty( target_name="targetName" ), weighted_route=bedrockagentcore.CfnGatewayRulePropsMixin.WeightedRouteProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty( description="description", metadata={ "metadata_key": "metadata" }, name="name", target_name="targetName", weight=123 )] ) ) )], conditions=[bedrockagentcore.CfnGatewayRulePropsMixin.ConditionProperty( match_paths=bedrockagentcore.CfnGatewayRulePropsMixin.MatchPathsProperty( any_of=["anyOf"] ), match_principals=bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalsProperty( any_of=[bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty( iam_principal=bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty( arn="arn", operator="operator" ) )] ) )], description="description", gateway_identifier="gatewayIdentifier", priority=123 ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::BedrockAgentCore::GatewayRule.- Parameters:
props (
Union[CfnGatewayRuleMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['actions', 'conditions', 'description', 'gatewayIdentifier', 'priority']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ActionProperty
- class CfnGatewayRulePropsMixin.ActionProperty(*, configuration_bundle=None, route_to_target=None)
Bases:
object- Parameters:
configuration_bundle (
Union[IResolvable,ConfigurationBundleActionProperty,Dict[str,Any],None])route_to_target (
Union[IResolvable,RouteToTargetActionProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore action_property = bedrockagentcore.CfnGatewayRulePropsMixin.ActionProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleActionProperty( static_override=bedrockagentcore.CfnGatewayRulePropsMixin.StaticOverrideProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), weighted_override=bedrockagentcore.CfnGatewayRulePropsMixin.WeightedOverrideProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TrafficSplitEntryProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), description="description", metadata={ "metadata_key": "metadata" }, name="name", weight=123 )] ) ), route_to_target=bedrockagentcore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty( static_route=bedrockagentcore.CfnGatewayRulePropsMixin.StaticRouteProperty( target_name="targetName" ), weighted_route=bedrockagentcore.CfnGatewayRulePropsMixin.WeightedRouteProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty( description="description", metadata={ "metadata_key": "metadata" }, name="name", target_name="targetName", weight=123 )] ) ) )
Attributes
- configuration_bundle
-
- Type:
see
ConditionProperty
- class CfnGatewayRulePropsMixin.ConditionProperty(*, match_paths=None, match_principals=None)
Bases:
object- Parameters:
match_paths (
Union[IResolvable,MatchPathsProperty,Dict[str,Any],None])match_principals (
Union[IResolvable,MatchPrincipalsProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore condition_property = bedrockagentcore.CfnGatewayRulePropsMixin.ConditionProperty( match_paths=bedrockagentcore.CfnGatewayRulePropsMixin.MatchPathsProperty( any_of=["anyOf"] ), match_principals=bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalsProperty( any_of=[bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty( iam_principal=bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty( arn="arn", operator="operator" ) )] ) )
Attributes
- match_paths
-
- Type:
see
ConfigurationBundleActionProperty
- class CfnGatewayRulePropsMixin.ConfigurationBundleActionProperty(*, static_override=None, weighted_override=None)
Bases:
object- Parameters:
static_override (
Union[IResolvable,StaticOverrideProperty,Dict[str,Any],None])weighted_override (
Union[IResolvable,WeightedOverrideProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore configuration_bundle_action_property = bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleActionProperty( static_override=bedrockagentcore.CfnGatewayRulePropsMixin.StaticOverrideProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), weighted_override=bedrockagentcore.CfnGatewayRulePropsMixin.WeightedOverrideProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TrafficSplitEntryProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), description="description", metadata={ "metadata_key": "metadata" }, name="name", weight=123 )] ) )
Attributes
- static_override
-
- Type:
see
ConfigurationBundleReferenceProperty
- class CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty(*, bundle_arn=None, bundle_version=None)
Bases:
object- Parameters:
bundle_arn (
Optional[str])bundle_version (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore configuration_bundle_reference_property = bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" )
Attributes
- bundle_arn
-
- Type:
see
IamPrincipalProperty
- class CfnGatewayRulePropsMixin.IamPrincipalProperty(*, arn=None, operator=None)
Bases:
object- Parameters:
arn (
Optional[str])operator (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore iam_principal_property = bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty( arn="arn", operator="operator" )
Attributes
- arn
-
- Type:
see
MatchPathsProperty
- class CfnGatewayRulePropsMixin.MatchPathsProperty(*, any_of=None)
Bases:
object- Parameters:
any_of (
Optional[Sequence[str]])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore match_paths_property = bedrockagentcore.CfnGatewayRulePropsMixin.MatchPathsProperty( any_of=["anyOf"] )
Attributes
MatchPrincipalEntryProperty
- class CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty(*, iam_principal=None)
Bases:
object- Parameters:
iam_principal (
Union[IResolvable,IamPrincipalProperty,Dict[str,Any],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore match_principal_entry_property = bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty( iam_principal=bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty( arn="arn", operator="operator" ) )
Attributes
MatchPrincipalsProperty
- class CfnGatewayRulePropsMixin.MatchPrincipalsProperty(*, any_of=None)
Bases:
object- Parameters:
any_of (
Union[IResolvable,Sequence[Union[IResolvable,MatchPrincipalEntryProperty,Dict[str,Any]]],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore match_principals_property = bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalsProperty( any_of=[bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty( iam_principal=bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty( arn="arn", operator="operator" ) )] )
Attributes
RouteToTargetActionProperty
- class CfnGatewayRulePropsMixin.RouteToTargetActionProperty(*, static_route=None, weighted_route=None)
Bases:
object- Parameters:
static_route (
Union[IResolvable,StaticRouteProperty,Dict[str,Any],None])weighted_route (
Union[IResolvable,WeightedRouteProperty,Dict[str,Any],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore route_to_target_action_property = bedrockagentcore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty( static_route=bedrockagentcore.CfnGatewayRulePropsMixin.StaticRouteProperty( target_name="targetName" ), weighted_route=bedrockagentcore.CfnGatewayRulePropsMixin.WeightedRouteProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty( description="description", metadata={ "metadata_key": "metadata" }, name="name", target_name="targetName", weight=123 )] ) )
Attributes
- static_route
-
- Type:
see
StaticOverrideProperty
- class CfnGatewayRulePropsMixin.StaticOverrideProperty(*, bundle_arn=None, bundle_version=None)
Bases:
object- Parameters:
bundle_arn (
Optional[str])bundle_version (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore static_override_property = bedrockagentcore.CfnGatewayRulePropsMixin.StaticOverrideProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" )
Attributes
- bundle_arn
-
- Type:
see
StaticRouteProperty
- class CfnGatewayRulePropsMixin.StaticRouteProperty(*, target_name=None)
Bases:
object- Parameters:
target_name (
Optional[str])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore static_route_property = bedrockagentcore.CfnGatewayRulePropsMixin.StaticRouteProperty( target_name="targetName" )
Attributes
TargetTrafficSplitEntryProperty
- class CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty(*, description=None, metadata=None, name=None, target_name=None, weight=None)
Bases:
object- Parameters:
description (
Optional[str])metadata (
Union[IResolvable,Mapping[str,str],None])name (
Optional[str])target_name (
Optional[str])weight (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore target_traffic_split_entry_property = bedrockagentcore.CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty( description="description", metadata={ "metadata_key": "metadata" }, name="name", target_name="targetName", weight=123 )
Attributes
- description
-
- Type:
see
- metadata
-
- Type:
see
- name
-
- Type:
see
- target_name
-
- Type:
see
TrafficSplitEntryProperty
- class CfnGatewayRulePropsMixin.TrafficSplitEntryProperty(*, configuration_bundle=None, description=None, metadata=None, name=None, weight=None)
Bases:
object- Parameters:
configuration_bundle (
Union[IResolvable,ConfigurationBundleReferenceProperty,Dict[str,Any],None])description (
Optional[str])metadata (
Union[IResolvable,Mapping[str,str],None])name (
Optional[str])weight (
Union[int,float,None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore traffic_split_entry_property = bedrockagentcore.CfnGatewayRulePropsMixin.TrafficSplitEntryProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), description="description", metadata={ "metadata_key": "metadata" }, name="name", weight=123 )
Attributes
- configuration_bundle
-
- Type:
see
- description
-
- Type:
see
- metadata
-
- Type:
see
- name
-
- Type:
see
WeightedOverrideProperty
- class CfnGatewayRulePropsMixin.WeightedOverrideProperty(*, traffic_split=None)
Bases:
object- Parameters:
traffic_split (
Union[IResolvable,Sequence[Union[IResolvable,TrafficSplitEntryProperty,Dict[str,Any]]],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore weighted_override_property = bedrockagentcore.CfnGatewayRulePropsMixin.WeightedOverrideProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TrafficSplitEntryProperty( configuration_bundle=bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty( bundle_arn="bundleArn", bundle_version="bundleVersion" ), description="description", metadata={ "metadata_key": "metadata" }, name="name", weight=123 )] )
Attributes
WeightedRouteProperty
- class CfnGatewayRulePropsMixin.WeightedRouteProperty(*, traffic_split=None)
Bases:
object- Parameters:
traffic_split (
Union[IResolvable,Sequence[Union[IResolvable,TargetTrafficSplitEntryProperty,Dict[str,Any]]],None])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore weighted_route_property = bedrockagentcore.CfnGatewayRulePropsMixin.WeightedRouteProperty( traffic_split=[bedrockagentcore.CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty( description="description", metadata={ "metadata_key": "metadata" }, name="name", target_name="targetName", weight=123 )] )
Attributes