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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIEncryptedResource.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiongrantOnKey(IGrantable grantee, String... actions) Gives permissions to a grantable entity to perform actions on the encryption key.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods 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.
-