Interface IEncryptedResource

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IEncryptedResource.Jsii$Default
All Known Implementing Classes:
Bucket, BucketBase, IEncryptedResource.Jsii$Proxy, Queue, QueueBase, StringListParameter, StringParameter, Table, TableBase, Topic, TopicBase

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:22.973Z") @Stability(Stable) public interface IEncryptedResource extends software.amazon.jsii.JsiiSerializable, IResource
A resource that contains data that can be encrypted, using a KMS key.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IEncryptedResource.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    grantOnKey(IGrantable grantee, String... actions)
    Gives permissions to a grantable entity to perform actions on the encryption key.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware

    getEnv

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • grantOnKey

      @Stability(Stable) @NotNull GrantOnKeyResult grantOnKey(@NotNull IGrantable grantee, @NotNull String... actions)
      Gives permissions to a grantable entity to perform actions on the encryption key.

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