Skip to content

Commit 8ff9b21

Browse files
committed
fixing the cfn nag issues
1 parent 172e127 commit 8ff9b21

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Diff for: source/patterns/@aws-solutions-constructs/aws-dynamodb-stream-lambda/test/integ.existing-table.expected.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
"AttributeType": "S"
1616
}
1717
],
18-
"ProvisionedThroughput": {
19-
"ReadCapacityUnits": 5,
20-
"WriteCapacityUnits": 5
18+
"BillingMode": "PAY_PER_REQUEST",
19+
"PointInTimeRecoverySpecification": {
20+
"PointInTimeRecoveryEnabled": true
21+
},
22+
"SSESpecification": {
23+
"SSEEnabled": true
2124
},
2225
"StreamSpecification": {
2326
"StreamViewType": "NEW_AND_OLD_IMAGES"

Diff for: source/patterns/@aws-solutions-constructs/aws-dynamodb-stream-lambda/test/integ.existing-table.ts

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ const app = new App();
2323
const stack = new Stack(app, generateIntegStackName(__filename));
2424

2525
const table = new dynamodb.Table(stack, 'mytable', {
26+
billingMode: dynamodb.BillingMode.PAY_PER_REQUEST,
27+
encryption: dynamodb.TableEncryption.AWS_MANAGED,
28+
pointInTimeRecovery: true,
2629
partitionKey: {
2730
name: 'id',
2831
type: dynamodb.AttributeType.STRING

0 commit comments

Comments
 (0)