Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kms): add multiRegion property to a Key #31125

Merged
merged 7 commits into from
Aug 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix indentation and semi colonerrors
akira-sky committed Aug 15, 2024
commit 893d4ac1a9794a681f7bf09eab0b09e2595ad175
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-kms/lib/key.ts
Original file line number Diff line number Diff line change
@@ -468,7 +468,7 @@ export interface KeyProps {
*/
readonly keyUsage?: KeyUsage;

/**
/**
* Creates a multi-Region primary key that you can replicate in other AWS Regions.
* You can't change the MultiRegion value after the KMS key is created.
*
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-kms/test/key.test.ts
Original file line number Diff line number Diff line change
@@ -655,7 +655,7 @@ test('creates a multi-Region primary key', () => {
Template.fromStack(stack).hasResourceProperties('AWS::KMS::Key', {
MultiRegion: true,
});
})
});

describe('imported keys', () => {
test('throw an error when providing something that is not a valid key ARN', () => {