CfnGatewayRuleMixinProps

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnGatewayRuleMixinProps(*, actions=None, conditions=None, description=None, gateway_identifier=None, priority=None)

Bases: object

Properties for CfnGatewayRulePropsMixin.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewayrule.html

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewayrule.html#cfn-bedrockagentcore-gatewayrule-actions

Type:

see

conditions

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewayrule.html#cfn-bedrockagentcore-gatewayrule-conditions

Type:

see

description

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewayrule.html#cfn-bedrockagentcore-gatewayrule-description

Type:

see

gateway_identifier

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewayrule.html#cfn-bedrockagentcore-gatewayrule-gatewayidentifier

Type:

see

priority

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewayrule.html#cfn-bedrockagentcore-gatewayrule-priority

Type:

see