Skip to content
v2.278.0

FlowVersionReference Struct ​

A reference to a FlowVersion resource.

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 interfaces_bedrock } from 'aws-cdk-lib/interfaces';
const flowVersionReference: interfaces_bedrock.FlowVersionReference = {
  flowArn: 'flowArn',
  version: 'version',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_bedrock as interfaces_bedrock

flow_version_reference = interfaces_bedrock.FlowVersionReference(
    flow_arn="flowArn",
    version="version"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.bedrock.*;

FlowVersionReference flowVersionReference = FlowVersionReference.builder()
        .flowArn("flowArn")
        .version("version")
        .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.Interfaces.Bedrock;

var flowVersionReference = new FlowVersionReference {
    FlowArn = "flowArn",
    Version = "version"
};
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"

flowVersionReference := &FlowVersionReference{
	FlowArn: jsii.String("flowArn"),
	Version: jsii.String("version"),
}

Properties ​

flowArnstringflow_arnstrflowArnStringFlowArnstringFlowArn*string required #
The FlowArn of the FlowVersion resource.
versionstringversionstrversionStringVersionstringVersion*string required #
The Version of the FlowVersion resource.