CfnFlowAliasPropsMixin

class aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowAliasPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates an alias of a flow for deployment.

For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-flowalias.html

CloudformationResource:

AWS::Bedrock::FlowAlias

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_bedrock import mixins as bedrock_mixins

cfn_flow_alias_props_mixin = bedrock_mixins.CfnFlowAliasPropsMixin(bedrock_mixins.CfnFlowAliasMixinProps(
    concurrency_configuration=bedrock_mixins.CfnFlowAliasPropsMixin.FlowAliasConcurrencyConfigurationProperty(
        max_concurrency=123,
        type="type"
    ),
    description="description",
    flow_arn="flowArn",
    name="name",
    routing_configuration=[bedrock_mixins.CfnFlowAliasPropsMixin.FlowAliasRoutingConfigurationListItemProperty(
        flow_version="flowVersion"
    )],
    tags={
        "tags_key": "tags"
    }
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Bedrock::FlowAlias.

Parameters:
  • props (Union[CfnFlowAliasMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['concurrencyConfiguration', 'description', 'flowArn', 'name', 'routingConfiguration', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

FlowAliasConcurrencyConfigurationProperty

class CfnFlowAliasPropsMixin.FlowAliasConcurrencyConfigurationProperty(*, max_concurrency=None, type=None)

Bases: object

Determines how multiple nodes in a flow can run in parallel.

Running nodes concurrently can improve your flow’s performance.

Parameters:
  • max_concurrency (Union[int, float, None]) – The maximum number of nodes that can be executed concurrently in the flow.

  • type (Optional[str]) – The type of concurrency to use for parallel node execution. Specify one of the following options:. - Automatic - Amazon Bedrock determines which nodes can be executed in parallel based on the flow definition and its dependencies. - Manual - You specify which nodes can be executed in parallel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.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.mixins_preview.aws_bedrock import mixins as bedrock_mixins

flow_alias_concurrency_configuration_property = bedrock_mixins.CfnFlowAliasPropsMixin.FlowAliasConcurrencyConfigurationProperty(
    max_concurrency=123,
    type="type"
)

Attributes

max_concurrency

The maximum number of nodes that can be executed concurrently in the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.html#cfn-bedrock-flowalias-flowaliasconcurrencyconfiguration-maxconcurrency

type

.

  • Automatic - Amazon Bedrock determines which nodes can be executed in parallel based on the flow definition and its dependencies.

  • Manual - You specify which nodes can be executed in parallel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.html#cfn-bedrock-flowalias-flowaliasconcurrencyconfiguration-type

Type:

The type of concurrency to use for parallel node execution. Specify one of the following options

FlowAliasRoutingConfigurationListItemProperty

class CfnFlowAliasPropsMixin.FlowAliasRoutingConfigurationListItemProperty(*, flow_version=None)

Bases: object

Contains information about a version that the alias maps to.

Parameters:

flow_version (Optional[str]) – The version that the alias maps to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasroutingconfigurationlistitem.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.mixins_preview.aws_bedrock import mixins as bedrock_mixins

flow_alias_routing_configuration_list_item_property = bedrock_mixins.CfnFlowAliasPropsMixin.FlowAliasRoutingConfigurationListItemProperty(
    flow_version="flowVersion"
)

Attributes

flow_version

The version that the alias maps to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasroutingconfigurationlistitem.html#cfn-bedrock-flowalias-flowaliasroutingconfigurationlistitem-flowversion