Data Source: awsKmsAlias
Use this data source to get the ARN of a KMS key alias. By using this data source, you can reference key alias without having to hard code the ARN as input.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsKmsAlias.DataAwsKmsAlias(this, "s3", {
name: "alias/aws/s3",
});
Argument Reference
name
- (Required) Display name of the alias. The name must start with the word "alias" followed by a forward slash (alias/)
Attributes Reference
arn
- Amazon Resource Name(ARN) of the key alias.id
- Amazon Resource Name(ARN) of the key alias.targetKeyId
- Key identifier pointed to by the alias.targetKeyArn
- ARN pointed to by the alias.