CfnGatewayRuleMixinProps
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnGatewayRuleMixinProps(*, actions=None, conditions=None, description=None, gateway_identifier=None, priority=None)
Bases:
objectProperties for CfnGatewayRulePropsMixin.
- Parameters:
actions (
Union[IResolvable,Sequence[Union[IResolvable,ActionProperty,Dict[str,Any]]],None])conditions (
Union[IResolvable,Sequence[Union[IResolvable,ConditionProperty,Dict[str,Any]]],None])description (
Optional[str])gateway_identifier (
Optional[str])priority (
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 cfn_gateway_rule_mixin_props = 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 )
Attributes
- actions
-
- Type:
see
- conditions
-
- Type:
see
- description
-
- Type:
see
- gateway_identifier
-
- Type:
see