Interface IAlias
- All Superinterfaces:
IAliasRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IKey,IKeyRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IAlias.Jsii$Default
- All Known Implementing Classes:
Alias,IAlias.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:16.092Z")
@Stability(Stable)
public interface IAlias
extends software.amazon.jsii.JsiiSerializable, IKey, IAliasRef
A KMS Key alias.
An alias can be used in all places that expect a key.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIAlias.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Methods inherited from interface software.amazon.awscdk.interfaces.kms.IAliasRef
getAliasRefMethods inherited from interface software.amazon.awscdk.services.kms.IKey
addAlias, addToResourcePolicy, addToResourcePolicy, getKeyArn, getKeyId, grant, grantDecrypt, grantEncrypt, grantEncryptDecrypt, grantGenerateMac, grantSign, grantSignVerify, grantVerify, grantVerifyMacMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAliasName
The name of the alias. -
getAliasTargetKey
The Key to which the Alias refers. -
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node. -
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIKey
-