Skip to content

Commit

Permalink
docs(dynamodb): fix doc for awsManagedKey method (aws#31649)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

Closes #<issue number here>.

### Reason for this change



The doc for `awsManagedKey` method is wrong.

- Configure server-side encryption using **a DynamoDB owned** key.

### Description of changes



Fixed.

- Configure server-side encryption using **an AWS managed** key.

### Description of how you validated changes



### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
go-to-k authored Oct 4, 2024
1 parent 18eb3eb commit c3812b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-dynamodb/lib/encryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export abstract class TableEncryptionV2 {
}

/**
* Configure server-side encryption using a DynamoDB owned key.
* Configure server-side encryption using an AWS managed key.
*/
public static awsManagedKey(): TableEncryptionV2 {
return new (class extends TableEncryptionV2 {
Expand Down

0 comments on commit c3812b2

Please sign in to comment.