Skip to content

(aws-logs): Transformer support #34861

@Abhijoy-Mandal

Description

@Abhijoy-Mandal

Describe the feature

Support for Cloudwatch Logs Transformers in CDK.

Use Case

CloudwatchLogs Transformers have CFN constructs but do not yet have CDK abstractions of these constructs. This will help achieve parity in functionality.

Proposed Solution

It requires definition of various processor properties and high level validations for transformer configs.
Since creating, deleting and viewing transformers have dedicated apis, none of the existing constructs need any changes. Transformers are tied to log groups, hence a method to add transformers from existing log groups is added in addition to transformer properties taking in a LogGroup (when creating transformers without this method).

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)

AWS CDK CLI version

2.1019.2 (build c29855e)

Environment details (OS name and version, etc.)

macOS 15.5 (24F74)

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-logsRelated to Amazon CloudWatch Logseffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.needs-l2p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions