Skip to content

Commit

Permalink
docs: update link about key policy for event bus
Browse files Browse the repository at this point in the history
  • Loading branch information
mazyu36 committed Oct 6, 2024
1 parent 5e7e61f commit 98a3154
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/aws-cdk-lib/aws-events/lib/event-bus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,11 @@ export class EventBus extends EventBusBase {
resourceName: eventBus.name,
});

// Allow EventBridge to use customer managed key
// See https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-key-policy.html
/**
* Allow EventBridge to use customer managed key
*
* @see https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-key-policy.html#eb-encryption-key-policy-bus
*/
if (props?.kmsKey) {
props?.kmsKey.addToResourcePolicy(new iam.PolicyStatement({
resources: ['*'],
Expand Down

0 comments on commit 98a3154

Please sign in to comment.