typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
20 lines (19 loc) • 834 B
JavaScript
;
// CloudFormation Resource AWS::KMS::Key
Object.defineProperty(exports, "__esModule", { value: true });
exports.Key_Type = void 0;
const base_1 = require("../../base");
exports.Key_Type = 'AWS::KMS::Key';
/**
* The AWS::KMS::Key resource specifies a customer master key (CMK) in
* AWS Key Management Service (AWS KMS). Authorized users can use the CMK
* to encrypt and decrypt small amounts of data (up to 4096 bytes), but
* they are more commonly used to generate data keys. You can also use
* CMKs to encrypt data stored in AWS services that are integrated with
* AWS KMS or within their applications. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html}
*/
function Key(props) {
return new base_1.CfnResource(exports.Key_Type, props);
}
exports.default = Key;