Open
Description
Describe the feature
In AWS CloudFormation, the AWS::Synthetics::Canary
supports the ResourcesToReplicateTags property:
To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value lambda-function. If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
When you create a synthetic in CDK, the tags are not propagated to the underlying resources (e.g. the Lambda function).
Use Case
To avoid manual tagging and ensure compliance with tagging policies.
Proposed Solution
Support ResourcesToReplicateTags
property in CDK
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
2.202.0
AWS CDK CLI version
cdk@2.1019.2
Environment details (OS name and version, etc.)
macOs Sequoia 15.5