Enum TracingConfig

java.lang.Object
java.lang.Enum<TracingConfig>
software.amazon.awscdk.services.sns.TracingConfig
All Implemented Interfaces:
Serializable, Comparable<TracingConfig>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-29T17:51:09.506Z") @Stability(Stable) public enum TracingConfig extends Enum<TracingConfig>
The tracing mode of an Amazon SNS topic.

Example:

 Topic topic = Topic.Builder.create(this, "MyTopic")
         .tracingConfig(TracingConfig.ACTIVE)
         .build();
 
  • Enum Constant Details

    • PASS_THROUGH

      @Stability(Stable) public static final TracingConfig PASS_THROUGH
      The mode that topic passes trace headers received from the Amazon SNS publisher to its subscription.
    • ACTIVE

      @Stability(Stable) public static final TracingConfig 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.
  • Method Details

    • values

      public static TracingConfig[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TracingConfig valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null