Interface IStateMachine.Jsii$Default
- All Superinterfaces:
IConstruct
,software.constructs.IConstruct
,IConstruct.Jsii$Default
,software.constructs.IConstruct.Jsii$Default
,IDependable
,IDependable.Jsii$Default
,IGrantable
,IGrantable.Jsii$Default
,IResource
,IResource.Jsii$Default
,IStateMachine
,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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.IStateMachine
IStateMachine.Jsii$Default, IStateMachine.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.default ResourceEnvironment
getEnv()
The environment this resource belongs to.default IPrincipal
The principal to grant permissions to.default ConstructNode
getNode()
The construct tree node for this construct.default Stack
getStack()
The stack in which this resource is defined.default String
The ARN of the state machine.default Grant
grant
(IGrantable identity, @NotNull String... actions) Grant the given identity custom permissions.default Grant
grantExecution
(IGrantable identity, @NotNull String... actions) Grant the given identity permissions for all executions of a state machine.default Grant
grantRead
(IGrantable identity) Grant the given identity read permissions for this state machine.default Grant
grantStartExecution
(IGrantable identity) Grant the given identity permissions to start an execution of this state machine.default Grant
grantStartSyncExecution
(IGrantable identity) Grant the given identity permissions to start a synchronous execution of this state machine.default Grant
grantTaskResponse
(IGrantable identity) Grant the given identity read permissions for this state machine.default Metric
metric
(String metricName, MetricOptions props) Return the given named metric for this State Machine's executions.default Metric
metricAborted
(MetricOptions props) Metric for the number of executions that were aborted.default Metric
metricFailed
(MetricOptions props) Metric for the number of executions that failed.default Metric
metricStarted
(MetricOptions props) Metric for the number of executions that were started.default Metric
metricSucceeded
(MetricOptions props) Metric for the number of executions that succeeded.default Metric
metricThrottled
(MetricOptions props) Metric for the number of executions that were throttled.default Metric
metricTime
(MetricOptions props) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.default Metric
metricTimedOut
(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, metricTimedOut
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNode
in interfaceIConstruct
- Specified by:
getNode
in interfaceIConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipal
in interfaceIGrantable
- Specified by:
getGrantPrincipal
in interfaceIGrantable.Jsii$Default
-
getStateMachineArn
The ARN of the state machine.- Specified by:
getStateMachineArn
in 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:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable identity, @NotNull @NotNull String... actions) Grant the given identity custom permissions.- Specified by:
grant
in 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 @NotNull String... actions) Grant the given identity permissions for all executions of a state machine.- Specified by:
grantExecution
in 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:
grantRead
in 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:
grantStartExecution
in 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:
grantStartSyncExecution
in interfaceIStateMachine
- Parameters:
identity
- The principal. This parameter is required.
-
grantTaskResponse
Grant the given identity read permissions for this state machine.- Specified by:
grantTaskResponse
in 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:
metric
in 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:
metricAborted
in interfaceIStateMachine
- Parameters:
props
-
-
metricFailed
Metric for the number of executions that failed.Default: - sum over 5 minutes
- Specified by:
metricFailed
in interfaceIStateMachine
- Parameters:
props
-
-
metricStarted
Metric for the number of executions that were started.Default: - sum over 5 minutes
- Specified by:
metricStarted
in interfaceIStateMachine
- Parameters:
props
-
-
metricSucceeded
Metric for the number of executions that succeeded.Default: - sum over 5 minutes
- Specified by:
metricSucceeded
in interfaceIStateMachine
- Parameters:
props
-
-
metricThrottled
Metric for the number of executions that were throttled.Default: sum over 5 minutes
- Specified by:
metricThrottled
in 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:
metricTime
in interfaceIStateMachine
- Parameters:
props
-
-
metricTimedOut
Metric for the number of executions that timed out.Default: - sum over 5 minutes
- Specified by:
metricTimedOut
in interfaceIStateMachine
- Parameters:
props
-
-