Interface IStateMachine.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGrantable,IGrantable.Jsii$Default,IResource,IResource.Jsii$Default,IStateMachine,IStateMachineRef,IStateMachineRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IStateMachine.Jsii$Proxy
- Enclosing interface:
IStateMachine
IStateMachine.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.IStateMachine
IStateMachine.Jsii$Default, IStateMachine.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.stepfunctions.IStateMachineRef
IStateMachineRef.Jsii$Default, IStateMachineRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default IPrincipalThe principal to grant permissions to.default software.constructs.NodegetNode()The tree node.default StackgetStack()The stack in which this resource is defined.default StringThe ARN of the state machine.default StateMachineReference(experimental) A reference to a StateMachine resource.default Grantgrant(IGrantable identity, String... actions) Grant the given identity custom permissions.default GrantgrantExecution(IGrantable identity, String... actions) Grant the given identity permissions for all executions of a state machine.default GrantgrantRead(IGrantable identity) Grant the given identity read permissions for this state machine.default GrantgrantRedriveExecution(IGrantable identity) Grant the given identity permission to redrive the execution of the state machine.default GrantgrantStartExecution(IGrantable identity) Grant the given identity permissions to start an execution of this state machine.default GrantgrantStartSyncExecution(IGrantable identity) Grant the given identity permissions to start a synchronous execution of this state machine.default GrantgrantTaskResponse(IGrantable identity) Grant the given identity read permissions for this state machine.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this State Machine's executions.default MetricmetricAborted(MetricOptions props) Metric for the number of executions that were aborted.default MetricmetricFailed(MetricOptions props) Metric for the number of executions that failed.default MetricmetricStarted(MetricOptions props) Metric for the number of executions that were started.default MetricmetricSucceeded(MetricOptions props) Metric for the number of executions that succeeded.default MetricmetricThrottled(MetricOptions props) Metric for the number of executions that were throttled.default MetricmetricTime(MetricOptions props) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.default MetricmetricTimedOut(MetricOptions props) Metric for the number of executions that timed out.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.IStateMachine
metric, metricAborted, metricFailed, metricStarted, metricSucceeded, metricThrottled, metricTime, metricTimedOutMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default- Specified by:
getNodein interfaceIStateMachine- Specified by:
getNodein interfaceIStateMachineRef.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default- Specified by:
getEnvin interfaceIStateMachine- Specified by:
getEnvin interfaceIStateMachineRef.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipalin interfaceIGrantable- Specified by:
getGrantPrincipalin interfaceIGrantable.Jsii$Default
-
getStateMachineRef
(experimental) A reference to a StateMachine resource.- Specified by:
getStateMachineRefin interfaceIStateMachineRef- Specified by:
getStateMachineRefin interfaceIStateMachineRef.Jsii$Default
-
getStateMachineArn
The ARN of the state machine.- Specified by:
getStateMachineArnin interfaceIStateMachine
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable identity, @NotNull String... actions) Grant the given identity custom permissions.- Specified by:
grantin interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.actions- The list of desired actions. This parameter is required.
-
grantExecution
@Stability(Stable) @NotNull default Grant grantExecution(@NotNull IGrantable identity, @NotNull String... actions) Grant the given identity permissions for all executions of a state machine.- Specified by:
grantExecutionin interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.actions- The list of desired actions. This parameter is required.
-
grantRead
Grant the given identity read permissions for this state machine.- Specified by:
grantReadin interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.
-
grantRedriveExecution
Grant the given identity permission to redrive the execution of the state machine.- Specified by:
grantRedriveExecutionin interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.
-
grantStartExecution
Grant the given identity permissions to start an execution of this state machine.- Specified by:
grantStartExecutionin interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.
-
grantStartSyncExecution
Grant the given identity permissions to start a synchronous execution of this state machine.- Specified by:
grantStartSyncExecutionin interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.
-
grantTaskResponse
Grant the given identity read permissions for this state machine.- Specified by:
grantTaskResponsein interfaceIStateMachine- Parameters:
identity- The principal. This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this State Machine's executions.Default: - sum over 5 minutes
- Specified by:
metricin interfaceIStateMachine- Parameters:
metricName- This parameter is required.props-
-
metricAborted
Metric for the number of executions that were aborted.Default: - sum over 5 minutes
- Specified by:
metricAbortedin interfaceIStateMachine- Parameters:
props-
-
metricFailed
Metric for the number of executions that failed.Default: - sum over 5 minutes
- Specified by:
metricFailedin interfaceIStateMachine- Parameters:
props-
-
metricStarted
Metric for the number of executions that were started.Default: - sum over 5 minutes
- Specified by:
metricStartedin interfaceIStateMachine- Parameters:
props-
-
metricSucceeded
Metric for the number of executions that succeeded.Default: - sum over 5 minutes
- Specified by:
metricSucceededin interfaceIStateMachine- Parameters:
props-
-
metricThrottled
Metric for the number of executions that were throttled.Default: sum over 5 minutes
- Specified by:
metricThrottledin interfaceIStateMachine- Parameters:
props-
-
metricTime
Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.Default: - sum over 5 minutes
- Specified by:
metricTimein interfaceIStateMachine- Parameters:
props-
-
metricTimedOut
Metric for the number of executions that timed out.Default: - sum over 5 minutes
- Specified by:
metricTimedOutin interfaceIStateMachine- Parameters:
props-
-