interface AfterwardsOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.AfterwardsOptions |
Java | software.amazon.awscdk.services.stepfunctions.AfterwardsOptions |
Python | aws_cdk.aws_stepfunctions.AfterwardsOptions |
TypeScript (source) | @aws-cdk/aws-stepfunctions » AfterwardsOptions |
Options for selecting the choice paths.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
const afterwardsOptions: stepfunctions.AfterwardsOptions = {
includeErrorHandlers: false,
includeOtherwise: false,
};
Properties
Name | Type | Description |
---|---|---|
include | boolean | Whether to include error handling states. |
include | boolean | Whether to include the default/otherwise transition for the current Choice state. |
includeErrorHandlers?
Type:
boolean
(optional, default: false)
Whether to include error handling states.
If this is true, all states which are error handlers (added through 'onError') and states reachable via error handlers will be included as well.
includeOtherwise?
Type:
boolean
(optional, default: false)
Whether to include the default/otherwise transition for the current Choice state.
If this is true and the current Choice does not have a default outgoing transition, one will be added included when .next() is called on the chain.