# CfnFlowAliasProps

Properties for defining a `CfnFlowAlias`.

Used as props by: [CfnFlowAlias](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowAlias.html)

- Source: Generated at build time
- Type last changed: v2.199.0 · 27 May 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const cfnFlowAliasProps: bedrock.CfnFlowAliasProps = {
  flowArn: 'flowArn',
  name: 'name',
  routingConfiguration: [{
    flowVersion: 'flowVersion',
  }],

  // the properties below are optional
  concurrencyConfiguration: {
    type: 'type',

    // the properties below are optional
    maxConcurrency: 123,
  },
  description: 'description',
  tags: {
    tagsKey: 'tags',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

cfn_flow_alias_props = bedrock.CfnFlowAliasProps(
    flow_arn="flowArn",
    name="name",
    routing_configuration=[bedrock.CfnFlowAlias.FlowAliasRoutingConfigurationListItemProperty(
        flow_version="flowVersion"
    )],

    # the properties below are optional
    concurrency_configuration=bedrock.CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty(
        type="type",

        # the properties below are optional
        max_concurrency=123
    ),
    description="description",
    tags={
        "tags_key": "tags"
    }
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

CfnFlowAliasProps cfnFlowAliasProps = CfnFlowAliasProps.builder()
        .flowArn("flowArn")
        .name("name")
        .routingConfiguration(List.of(FlowAliasRoutingConfigurationListItemProperty.builder()
                .flowVersion("flowVersion")
                .build()))

        // the properties below are optional
        .concurrencyConfiguration(FlowAliasConcurrencyConfigurationProperty.builder()
                .type("type")

                // the properties below are optional
                .maxConcurrency(123)
                .build())
        .description("description")
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var cfnFlowAliasProps = new CfnFlowAliasProps {
    FlowArn = "flowArn",
    Name = "name",
    RoutingConfiguration = new [] { new FlowAliasRoutingConfigurationListItemProperty {
        FlowVersion = "flowVersion"
    } },

    // the properties below are optional
    ConcurrencyConfiguration = new FlowAliasConcurrencyConfigurationProperty {
        Type = "type",

        // the properties below are optional
        MaxConcurrency = 123
    },
    Description = "description",
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnFlowAliasProps := &CfnFlowAliasProps{
	FlowArn: jsii.String("flowArn"),
	Name: jsii.String("name"),
	RoutingConfiguration: []interface{}{
		&FlowAliasRoutingConfigurationListItemProperty{
			FlowVersion: jsii.String("flowVersion"),
		},
	},

	// the properties below are optional
	ConcurrencyConfiguration: &FlowAliasConcurrencyConfigurationProperty{
		Type: jsii.String("type"),

		// the properties below are optional
		MaxConcurrency: jsii.Number(123),
	},
	Description: jsii.String("description"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}
```

## Properties

- `concurrencyConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty.html) — The configuration that specifies how nodes in the flow are executed concurrently.

- `description`: string — A description of the alias.

- `flowArn`: string (required) — The Amazon Resource Name (ARN) of the alias.

- `name`: string (required) — The name of the alias.

- `routingConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowAlias.FlowAliasRoutingConfigurationListItemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowAlias.FlowAliasRoutingConfigurationListItemProperty.html)[] (required) — A list of configurations about the versions that the alias maps to.

  Currently, you can only specify one.

- `tags`: { [key: string]: string } — Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.

  - [Tag naming limits and requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions)
  - [Tagging best practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices)
