AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

Key

A KMS encryption key for data protection

Import

import { Key } from 'aws-cdk-lib/aws-kms';

Or use the module namespace:

import * as kms from 'aws-cdk-lib/aws-kms';
// kms.Key

Underlying CloudFormation Resources

This L2 construct creates and manages the following CloudFormation resources.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter