Class DeliveryStreamGrants

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.DeliveryStreamGrants
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-19T12:55:07.129Z") @Stability(Stable) public class DeliveryStreamGrants extends software.amazon.jsii.JsiiObject
Collection of grant methods for a IDeliveryStreamRef.

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.kinesisfirehose.*;
 import software.amazon.awscdk.interfaces.kinesisfirehose.*;
 IDeliveryStreamRef deliveryStreamRef;
 DeliveryStreamGrants deliveryStreamGrants = DeliveryStreamGrants.fromDeliveryStream(deliveryStreamRef);
 
  • Constructor Details

    • DeliveryStreamGrants

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

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

    • fromDeliveryStream

      @Stability(Stable) @NotNull public static DeliveryStreamGrants fromDeliveryStream(@NotNull IDeliveryStreamRef resource)
      Creates grants for DeliveryStreamGrants.

      Parameters:
      resource - This parameter is required.
    • actions

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

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

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

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

      @Stability(Stable) @NotNull public Grant putRecords(@NotNull IGrantable grantee)
      Grant the grantee identity permissions to perform actions.

      Parameters:
      grantee - This parameter is required.
    • getResource

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