java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediaconnect.alpha.FlowGrants
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.146Z") @Stability(Experimental) public class FlowGrants extends software.amazon.jsii.JsiiObject
(experimental) Collection of grant methods for a IFlowRef.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.mediaconnect.alpha.*;
 import software.amazon.awscdk.interfaces.mediaconnect.*;
 IFlowRef flowRef;
 FlowGrants flowGrants = FlowGrants.fromFlow(flowRef);
 
  • 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
    FlowGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    FlowGrants(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    actions(IGrantable grantee, List<String> actions)
    (experimental) Grant the given identity custom permissions.
    actions(IGrantable grantee, List<String> actions, PermissionsOptions options)
    (experimental) Grant the given identity custom permissions.
    static FlowGrants
    fromFlow(IFlowRef resource)
    (experimental) Creates grants for FlowGrants.
    protected IFlowRef
     
    start(IGrantable grantee)
    (experimental) Grant permissions to start this flow.
    stop(IGrantable grantee)
    (experimental) Grant permissions to stop this flow.

    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

    • FlowGrants

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

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

    • fromFlow

      @Stability(Experimental) @NotNull public static FlowGrants fromFlow(@NotNull IFlowRef resource)
      (experimental) Creates grants for FlowGrants.

      Parameters:
      resource - This parameter is required.
    • actions

      @Stability(Experimental) @NotNull public Grant actions(@NotNull IGrantable grantee, @NotNull List<String> actions, @Nullable PermissionsOptions options)
      (experimental) Grant the given identity custom permissions.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
      options -
    • actions

      @Stability(Experimental) @NotNull public Grant actions(@NotNull IGrantable grantee, @NotNull List<String> actions)
      (experimental) Grant the given identity custom permissions.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • start

      @Stability(Experimental) @NotNull public Grant start(@NotNull IGrantable grantee)
      (experimental) Grant permissions to start this flow.

      Parameters:
      grantee - This parameter is required.
    • stop

      @Stability(Experimental) @NotNull public Grant stop(@NotNull IGrantable grantee)
      (experimental) Grant permissions to stop this flow.

      Parameters:
      grantee - This parameter is required.
    • getResource

      @Stability(Experimental) @NotNull protected IFlowRef getResource()