Skip to content

Commit 81b47b7

Browse files
authored
docs(events): update link about key policy for event bus (#31674)
### Issue # (if applicable) N/A ### Reason for this change The link about key policy for an Event Bus has been updated. ### Description of changes Updated a link in docs. ### Description of how you validated changes No tests because only docs has been changed. ### 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*
1 parent c9481fc commit 81b47b7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: packages/aws-cdk-lib/aws-events/lib/event-bus.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,11 @@ export class EventBus extends EventBusBase {
353353
resourceName: eventBus.name,
354354
});
355355

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

0 commit comments

Comments
 (0)