Skip to content

Commit 26a1156

Browse files
committed
support for Server Side Encryption specification
1 parent 527ad68 commit 26a1156

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ class ServerlessDynamodbLocal {
247247
if (migration.TimeToLiveSpecification) {
248248
delete migration.TimeToLiveSpecification;
249249
}
250+
if (migration.SSESpecification) {
251+
migration.SSESpecification.Enabled = migration.SSESpecification.SSEEnabled;
252+
delete migration.SSESpecification.SSEEnabled;
253+
}
250254
dynamodb.raw.createTable(migration, (err) => {
251255
if (err) {
252256
if (err.name === 'ResourceInUseException') {

0 commit comments

Comments
 (0)