Class IStateMachine.Jsii$Proxy
- All Implemented Interfaces:
IConstruct
,IConstruct.Jsii$Default
,IDependable
,IDependable.Jsii$Default
,IResource
,IResource.Jsii$Default
,IGrantable
,IGrantable.Jsii$Default
,IStateMachine
,IStateMachine.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
- Enclosing interface:
- IStateMachine
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final IPrincipal
The principal to grant permissions to.final ConstructNode
getNode()
The construct tree node for this construct.final Stack
getStack()
The stack in which this resource is defined.final String
The ARN of the state machine.final Grant
grant
(IGrantable identity, @NotNull String... actions) Grant the given identity custom permissions.final Grant
grantExecution
(IGrantable identity, @NotNull String... actions) Grant the given identity permissions for all executions of a state machine.final Grant
grantRead
(IGrantable identity) Grant the given identity read permissions for this state machine.final Grant
grantStartExecution
(IGrantable identity) Grant the given identity permissions to start an execution of this state machine.final Grant
grantStartSyncExecution
(IGrantable identity) Grant the given identity permissions to start a synchronous execution of this state machine.final Grant
grantTaskResponse
(IGrantable identity) Grant the given identity read permissions for this state machine.final Metric
Return the given named metric for this State Machine's executions.final Metric
metric
(String metricName, MetricOptions props) Return the given named metric for this State Machine's executions.final Metric
Metric for the number of executions that were aborted.final Metric
metricAborted
(MetricOptions props) Metric for the number of executions that were aborted.final Metric
Metric for the number of executions that failed.final Metric
metricFailed
(MetricOptions props) Metric for the number of executions that failed.final Metric
Metric for the number of executions that were started.final Metric
metricStarted
(MetricOptions props) Metric for the number of executions that were started.final Metric
Metric for the number of executions that succeeded.final Metric
metricSucceeded
(MetricOptions props) Metric for the number of executions that succeeded.final Metric
Metric for the number of executions that were throttled.final Metric
metricThrottled
(MetricOptions props) Metric for the number of executions that were throttled.final Metric
Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.final Metric
metricTime
(MetricOptions props) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.final Metric
Metric for the number of executions that timed out.final Metric
metricTimedOut
(MetricOptions props) Metric for the number of executions that timed out.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
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
- Specified by:
getNode
in interfaceIStateMachine.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
- Specified by:
getEnv
in interfaceIStateMachine.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
- Specified by:
getStack
in interfaceIStateMachine.Jsii$Default
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipal
in interfaceIGrantable
- Specified by:
getGrantPrincipal
in interfaceIGrantable.Jsii$Default
- Specified by:
getGrantPrincipal
in interfaceIStateMachine.Jsii$Default
-
getStateMachineArn
The ARN of the state machine.- Specified by:
getStateMachineArn
in interfaceIStateMachine
- Specified by:
getStateMachineArn
in interfaceIStateMachine.Jsii$Default
-
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
- Specified by:
applyRemovalPolicy
in interfaceIStateMachine.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
grant
@Stability(Stable) @NotNull public final Grant grant(@NotNull IGrantable identity, @NotNull @NotNull String... actions) Grant the given identity custom permissions.- Specified by:
grant
in interfaceIStateMachine
- Specified by:
grant
in interfaceIStateMachine.Jsii$Default
- Parameters:
identity
- The principal. This parameter is required.actions
- The list of desired actions. This parameter is required.
-
grantExecution
@Stability(Stable) @NotNull public final 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
- Specified by:
grantExecution
in interfaceIStateMachine.Jsii$Default
- 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
- Specified by:
grantRead
in interfaceIStateMachine.Jsii$Default
- 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
- Specified by:
grantStartExecution
in interfaceIStateMachine.Jsii$Default
- Parameters:
identity
- The principal. This parameter is required.
-
grantStartSyncExecution
@Stability(Stable) @NotNull public final Grant grantStartSyncExecution(@NotNull IGrantable identity) Grant the given identity permissions to start a synchronous execution of this state machine.- Specified by:
grantStartSyncExecution
in interfaceIStateMachine
- Specified by:
grantStartSyncExecution
in interfaceIStateMachine.Jsii$Default
- Parameters:
identity
- The principal. This parameter is required.
-
grantTaskResponse
Grant the given identity read permissions for this state machine.- Specified by:
grantTaskResponse
in interfaceIStateMachine
- Specified by:
grantTaskResponse
in interfaceIStateMachine.Jsii$Default
- Parameters:
identity
- The principal. This parameter is required.
-
metric
@Stability(Stable) @NotNull public final 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
- Specified by:
metric
in interfaceIStateMachine.Jsii$Default
- Parameters:
metricName
- This parameter is required.props
-
-
metric
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.
-
metricAborted
Metric for the number of executions that were aborted.Default: - sum over 5 minutes
- Specified by:
metricAborted
in interfaceIStateMachine
- Specified by:
metricAborted
in interfaceIStateMachine.Jsii$Default
- Parameters:
props
-
-
metricAborted
Metric for the number of executions that were aborted.Default: - sum over 5 minutes
- Specified by:
metricAborted
in interfaceIStateMachine
-
metricFailed
Metric for the number of executions that failed.Default: - sum over 5 minutes
- Specified by:
metricFailed
in interfaceIStateMachine
- Specified by:
metricFailed
in interfaceIStateMachine.Jsii$Default
- Parameters:
props
-
-
metricFailed
Metric for the number of executions that failed.Default: - sum over 5 minutes
- Specified by:
metricFailed
in interfaceIStateMachine
-
metricStarted
Metric for the number of executions that were started.Default: - sum over 5 minutes
- Specified by:
metricStarted
in interfaceIStateMachine
- Specified by:
metricStarted
in interfaceIStateMachine.Jsii$Default
- Parameters:
props
-
-
metricStarted
Metric for the number of executions that were started.Default: - sum over 5 minutes
- Specified by:
metricStarted
in interfaceIStateMachine
-
metricSucceeded
Metric for the number of executions that succeeded.Default: - sum over 5 minutes
- Specified by:
metricSucceeded
in interfaceIStateMachine
- Specified by:
metricSucceeded
in interfaceIStateMachine.Jsii$Default
- Parameters:
props
-
-
metricSucceeded
Metric for the number of executions that succeeded.Default: - sum over 5 minutes
- Specified by:
metricSucceeded
in interfaceIStateMachine
-
metricThrottled
Metric for the number of executions that were throttled.Default: sum over 5 minutes
- Specified by:
metricThrottled
in interfaceIStateMachine
- Specified by:
metricThrottled
in interfaceIStateMachine.Jsii$Default
- Parameters:
props
-
-
metricThrottled
Metric for the number of executions that were throttled.Default: sum over 5 minutes
- Specified by:
metricThrottled
in interfaceIStateMachine
-
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
- Specified by:
metricTime
in interfaceIStateMachine.Jsii$Default
- 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
-
metricTimedOut
Metric for the number of executions that timed out.Default: - sum over 5 minutes
- Specified by:
metricTimedOut
in interfaceIStateMachine
- Specified by:
metricTimedOut
in interfaceIStateMachine.Jsii$Default
- Parameters:
props
-
-
metricTimedOut
Metric for the number of executions that timed out.Default: - sum over 5 minutes
- Specified by:
metricTimedOut
in interfaceIStateMachine
-