Skip to content

Commit

Permalink
Update packages/@aws-cdk/aws-redshift/lib/cluster.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Lynch <nlynch@amazon.com>
  • Loading branch information
iRoachie and njlynch authored Oct 25, 2021
1 parent 23ecf3e commit a095483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-redshift/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export class Cluster extends ClusterBase {
dbName: props.defaultDatabaseName || 'default_db',
publiclyAccessible: props.publiclyAccessible || false,
// Encryption
kmsKeyId: props.encryptionKey && props.encryptionKey.keyId,
kmsKeyId: props.encryptionKey?.keyId,
encrypted: props.encrypted ?? true,
});

Expand Down

0 comments on commit a095483

Please sign in to comment.