enum TracingConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SNS.TracingConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssns#TracingConfig |
![]() | software.amazon.awscdk.services.sns.TracingConfig |
![]() | aws_cdk.aws_sns.TracingConfig |
![]() | aws-cdk-lib » aws_sns » TracingConfig |
The tracing mode of an Amazon SNS topic.
Example
const topic = new sns.Topic(this, 'MyTopic', {
tracingConfig: sns.TracingConfig.ACTIVE,
});
Members
Name | Description |
---|---|
PASS_THROUGH | The mode that topic passes trace headers received from the Amazon SNS publisher to its subscription. |
ACTIVE | The mode that Amazon SNS vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. |
PASS_THROUGH
The mode that topic passes trace headers received from the Amazon SNS publisher to its subscription.
ACTIVE
The mode that Amazon SNS vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true.