Class IStateMachine.Jsii$Proxy
- All Implemented Interfaces:
IEnvironmentAware,IEnvironmentAware.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,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IStateMachine
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.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$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final IPrincipalThe principal to grant permissions to.final software.constructs.NodegetNode()The tree node.final StackgetStack()The stack in which this resource is defined.final StringThe ARN of the state machine.final Grantgrant(IGrantable identity, String... actions) Grant the given identity custom permissions.final GrantgrantExecution(IGrantable identity, String... actions) Grant the given identity permissions for all executions of a state machine.final GrantgrantRead(IGrantable identity) Grant the given identity read permissions for this state machine.final GrantgrantRedriveExecution(IGrantable identity) Grant the given identity permission to redrive the execution of the state machine.final GrantgrantStartExecution(IGrantable identity) Grant the given identity permissions to start an execution of this state machine.final GrantgrantStartSyncExecution(IGrantable identity) Grant the given identity permissions to start a synchronous execution of this state machine.final GrantgrantTaskResponse(IGrantable identity) Grant the given identity read permissions for this state machine.final MetricReturn the given named metric for this State Machine's executions.final Metricmetric(String metricName, MetricOptions props) Return the given named metric for this State Machine's executions.final MetricMetric for the number of executions that were aborted.final MetricmetricAborted(MetricOptions props) Metric for the number of executions that were aborted.final MetricMetric for the number of executions that failed.final MetricmetricFailed(MetricOptions props) Metric for the number of executions that failed.final MetricMetric for the number of executions that were started.final MetricmetricStarted(MetricOptions props) Metric for the number of executions that were started.final MetricMetric for the number of executions that succeeded.final MetricmetricSucceeded(MetricOptions props) Metric for the number of executions that succeeded.final MetricMetric for the number of executions that were throttled.final MetricmetricThrottled(MetricOptions props) Metric for the number of executions that were throttled.final MetricMetric for the interval, in milliseconds, between the time the execution starts and the time it closes.final MetricmetricTime(MetricOptions props) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.final MetricMetric for the number of executions that timed out.final MetricmetricTimedOut(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final 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.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.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default- Specified by:
getStackin interfaceIStateMachine.Jsii$Default
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipalin interfaceIGrantable- Specified by:
getGrantPrincipalin interfaceIGrantable.Jsii$Default- Specified by:
getGrantPrincipalin interfaceIStateMachine.Jsii$Default
-
getStateMachineArn
The ARN of the state machine.- Specified by:
getStateMachineArnin interfaceIStateMachine- Specified by:
getStateMachineArnin 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:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIStateMachine.Jsii$Default- Parameters:
policy- This parameter is required.
-
grant
@Stability(Stable) @NotNull public final Grant grant(@NotNull IGrantable identity, @NotNull String... actions) Grant the given identity custom permissions.- Specified by:
grantin interfaceIStateMachine- Specified by:
grantin 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 String... actions) Grant the given identity permissions for all executions of a state machine.- Specified by:
grantExecutionin interfaceIStateMachine- Specified by:
grantExecutionin 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:
grantReadin interfaceIStateMachine- Specified by:
grantReadin interfaceIStateMachine.Jsii$Default- 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- Specified by:
grantRedriveExecutionin 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:
grantStartExecutionin interfaceIStateMachine- Specified by:
grantStartExecutionin 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:
grantStartSyncExecutionin interfaceIStateMachine- Specified by:
grantStartSyncExecutionin interfaceIStateMachine.Jsii$Default- Parameters:
identity- The principal. This parameter is required.
-
grantTaskResponse
Grant the given identity read permissions for this state machine.- Specified by:
grantTaskResponsein interfaceIStateMachine- Specified by:
grantTaskResponsein 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:
metricin interfaceIStateMachine- Specified by:
metricin 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:
metricin interfaceIStateMachine- Parameters:
metricName- This parameter is required.
-
metricAborted
Metric for the number of executions that were aborted.Default: - sum over 5 minutes
- Specified by:
metricAbortedin interfaceIStateMachine- Specified by:
metricAbortedin interfaceIStateMachine.Jsii$Default- Parameters:
props-
-
metricAborted
Metric for the number of executions that were aborted.Default: - sum over 5 minutes
- Specified by:
metricAbortedin interfaceIStateMachine
-
metricFailed
Metric for the number of executions that failed.Default: - sum over 5 minutes
- Specified by:
metricFailedin interfaceIStateMachine- Specified by:
metricFailedin interfaceIStateMachine.Jsii$Default- Parameters:
props-
-
metricFailed
Metric for the number of executions that failed.Default: - sum over 5 minutes
- Specified by:
metricFailedin interfaceIStateMachine
-
metricStarted
Metric for the number of executions that were started.Default: - sum over 5 minutes
- Specified by:
metricStartedin interfaceIStateMachine- Specified by:
metricStartedin interfaceIStateMachine.Jsii$Default- Parameters:
props-
-
metricStarted
Metric for the number of executions that were started.Default: - sum over 5 minutes
- Specified by:
metricStartedin interfaceIStateMachine
-
metricSucceeded
Metric for the number of executions that succeeded.Default: - sum over 5 minutes
- Specified by:
metricSucceededin interfaceIStateMachine- Specified by:
metricSucceededin interfaceIStateMachine.Jsii$Default- Parameters:
props-
-
metricSucceeded
Metric for the number of executions that succeeded.Default: - sum over 5 minutes
- Specified by:
metricSucceededin interfaceIStateMachine
-
metricThrottled
Metric for the number of executions that were throttled.Default: sum over 5 minutes
- Specified by:
metricThrottledin interfaceIStateMachine- Specified by:
metricThrottledin interfaceIStateMachine.Jsii$Default- Parameters:
props-
-
metricThrottled
Metric for the number of executions that were throttled.Default: sum over 5 minutes
- Specified by:
metricThrottledin 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:
metricTimein interfaceIStateMachine- Specified by:
metricTimein 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:
metricTimein interfaceIStateMachine
-
metricTimedOut
Metric for the number of executions that timed out.Default: - sum over 5 minutes
- Specified by:
metricTimedOutin interfaceIStateMachine- Specified by:
metricTimedOutin interfaceIStateMachine.Jsii$Default- Parameters:
props-
-
metricTimedOut
Metric for the number of executions that timed out.Default: - sum over 5 minutes
- Specified by:
metricTimedOutin interfaceIStateMachine
-