Skip to content

custom_resources: Add configuration hook to propagate aspect tags for all subscribed custom resources. (taggable / CFN-managed) #37416

@Nandez89

Description

@Nandez89

Describe the feature

Add the ability to configure aspect tags via a new hook here. Letting consummers properly apply tags to all AWS/CF managed resources

Use Case

When a CDK custom resource creates other resources internally for their management we want to be able to have the tags we specified for the Aspect of our stacks.

For example: A new Bucket with autoDeleteObjects: true will create a custom lambda to delete the objects. currently the lambda inherits the tags, but the lambdas log group does not.

Ideally this configuration would apply to all resources created this way, so that the use of Aspect tags is more thorough/

Proposed Solution

No response

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.241.0

AWS CDK CLI version

2.1029.2

Environment details (OS name and version, etc.)

MacOS, but is this for CF applying tags via the Aspects

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/custom-resourcesRelated to AWS CDK Custom Resourcesfeature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions