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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T21:55:36.045Z") @Stability(Experimental) public class ChannelGrants extends software.amazon.jsii.JsiiObject
(experimental) Collection of grant methods for a IChannelRef.

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.mediapackagev2.alpha.*;
 import software.amazon.awscdk.interfaces.mediapackagev2.*;
 IChannelRef channelRef;
 ChannelGrants channelGrants = ChannelGrants.fromChannel(channelRef);
 
  • 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
    ChannelGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ChannelGrants(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.
    (experimental) Creates grants for ChannelGrants.
     
    protected IChannelRef
     
    ingest(IGrantable grantee)
    (experimental) Grant permissions to ingest content into this channel.

    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

    • ChannelGrants

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

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

    • fromChannel

      @Stability(Experimental) @NotNull public static ChannelGrants fromChannel(@NotNull IChannelRef resource)
      (experimental) Creates grants for ChannelGrants.

      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.
    • ingest

      @Stability(Experimental) @NotNull public Grant ingest(@NotNull IGrantable grantee)
      (experimental) Grant permissions to ingest content into this channel.

      Parameters:
      grantee - This parameter is required.
    • getResource

      @Stability(Experimental) @NotNull protected IChannelRef getResource()
    • getPolicyResource

      @Stability(Experimental) @Nullable protected IResourceWithPolicyV2 getPolicyResource()