public static final class IStateMachine.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IStateMachine
software.amazon.jsii.JsiiObject.InitializationModeIStateMachine.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
Stack |
getStack()
The stack in which this resource is defined.
|
String |
getStateMachineArn()
The ARN of the state machine.
|
Grant |
grant(IGrantable identity,
String... actions)
Grant the given identity custom permissions.
|
Grant |
grantExecution(IGrantable identity,
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 |
grantTaskResponse(IGrantable identity)
Grant the given identity read permissions for this state machine.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet@Stability(value=Stable) @NotNull public String getStateMachineArn()
getStateMachineArn in interface IStateMachine@Stability(value=Stable) @NotNull public 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.
@Stability(value=Stable) @NotNull public Stack getStack()
@Stability(value=Stable) @NotNull public ConstructNode getNode()
@Stability(value=Stable) @NotNull public 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 public 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 public Grant grantRead(@NotNull IGrantable identity)
grantRead in interface IStateMachineidentity - The principal. This parameter is required.@Stability(value=Stable) @NotNull public Grant grantStartExecution(@NotNull IGrantable identity)
grantStartExecution in interface IStateMachineidentity - The principal. This parameter is required.@Stability(value=Stable) @NotNull public Grant grantTaskResponse(@NotNull IGrantable identity)
grantTaskResponse in interface IStateMachineidentity - The principal. This parameter is required.Copyright © 2020. All rights reserved.