Skip to content

sns: Support for TracingConfig #29714

@jun1-t

Description

@jun1-t

Describe the feature

Enable setting of TracingConfig in the L2 construct for SNS topics.
https://docs.aws.amazon.com/sns/latest/dg/sns-active-tracing.html###

Use Case

Currently, to set the TracingConfig, it is necessary to configure it via L1.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.CfnTopic.html#tracingconfig

Proposed Solution

Allows passing the "TracingConfig" parameter as an argument.

const topic = new sns.Topic(this, 'MyTopic', {
  tracingConfig: 'Active',
});

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

Environment details (OS name and version, etc.)

irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-snsRelated to Amazon Simple Notification Serviceeffort/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