Skip to content

(aws-synthetics): (Support ResourcesToReplicateTags) #34811

Open
@lvthillo

Description

@lvthillo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-syntheticsRelated to Amazon CloudWatch Syntheticseffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions