Skip to content

logs: enable distribution setting on subscription filter #30422

@mazyu36

Description

@mazyu36

Describe the feature

By setting distribution property in L1 Construct, You can choose the method used to distribute log data to the destination, which can be either random or grouped by log stream.

However, the L2 Construct does not support this feature.

This property is only applicable when the destination is an Amazon Kinesis data stream.

Use Case

When you want to distribute log data randomly to Kinesis Data Stream.

Proposed Solution

Add distribution property to the SubscriptionFilter class.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.143.0

Environment details (OS name and version, etc.)

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-logsRelated to Amazon CloudWatch Logseffort/smallSmall work item – less than a day 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