class CfnStateMachineVersionPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.StepFunctions.Mixins.CfnStateMachineVersionPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsstepfunctions/mixins#CfnStateMachineVersionPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.stepfunctions.mixins.CfnStateMachineVersionPropsMixin |
Python | aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineVersionPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_stepfunctions » mixins » CfnStateMachineVersionPropsMixin |
Implements
IMixin
Extends
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as stepfunctions_mixins } from '@aws-cdk/mixins-preview/aws-stepfunctions';
const cfnStateMachineVersionPropsMixin = new stepfunctions_mixins.CfnStateMachineVersionPropsMixin({
description: 'description',
stateMachineArn: 'stateMachineArn',
stateMachineRevisionId: 'stateMachineRevisionId',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnStateMachineVersionPropsMixin(props: CfnStateMachineVersionMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.State Machine Version Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::StepFunctions::StateMachineVersion.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript