Skip to content
v2.278.0

FlowAliasConcurrencyConfigurationProperty ​

Struct External

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

Running nodes concurrently can improve your flow's performance.

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 flowAliasConcurrencyConfigurationProperty: bedrock.CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty = {
  type: 'type',

  // the properties below are optional
  maxConcurrency: 123,
};
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

flow_alias_concurrency_configuration_property = bedrock.CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty(
    type="type",

    # the properties below are optional
    max_concurrency=123
)
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.*;

FlowAliasConcurrencyConfigurationProperty flowAliasConcurrencyConfigurationProperty = FlowAliasConcurrencyConfigurationProperty.builder()
        .type("type")

        // the properties below are optional
        .maxConcurrency(123)
        .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 flowAliasConcurrencyConfigurationProperty = new FlowAliasConcurrencyConfigurationProperty {
    Type = "type",

    // the properties below are optional
    MaxConcurrency = 123
};
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"

flowAliasConcurrencyConfigurationProperty := &FlowAliasConcurrencyConfigurationProperty{
	Type: jsii.String("type"),

	// the properties below are optional
	MaxConcurrency: jsii.Number(123),
}

Properties ​

maxConcurrencyoptionalnumbermax_concurrencyoptionalint | floatmaxConcurrencyoptionalNumberMaxConcurrencyoptionaldoubleMaxConcurrencyoptional*float64 #
The maximum number of nodes that can be executed concurrently in the flow.
typestringtypestrtypeStringTypestringType*string required #
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.