interface AliasAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.KMS.AliasAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskms#AliasAttributes |
![]() | software.amazon.awscdk.services.kms.AliasAttributes |
![]() | aws_cdk.aws_kms.AliasAttributes |
![]() | aws-cdk-lib » aws_kms » AliasAttributes |
Properties of a reference to an existing KMS Alias.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kms as kms } from 'aws-cdk-lib';
declare const key: kms.Key;
const aliasAttributes: kms.AliasAttributes = {
aliasName: 'aliasName',
aliasTargetKey: key,
};
Properties
Name | Type | Description |
---|---|---|
alias | string | Specifies the alias name. |
alias | IKey | The customer master key (CMK) to which the Alias refers. |
aliasName
Type:
string
Specifies the alias name.
This value must begin with alias/ followed by a name (i.e. alias/ExampleAlias)
aliasTargetKey
Type:
IKey
The customer master key (CMK) to which the Alias refers.