@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 ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default IPrincipal |
getGrantPrincipal()
(experimental) The principal to grant permissions to.
|
default software.constructs.Node |
getNode()
The tree node.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default String |
getStateMachineArn()
(experimental) The ARN of the state machine.
|
default Grant |
grant(IGrantable identity,
String... actions)
(experimental) Grant the given identity custom permissions.
|
default Grant |
grantExecution(IGrantable identity,
String... actions)
(experimental) Grant the given identity permissions for all executions of a state machine.
|
default Grant |
grantRead(IGrantable identity)
(experimental) Grant the given identity read permissions for this state machine.
|
default Grant |
grantStartExecution(IGrantable identity)
(experimental) Grant the given identity permissions to start an execution of this state machine.
|
default Grant |
grantTaskResponse(IGrantable identity)
(experimental) Grant the given identity read permissions for this state machine.
|
default Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this State Machine's executions.
|
default Metric |
metricAborted(MetricOptions props)
(experimental) Metric for the number of executions that were aborted.
|
default Metric |
metricFailed(MetricOptions props)
(experimental) Metric for the number of executions that failed.
|
default Metric |
metricStarted(MetricOptions props)
(experimental) Metric for the number of executions that were started.
|
default Metric |
metricSucceeded(MetricOptions props)
(experimental) Metric for the number of executions that succeeded.
|
default Metric |
metricThrottled(MetricOptions props)
(experimental) Metric for the number of executions that were throttled.
|
default Metric |
metricTime(MetricOptions props)
(experimental) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
|
default Metric |
metricTimedOut(MetricOptions props)
(experimental) Metric for the number of executions that timed out.
|
metric, metricAborted, metricFailed, metricStarted, metricSucceeded, metricThrottled, metricTime, metricTimedOut
@Stability(value=Stable) @NotNull default software.constructs.Node getNode()
getNode
in interface software.constructs.IConstruct
getNode
in interface software.constructs.IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
@Stability(value=Experimental) @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 IResource
getEnv
in interface IResource.Jsii$Default
@Stability(value=Experimental) @NotNull default Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
@Stability(value=Experimental) @NotNull default IPrincipal getGrantPrincipal()
getGrantPrincipal
in interface IGrantable
getGrantPrincipal
in interface IGrantable.Jsii$Default
@Stability(value=Experimental) @NotNull default String getStateMachineArn()
getStateMachineArn
in interface IStateMachine
@Stability(value=Experimental) @NotNull default Grant grant(@NotNull IGrantable identity, @NotNull String... actions)
grant
in interface IStateMachine
identity
- The principal. This parameter is required.actions
- The list of desired actions. This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantExecution(@NotNull IGrantable identity, @NotNull String... actions)
grantExecution
in interface IStateMachine
identity
- The principal. This parameter is required.actions
- The list of desired actions. This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantRead(@NotNull IGrantable identity)
grantRead
in interface IStateMachine
identity
- The principal. This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantStartExecution(@NotNull IGrantable identity)
grantStartExecution
in interface IStateMachine
identity
- The principal. This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantTaskResponse(@NotNull IGrantable identity)
grantTaskResponse
in interface IStateMachine
identity
- The principal. This parameter is required.@Stability(value=Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: - sum over 5 minutes
metric
in interface IStateMachine
metricName
- This parameter is required.props
- @Stability(value=Experimental) @NotNull default Metric metricAborted(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricAborted
in interface IStateMachine
props
- @Stability(value=Experimental) @NotNull default Metric metricFailed(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricFailed
in interface IStateMachine
props
- @Stability(value=Experimental) @NotNull default Metric metricStarted(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricStarted
in interface IStateMachine
props
- @Stability(value=Experimental) @NotNull default Metric metricSucceeded(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricSucceeded
in interface IStateMachine
props
- @Stability(value=Experimental) @NotNull default Metric metricThrottled(@Nullable MetricOptions props)
Default: sum over 5 minutes
metricThrottled
in interface IStateMachine
props
- @Stability(value=Experimental) @NotNull default Metric metricTime(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricTime
in interface IStateMachine
props
- @Stability(value=Experimental) @NotNull default Metric metricTimedOut(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricTimedOut
in interface IStateMachine
props
- Copyright © 2021. All rights reserved.