Skip to content
v2.277.0

StateMachineVersionReference Struct ​

A reference to a StateMachineVersion resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as interfaces_stepfunctions } from 'aws-cdk-lib/interfaces';
const stateMachineVersionReference: interfaces_stepfunctions.StateMachineVersionReference = {
  stateMachineVersionArn: 'stateMachineVersionArn',
};
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_stepfunctions as interfaces_stepfunctions

state_machine_version_reference = interfaces_stepfunctions.StateMachineVersionReference(
    state_machine_version_arn="stateMachineVersionArn"
)
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.stepfunctions.*;

StateMachineVersionReference stateMachineVersionReference = StateMachineVersionReference.builder()
        .stateMachineVersionArn("stateMachineVersionArn")
        .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.StepFunctions;

var stateMachineVersionReference = new StateMachineVersionReference {
    StateMachineVersionArn = "stateMachineVersionArn"
};
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"

stateMachineVersionReference := &StateMachineVersionReference{
	StateMachineVersionArn: jsii.String("stateMachineVersionArn"),
}

Properties ​

stateMachineVersionArnstringstate_machine_version_arnstrstateMachineVersionArnStringStateMachineVersionArnstringStateMachineVersionArn*string required #
The Arn of the StateMachineVersion resource.