Skip to content

Commit

Permalink
chore: remove single quotes from throw statement in the parseEncrypti…
Browse files Browse the repository at this point in the history
…on method
  • Loading branch information
mazyu36 committed Jun 1, 2024
1 parent 1b8d73c commit 56bbaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-dynamodb/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,7 @@ export class Table extends TableBase {
}

if (encryptionType !== TableEncryption.CUSTOMER_MANAGED && props.encryptionKey) {
throw new Error('`encryptionKey cannot be specified unless encryption is set to TableEncryption.CUSTOMER_MANAGED (it was set to ${encryptionType})`');
throw new Error(`encryptionKey cannot be specified unless encryption is set to TableEncryption.CUSTOMER_MANAGED (it was set to ${encryptionType})`);
}

if (encryptionType === TableEncryption.CUSTOMER_MANAGED && props.replicationRegions) {
Expand Down

0 comments on commit 56bbaf7

Please sign in to comment.