Class StateMachineGrants

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.StateMachineGrants
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:30.995Z") @Stability(Stable) public class StateMachineGrants extends software.amazon.jsii.JsiiObject
Collection of grant methods for a IStateMachineRef.
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    StateMachineGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    StateMachineGrants(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    actions(IGrantable identity, String... actions)
    Grant the given identity custom permissions.
    execution(IGrantable grantee, String... actions)
    Grant the given identity permissions to start an execution of this state machine.
     
    read(IGrantable grantee)
    Grant the given identity permissions to read results from state machine.
    Grant the given identity permission to redrive the execution of the state machine.
    Grant the given identity permissions to start an execution of this state machine.
    Grant the given identity permissions to start a synchronous execution of this state machine.
    Grant the given identity task response permissions on a state machine.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • StateMachineGrants

      protected StateMachineGrants(software.amazon.jsii.JsiiObjectRef objRef)
    • StateMachineGrants

      protected StateMachineGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • actions

      @Stability(Stable) @NotNull public Grant actions(@NotNull IGrantable identity, @NotNull String... actions)
      Grant the given identity custom permissions.

      Parameters:
      identity - This parameter is required.
      actions - This parameter is required.
    • execution

      @Stability(Stable) @NotNull public Grant execution(@NotNull IGrantable grantee, @NotNull String... actions)
      Grant the given identity permissions to start an execution of this state machine.

      Parameters:
      grantee - The principal. This parameter is required.
      actions - This parameter is required.
    • read

      @Stability(Stable) @NotNull public Grant read(@NotNull IGrantable grantee)
      Grant the given identity permissions to read results from state machine.

      Parameters:
      grantee - This parameter is required.
    • redriveExecution

      @Stability(Stable) @NotNull public Grant redriveExecution(@NotNull IGrantable grantee)
      Grant the given identity permission to redrive the execution of the state machine.

      Parameters:
      grantee - This parameter is required.
    • startExecution

      @Stability(Stable) @NotNull public Grant startExecution(@NotNull IGrantable grantee)
      Grant the given identity permissions to start an execution of this state machine.

      Parameters:
      grantee - The principal. This parameter is required.
    • startSyncExecution

      @Stability(Stable) @NotNull public Grant startSyncExecution(@NotNull IGrantable grantee)
      Grant the given identity permissions to start a synchronous execution of this state machine.

      Parameters:
      grantee - The principal. This parameter is required.
    • taskResponse

      @Stability(Stable) @NotNull public Grant taskResponse(@NotNull IGrantable grantee)
      Grant the given identity task response permissions on a state machine.

      Parameters:
      grantee - This parameter is required.
    • getResource

      @Stability(Stable) @NotNull protected IStateMachineRef getResource()