aws-cdk-lib.aws_stepfunctions.CfnStateMachineVersionProps

interface CfnStateMachineVersionProps

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.CfnStateMachineVersionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#CfnStateMachineVersionProps
Javasoftware.amazon.awscdk.services.stepfunctions.CfnStateMachineVersionProps
Pythonaws_cdk.aws_stepfunctions.CfnStateMachineVersionProps
TypeScript aws-cdk-lib » aws_stepfunctions » CfnStateMachineVersionProps

Properties for defining a CfnStateMachineVersion.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const cfnStateMachineVersionProps: stepfunctions.CfnStateMachineVersionProps = {
  stateMachineArn: 'stateMachineArn',

  // the properties below are optional
  description: 'description',
  stateMachineRevisionId: 'stateMachineRevisionId',
};

Properties

NameTypeDescription
stateMachineArnstringThe Amazon Resource Name (ARN) of the state machine.
description?stringAn optional description of the state machine version.
stateMachineRevisionId?stringIdentifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.

stateMachineArn

Type: string

The Amazon Resource Name (ARN) of the state machine.


description?

Type: string (optional)

An optional description of the state machine version.


stateMachineRevisionId?

Type: string (optional)

Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.

Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.

To specify the initial state machine revision, set the value as INITIAL .