CfnStateMachineVersionPropsMixin

class aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineVersionPropsMixin(props, *, strategy=None)

Bases: Mixin

Represents a state machine version . A published version uses the latest state machine *revision* . A revision is an immutable, read-only snapshot of a state machine’s definition and configuration.

You can publish up to 1000 versions for each state machine. .. epigraph:

Before you delete a version, make sure that version's ARN isn't being referenced in any long-running workflows or application code outside of the stack.
See:

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

CloudformationResource:

AWS::StepFunctions::StateMachineVersion

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_stepfunctions import mixins as stepfunctions_mixins

cfn_state_machine_version_props_mixin = stepfunctions_mixins.CfnStateMachineVersionPropsMixin(stepfunctions_mixins.CfnStateMachineVersionMixinProps(
    description="description",
    state_machine_arn="stateMachineArn",
    state_machine_revision_id="stateMachineRevisionId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::StepFunctions::StateMachineVersion.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'stateMachineArn', 'stateMachineRevisionId']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental