Skip to content

Commit

Permalink
Add feedback from nmussy for second time.
Browse files Browse the repository at this point in the history
  • Loading branch information
jun1-t committed Apr 5, 2024
1 parent 143b35e commit b6dd635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-sns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Tracing mode of an Amazon SNS topic.
If PassThrough, the topic passes trace headers received from the Amazon SNS publisher to its subscription.
If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true.

The default TracingConfig is `PassThrough`.
The default TracingConfig is `TracingConfig.PASS_THROUGH`.

Example with a tracingConfig set to Active:

Expand Down
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-sns/lib/topic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface TopicProps {
*
* @see https://docs.aws.amazon.com/sns/latest/dg/sns-active-tracing.html
*
* @default PassThrough
* @default TracingConfig.PASS_THROUGH
*/
readonly tracingConfig?: TracingConfig;
}
Expand Down Expand Up @@ -169,7 +169,7 @@ export enum TracingConfig {
/**
* The mode that topic passes trace headers received from the Amazon SNS publisher to its subscription.
*/
PASSTHROUGH = 'PassThrough',
PASS_THROUGH = 'PassThrough',

/**
* The mode that Amazon SNS vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true.
Expand Down

0 comments on commit b6dd635

Please sign in to comment.