@Internal public static interface IStateMachine.Jsii$Default extends IStateMachine, IResource.Jsii$Default, IGrantable.Jsii$Default
IStateMachine.IStateMachine.Jsii$Default, IStateMachine.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default IPrincipal |
getGrantPrincipal()
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 |
getStateMachineArn()
The ARN of the state machine.
|
default Grant |
grant(IGrantable identity,
String... actions)
Grant the given identity custom permissions.
|
default Grant |
grantExecution(IGrantable identity,
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.
|
metric, metricAborted, metricFailed, metricStarted, metricSucceeded, metricThrottled, metricTime, metricTimedOut@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantablegetGrantPrincipal in interface IGrantable.Jsii$Default@Stability(value=Stable) @NotNull default String getStateMachineArn()
getStateMachineArn in interface IStateMachine@Stability(value=Stable)
default void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
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).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable) @NotNull default Grant grant(@NotNull IGrantable identity, @NotNull String... actions)
grant in interface IStateMachineidentity - The principal. This parameter is required.actions - The list of desired actions. This parameter is required.@Stability(value=Stable) @NotNull default Grant grantExecution(@NotNull IGrantable identity, @NotNull String... actions)
grantExecution in interface IStateMachineidentity - The principal. This parameter is required.actions - The list of desired actions. This parameter is required.@Stability(value=Stable) @NotNull default Grant grantRead(@NotNull IGrantable identity)
grantRead in interface IStateMachineidentity - The principal. This parameter is required.@Stability(value=Stable) @NotNull default Grant grantStartExecution(@NotNull IGrantable identity)
grantStartExecution in interface IStateMachineidentity - The principal. This parameter is required.@Stability(value=Stable) @NotNull default Grant grantStartSyncExecution(@NotNull IGrantable identity)
grantStartSyncExecution in interface IStateMachineidentity - The principal. This parameter is required.@Stability(value=Stable) @NotNull default Grant grantTaskResponse(@NotNull IGrantable identity)
grantTaskResponse in interface IStateMachineidentity - The principal. This parameter is required.@Stability(value=Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: - sum over 5 minutes
metric in interface IStateMachinemetricName - This parameter is required.props - @Stability(value=Stable) @NotNull default Metric metricAborted(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricAborted in interface IStateMachineprops - @Stability(value=Stable) @NotNull default Metric metricFailed(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricFailed in interface IStateMachineprops - @Stability(value=Stable) @NotNull default Metric metricStarted(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricStarted in interface IStateMachineprops - @Stability(value=Stable) @NotNull default Metric metricSucceeded(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricSucceeded in interface IStateMachineprops - @Stability(value=Stable) @NotNull default Metric metricThrottled(@Nullable MetricOptions props)
Default: sum over 5 minutes
metricThrottled in interface IStateMachineprops - @Stability(value=Stable) @NotNull default Metric metricTime(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricTime in interface IStateMachineprops - @Stability(value=Stable) @NotNull default Metric metricTimedOut(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricTimedOut in interface IStateMachineprops - Copyright © 2022. All rights reserved.