Skip to content

Commit

Permalink
feat(apigateway): add tracingEnabled property to APIGW Stage (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
workeitel authored and rix0rrr committed Jan 6, 2019
1 parent 9f45783 commit fefa764
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/@aws-cdk/aws-apigateway/lib/stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ export interface StageOptions extends MethodDeploymentOptions {
*/
stageName?: string;

/**
* Specifies whether Amazon X-Ray tracing is enabled for this method.
* @default false
*/
tracingEnabled?: boolean;

/**
* Indicates whether cache clustering is enabled for the stage.
*/
Expand Down Expand Up @@ -157,6 +163,7 @@ export class Stage extends cdk.Construct implements cdk.IDependable {
description: props.description,
documentationVersion: props.documentationVersion,
variables: props.variables,
tracingEnabled: props.tracingEnabled,
methodSettings,
});

Expand Down

0 comments on commit fefa764

Please sign in to comment.