Skip to content

Commit

Permalink
Switch the rendering condition to contributorInsightsEnabled !== unde…
Browse files Browse the repository at this point in the history
…fined
  • Loading branch information
skinny85 authored May 19, 2021
1 parent 87fb85b commit 0fdd850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-dynamodb/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ export class Table extends TableBase {
sseSpecification,
streamSpecification,
timeToLiveSpecification: props.timeToLiveAttribute ? { attributeName: props.timeToLiveAttribute, enabled: true } : undefined,
contributorInsightsSpecification: props.contributorInsightsEnabled ? { enabled: props.contributorInsightsEnabled } : undefined,
contributorInsightsSpecification: props.contributorInsightsEnabled !== undefined ? { enabled: props.contributorInsightsEnabled } : undefined,
});
this.table.applyRemovalPolicy(props.removalPolicy);

Expand Down

0 comments on commit 0fdd850

Please sign in to comment.