Skip to content
v2.278.0

CfnStateMachineVersionPropsMixin 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.

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.

Initializer ​

ts
new CfnStateMachineVersionPropsMixin(props: CfnStateMachineVersionMixinProps, options?: CfnPropertyMixinOptions)
python
CfnStateMachineVersionPropsMixin(props: CfnStateMachineVersionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnStateMachineVersionPropsMixin(CfnStateMachineVersionMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnStateMachineVersionPropsMixin(CfnStateMachineVersionMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnStateMachineVersionPropsMixin(Props CfnStateMachineVersionMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

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

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #
Check if this mixin supports the given construct.