Class TracingConfig
The tracing mode of an Amazon SNS topic.
Inheritance
System.Object
TracingConfig
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class TracingConfig : Enum
Syntax (vb)
Public NotInheritable Class TracingConfig
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var topic = new Topic(this, "MyTopic", new TopicProps {
TracingConfig = TracingConfig.ACTIVE
});
Synopsis
Fields
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. |
value__ |
Fields
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.
public const TracingConfig ACTIVE
Field Value
Type | Description |
---|---|
TracingConfig |
PASS_THROUGH
The mode that topic passes trace headers received from the Amazon SNS publisher to its subscription.
public const TracingConfig PASS_THROUGH
Field Value
Type | Description |
---|---|
TracingConfig |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |