Skip to content

Commit 0989e76

Browse files
authored
chore(kms): incorrect parameter name in doc (#29234)
Closes #29222. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 7a4c189 commit 0989e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-kms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ import * as cloudtrail from 'aws-cdk-lib/aws-cloudtrail';
7777
const myKeyAlias = kms.Alias.fromAliasName(this, 'myKey', 'alias/aws/s3');
7878
const trail = new cloudtrail.Trail(this, 'myCloudTrail', {
7979
sendToCloudWatchLogs: true,
80-
kmsKey: myKeyAlias,
80+
encryptionKey: myKeyAlias,
8181
});
8282
```
8383

0 commit comments

Comments
 (0)