AWS::Bedrock::FlowAlias - AWS CloudFormation

AWS::Bedrock::FlowAlias

Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Bedrock::FlowAlias", "Properties" : { "Description" : String, "FlowArn" : String, "Name" : String, "RoutingConfiguration" : [ FlowAliasRoutingConfigurationListItem, ... ], "Tags" : {Key: Value, ...} } }

YAML

Type: AWS::Bedrock::FlowAlias Properties: Description: String FlowArn: String Name: String RoutingConfiguration: - FlowAliasRoutingConfigurationListItem Tags: Key: Value

Properties

Description

A description of the alias.

Required: No

Type: String

Minimum: 1

Maximum: 200

Update requires: No interruption

FlowArn

The Amazon Resource Name (ARN) of the alias.

Required: Yes

Type: String

Pattern: ^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}$

Maximum: 2048

Update requires: Replacement

Name

The name of the alias.

Required: Yes

Type: String

Pattern: ^([0-9a-zA-Z][_-]?){1,100}$

Update requires: No interruption

RoutingConfiguration

A list of configurations about the versions that the alias maps to. Currently, you can only specify one.

Required: Yes

Type: Array of FlowAliasRoutingConfigurationListItem

Minimum: 1

Maximum: 1

Update requires: No interruption

Tags

Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

Required: No

Type: Object of String

Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$

Minimum: 0

Maximum: 256

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Amazon Resource Number (ARN) of the flow and the Amazon Resource Name (ARN) of its alias, separated by a pipe (|).

For example, { "Ref": "myFlowAlias" } could return the value "arn:aws:bedrock:us-east-1:123456789012:flow/FLOW12345|arn:aws:bedrock:us-east-1:123456789012:flow/FLOW12345/alias/ALIAS12345".

For more information about using the Ref function, see Ref.

Fn::GetAtt

Arn

The Amazon Resource Name (ARN) of the alias.

CreatedAt

The time at which the alias was created.

FlowId

The unique identifier of the flow.

Id

The unique identifier of the alias of the flow.

UpdatedAt

The time at which the alias was last updated.