Skip to content
v2.274.0

TracingConfig Enum ​

The tracing mode of an Amazon SNS topic.

Example ​

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

Members ​

MemberDescription
PASS_THROUGHThe mode that topic passes trace headers received from the Amazon SNS publisher to its subscription.
ACTIVEThe mode that Amazon SNS vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true.

Referenced by ​

  • TopicProps.tracingConfigtracing_configtracingConfigTracingConfigTracingConfig