CfnFlowAliasProps Struct
Properties for defining a CfnFlowAlias.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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" }
}
};
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
concurrencyConfigurationoptionalIResolvable | CfnFlowAlias.concurrency_configurationoptionaltyping.Union[IResolvable, FlowAliasConcurrencyConfigurationProperty]concurrencyConfigurationoptionalIResolvableConcurrencyConfigurationoptionalIResolvableConcurrencyConfigurationoptionalinterface{} #The configuration that specifies how nodes in the flow are executed concurrently.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the alias.
The Amazon Resource Name (ARN) of the alias.
The name of the alias.
routingConfigurationIResolvable | IResolvable | CfnFlowAlias.routing_configurationtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FlowAliasRoutingConfigurationListItemProperty]]]routingConfigurationIResolvableRoutingConfigurationIResolvableRoutingConfigurationinterface{} required #A list of configurations about the versions that the alias maps to.
Currently, you can only specify one.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.