CfnStateMachineVersionPropsMixin
- class aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineVersionPropsMixin(props, *, strategy=None)
Bases:
MixinRepresents 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:
- 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:
props (
Union[CfnStateMachineVersionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental