@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:53.829Z") public interface IStateMachine extends IResource, IGrantable
Modifier and Type | Interface and Description |
---|---|
static interface |
IStateMachine.Jsii$Default
Internal default implementation for
IStateMachine . |
static class |
IStateMachine.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStateMachineArn()
The ARN of the state machine.
|
Grant |
grant(IGrantable identity,
java.lang.String... actions)
Grant the given identity custom permissions.
|
Grant |
grantExecution(IGrantable identity,
java.lang.String... actions)
Grant the given identity permissions for all executions of a state machine.
|
Grant |
grantRead(IGrantable identity)
Grant the given identity read permissions for this state machine.
|
Grant |
grantStartExecution(IGrantable identity)
Grant the given identity permissions to start an execution of this state machine.
|
Grant |
grantStartSyncExecution(IGrantable identity)
Grant the given identity permissions to start a synchronous execution of this state machine.
|
Grant |
grantTaskResponse(IGrantable identity)
Grant the given identity read permissions for this state machine.
|
Metric |
metric(java.lang.String metricName)
Return the given named metric for this State Machine's executions.
|
Metric |
metric(java.lang.String metricName,
MetricOptions props)
Return the given named metric for this State Machine's executions.
|
Metric |
metricAborted()
Metric for the number of executions that were aborted.
|
Metric |
metricAborted(MetricOptions props)
Metric for the number of executions that were aborted.
|
Metric |
metricFailed()
Metric for the number of executions that failed.
|
Metric |
metricFailed(MetricOptions props)
Metric for the number of executions that failed.
|
Metric |
metricStarted()
Metric for the number of executions that were started.
|
Metric |
metricStarted(MetricOptions props)
Metric for the number of executions that were started.
|
Metric |
metricSucceeded()
Metric for the number of executions that succeeded.
|
Metric |
metricSucceeded(MetricOptions props)
Metric for the number of executions that succeeded.
|
Metric |
metricThrottled()
Metric for the number of executions that were throttled.
|
Metric |
metricThrottled(MetricOptions props)
Metric for the number of executions that were throttled.
|
Metric |
metricTime()
Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
|
Metric |
metricTime(MetricOptions props)
Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
|
Metric |
metricTimedOut()
Metric for the number of executions that timed out.
|
Metric |
metricTimedOut(MetricOptions props)
Metric for the number of executions that timed out.
|
applyRemovalPolicy, getEnv, getStack
getNode
getGrantPrincipal
java.lang.String getStateMachineArn()
Grant grant(IGrantable identity, java.lang.String... actions)
identity
- The principal. This parameter is required.actions
- The list of desired actions. This parameter is required.Grant grantExecution(IGrantable identity, java.lang.String... actions)
identity
- The principal. This parameter is required.actions
- The list of desired actions. This parameter is required.Grant grantRead(IGrantable identity)
identity
- The principal. This parameter is required.Grant grantStartExecution(IGrantable identity)
identity
- The principal. This parameter is required.Grant grantStartSyncExecution(IGrantable identity)
identity
- The principal. This parameter is required.Grant grantTaskResponse(IGrantable identity)
identity
- The principal. This parameter is required.Metric metric(java.lang.String metricName, MetricOptions props)
Default: - sum over 5 minutes
metricName
- This parameter is required.props
- Metric metric(java.lang.String metricName)
Default: - sum over 5 minutes
metricName
- This parameter is required.Metric metricAborted(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricAborted()
Default: - sum over 5 minutes
Metric metricFailed(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricFailed()
Default: - sum over 5 minutes
Metric metricStarted(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricStarted()
Default: - sum over 5 minutes
Metric metricSucceeded(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricSucceeded()
Default: - sum over 5 minutes
Metric metricThrottled(MetricOptions props)
Default: sum over 5 minutes
props
- Metric metricThrottled()
Default: sum over 5 minutes
Metric metricTime(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricTime()
Default: - sum over 5 minutes
Metric metricTimedOut(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricTimedOut()
Default: - sum over 5 minutes