@renovosolutions/cdk-aspects-library-tags
Version:
A library of CDK aspects for tagging AWS resources
16 lines (15 loc) • 523 B
TypeScript
import { IAspect } from 'aws-cdk-lib';
import { IConstruct } from 'constructs';
/**
* An aspect that applies CloudFormation tags to all KMS keys in the given scope.
*
* This is useful because KMS keys are not automatically tagged by CloudFormation,
* which makes them hard to track and manage.
*/
export declare class ApplyKmsTags implements IAspect {
constructor();
/**
* Visits each construct in the scope and applies the tags if the construct is a KMS key.
*/
visit(node: IConstruct): void;
}