skip to Main Content

Is it possible to apply tags to only those resources that are created by the defined constructs in AWS CDK application? – Amazon web services

Let's say I have a stack that creates a lambda function with logRetention enabled, like so export class MainStack extends Stack { constructor(scope: Construct, id:string, props:StackProps) { super(scope, id, props); Tags.of(this).add('createdBy','cdk') const func = new Function(this, 'function', { functionName: 'cdk-function',…

VIEW QUESTION
Back To Top
Search