CfnGatewayRulePropsMixin

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnGatewayRulePropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::BedrockAgentCore::GatewayRule.

See:

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

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ActionProperty

class CfnGatewayRulePropsMixin.ActionProperty(*, configuration_bundle=None, route_to_target=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-action.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

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-action.html#cfn-bedrockagentcore-gatewayrule-action-configurationbundle

Type:

see

route_to_target

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-action.html#cfn-bedrockagentcore-gatewayrule-action-routetotarget

Type:

see

ConditionProperty

class CfnGatewayRulePropsMixin.ConditionProperty(*, match_paths=None, match_principals=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-condition.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

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-condition.html#cfn-bedrockagentcore-gatewayrule-condition-matchpaths

Type:

see

match_principals

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-condition.html#cfn-bedrockagentcore-gatewayrule-condition-matchprincipals

Type:

see

ConfigurationBundleActionProperty

class CfnGatewayRulePropsMixin.ConfigurationBundleActionProperty(*, static_override=None, weighted_override=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-configurationbundleaction.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

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-configurationbundleaction.html#cfn-bedrockagentcore-gatewayrule-configurationbundleaction-staticoverride

Type:

see

weighted_override

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-configurationbundleaction.html#cfn-bedrockagentcore-gatewayrule-configurationbundleaction-weightedoverride

Type:

see

ConfigurationBundleReferenceProperty

class CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty(*, bundle_arn=None, bundle_version=None)

Bases: object

Parameters:
  • bundle_arn (Optional[str])

  • bundle_version (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-configurationbundlereference.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

configuration_bundle_reference_property = bedrockagentcore.CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty(
    bundle_arn="bundleArn",
    bundle_version="bundleVersion"
)

Attributes

bundle_arn

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-configurationbundlereference.html#cfn-bedrockagentcore-gatewayrule-configurationbundlereference-bundlearn

Type:

see

bundle_version

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-configurationbundlereference.html#cfn-bedrockagentcore-gatewayrule-configurationbundlereference-bundleversion

Type:

see

IamPrincipalProperty

class CfnGatewayRulePropsMixin.IamPrincipalProperty(*, arn=None, operator=None)

Bases: object

Parameters:
  • arn (Optional[str])

  • operator (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-iamprincipal.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

iam_principal_property = bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty(
    arn="arn",
    operator="operator"
)

Attributes

arn

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-iamprincipal.html#cfn-bedrockagentcore-gatewayrule-iamprincipal-arn

Type:

see

operator

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-iamprincipal.html#cfn-bedrockagentcore-gatewayrule-iamprincipal-operator

Type:

see

MatchPathsProperty

class CfnGatewayRulePropsMixin.MatchPathsProperty(*, any_of=None)

Bases: object

Parameters:

any_of (Optional[Sequence[str]])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-matchpaths.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

match_paths_property = bedrockagentcore.CfnGatewayRulePropsMixin.MatchPathsProperty(
    any_of=["anyOf"]
)

Attributes

any_of

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-matchpaths.html#cfn-bedrockagentcore-gatewayrule-matchpaths-anyof

Type:

see

MatchPrincipalEntryProperty

class CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty(*, iam_principal=None)

Bases: object

Parameters:

iam_principal (Union[IResolvable, IamPrincipalProperty, Dict[str, Any], None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-matchprincipalentry.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

match_principal_entry_property = bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty(
    iam_principal=bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty(
        arn="arn",
        operator="operator"
    )
)

Attributes

iam_principal

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-matchprincipalentry.html#cfn-bedrockagentcore-gatewayrule-matchprincipalentry-iamprincipal

Type:

see

MatchPrincipalsProperty

class CfnGatewayRulePropsMixin.MatchPrincipalsProperty(*, any_of=None)

Bases: object

Parameters:

any_of (Union[IResolvable, Sequence[Union[IResolvable, MatchPrincipalEntryProperty, Dict[str, Any]]], None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-matchprincipals.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

match_principals_property = bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalsProperty(
    any_of=[bedrockagentcore.CfnGatewayRulePropsMixin.MatchPrincipalEntryProperty(
        iam_principal=bedrockagentcore.CfnGatewayRulePropsMixin.IamPrincipalProperty(
            arn="arn",
            operator="operator"
        )
    )]
)

Attributes

any_of

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-matchprincipals.html#cfn-bedrockagentcore-gatewayrule-matchprincipals-anyof

Type:

see

RouteToTargetActionProperty

class CfnGatewayRulePropsMixin.RouteToTargetActionProperty(*, static_route=None, weighted_route=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-routetotargetaction.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

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-routetotargetaction.html#cfn-bedrockagentcore-gatewayrule-routetotargetaction-staticroute

Type:

see

weighted_route

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-routetotargetaction.html#cfn-bedrockagentcore-gatewayrule-routetotargetaction-weightedroute

Type:

see

StaticOverrideProperty

class CfnGatewayRulePropsMixin.StaticOverrideProperty(*, bundle_arn=None, bundle_version=None)

Bases: object

Parameters:
  • bundle_arn (Optional[str])

  • bundle_version (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-staticoverride.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

static_override_property = bedrockagentcore.CfnGatewayRulePropsMixin.StaticOverrideProperty(
    bundle_arn="bundleArn",
    bundle_version="bundleVersion"
)

Attributes

bundle_arn

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-staticoverride.html#cfn-bedrockagentcore-gatewayrule-staticoverride-bundlearn

Type:

see

bundle_version

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-staticoverride.html#cfn-bedrockagentcore-gatewayrule-staticoverride-bundleversion

Type:

see

StaticRouteProperty

class CfnGatewayRulePropsMixin.StaticRouteProperty(*, target_name=None)

Bases: object

Parameters:

target_name (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-staticroute.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

static_route_property = bedrockagentcore.CfnGatewayRulePropsMixin.StaticRouteProperty(
    target_name="targetName"
)

Attributes

target_name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-staticroute.html#cfn-bedrockagentcore-gatewayrule-staticroute-targetname

Type:

see

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-targettrafficsplitentry.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

target_traffic_split_entry_property = bedrockagentcore.CfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty(
    description="description",
    metadata={
        "metadata_key": "metadata"
    },
    name="name",
    target_name="targetName",
    weight=123
)

Attributes

description

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

Type:

see

metadata

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-targettrafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-targettrafficsplitentry-metadata

Type:

see

name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-targettrafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-targettrafficsplitentry-name

Type:

see

target_name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-targettrafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-targettrafficsplitentry-targetname

Type:

see

weight

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-targettrafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-targettrafficsplitentry-weight

Type:

see

TrafficSplitEntryProperty

class CfnGatewayRulePropsMixin.TrafficSplitEntryProperty(*, configuration_bundle=None, description=None, metadata=None, name=None, weight=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-trafficsplitentry.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

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-trafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-trafficsplitentry-configurationbundle

Type:

see

description

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

Type:

see

metadata

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-trafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-trafficsplitentry-metadata

Type:

see

name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-trafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-trafficsplitentry-name

Type:

see

weight

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-trafficsplitentry.html#cfn-bedrockagentcore-gatewayrule-trafficsplitentry-weight

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-weightedoverride.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

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

traffic_split

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-weightedoverride.html#cfn-bedrockagentcore-gatewayrule-weightedoverride-trafficsplit

Type:

see

WeightedRouteProperty

class CfnGatewayRulePropsMixin.WeightedRouteProperty(*, traffic_split=None)

Bases: object

Parameters:

traffic_split (Union[IResolvable, Sequence[Union[IResolvable, TargetTrafficSplitEntryProperty, Dict[str, Any]]], None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-weightedroute.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

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

traffic_split

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewayrule-weightedroute.html#cfn-bedrockagentcore-gatewayrule-weightedroute-trafficsplit

Type:

see