CfnStateMachineVersionProps

class aws_cdk.aws_stepfunctions.CfnStateMachineVersionProps(*, state_machine_arn, description=None, state_machine_revision_id=None)

Bases: object

Properties for defining a CfnStateMachineVersion.

Parameters:
  • state_machine_arn (str) – The Amazon Resource Name (ARN) of the state machine.

  • description (Optional[str]) – An optional description of the state machine version.

  • state_machine_revision_id (Optional[str]) – 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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions as stepfunctions

cfn_state_machine_version_props = stepfunctions.CfnStateMachineVersionProps(
    state_machine_arn="stateMachineArn",

    # the properties below are optional
    description="description",
    state_machine_revision_id="stateMachineRevisionId"
)

Attributes

description

An optional description of the state machine version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html#cfn-stepfunctions-statemachineversion-description

state_machine_arn

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html#cfn-stepfunctions-statemachineversion-statemachinearn

state_machine_revision_id

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html#cfn-stepfunctions-statemachineversion-statemachinerevisionid