@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.424Z") @Stability(value=Experimental) public interface IStateMachine extends software.amazon.jsii.JsiiSerializable, 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 |
|---|---|
String |
getStateMachineArn()
(experimental) The ARN of the state machine.
|
Grant |
grant(IGrantable identity,
String... actions)
(experimental) Grant the given identity custom permissions.
|
Grant |
grantExecution(IGrantable identity,
String... actions)
(experimental) Grant the given identity permissions for all executions of a state machine.
|
Grant |
grantRead(IGrantable identity)
(experimental) Grant the given identity read permissions for this state machine.
|
Grant |
grantStartExecution(IGrantable identity)
(experimental) Grant the given identity permissions to start an execution of this state machine.
|
Grant |
grantTaskResponse(IGrantable identity)
(experimental) Grant the given identity read permissions for this state machine.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this State Machine's executions.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this State Machine's executions.
|
Metric |
metricAborted()
(experimental) Metric for the number of executions that were aborted.
|
Metric |
metricAborted(MetricOptions props)
(experimental) Metric for the number of executions that were aborted.
|
Metric |
metricFailed()
(experimental) Metric for the number of executions that failed.
|
Metric |
metricFailed(MetricOptions props)
(experimental) Metric for the number of executions that failed.
|
Metric |
metricStarted()
(experimental) Metric for the number of executions that were started.
|
Metric |
metricStarted(MetricOptions props)
(experimental) Metric for the number of executions that were started.
|
Metric |
metricSucceeded()
(experimental) Metric for the number of executions that succeeded.
|
Metric |
metricSucceeded(MetricOptions props)
(experimental) Metric for the number of executions that succeeded.
|
Metric |
metricThrottled()
(experimental) Metric for the number of executions that were throttled.
|
Metric |
metricThrottled(MetricOptions props)
(experimental) Metric for the number of executions that were throttled.
|
Metric |
metricTime()
(experimental) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
|
Metric |
metricTime(MetricOptions props)
(experimental) Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
|
Metric |
metricTimedOut()
(experimental) Metric for the number of executions that timed out.
|
Metric |
metricTimedOut(MetricOptions props)
(experimental) Metric for the number of executions that timed out.
|
getGrantPrincipal@Stability(value=Experimental) @NotNull String getStateMachineArn()
@Stability(value=Experimental) @NotNull Grant grant(@NotNull IGrantable identity, @NotNull String... actions)
identity - The principal. This parameter is required.actions - The list of desired actions. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantExecution(@NotNull IGrantable identity, @NotNull String... actions)
identity - The principal. This parameter is required.actions - The list of desired actions. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantRead(@NotNull IGrantable identity)
identity - The principal. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantStartExecution(@NotNull IGrantable identity)
identity - The principal. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantTaskResponse(@NotNull IGrantable identity)
identity - The principal. This parameter is required.@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: - sum over 5 minutes
metricName - This parameter is required.props - @Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName)
Default: - sum over 5 minutes
metricName - This parameter is required.@Stability(value=Experimental) @NotNull Metric metricAborted(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricAborted()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricFailed(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricFailed()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricStarted(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricStarted()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricSucceeded(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricSucceeded()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricThrottled(@Nullable MetricOptions props)
Default: sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricThrottled()
Default: sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricTime(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricTime()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricTimedOut(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricTimedOut()
Default: - sum over 5 minutes
Copyright © 2021. All rights reserved.