File tree 2 files changed +22
-0
lines changed
packages/aws-cdk-lib/cx-api
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -658,3 +658,24 @@ _cdk.json_
658
658
}
659
659
}
660
660
` ` `
661
+
662
+ * `@aws-cdk/aws-events:requireEventBusPolicySid`
663
+
664
+ When this flag is enabled :
665
+ - Resource policies will be created with Statement IDs for service principals
666
+ - The operation will succeed as expected
667
+
668
+ When this flag is disabled :
669
+ - A warning will be emitted
670
+ - The grant operation will be dropped
671
+ - No permissions will be added
672
+
673
+ _cdk.json_
674
+
675
+ ` ` ` json
676
+ {
677
+ "context": {
678
+ "@aws-cdk/aws-events:requireEventBusPolicySid": true
679
+ }
680
+ }
681
+ ` ` `
Original file line number Diff line number Diff line change @@ -1431,6 +1431,7 @@ export const FLAGS: Record<string, FlagInfo> = {
1431
1431
compatibilityWithOldBehaviorMd : 'Disable the feature flag to add the root account principal back' ,
1432
1432
} ,
1433
1433
1434
+ //////////////////////////////////////////////////////////////////////
1434
1435
[ EVENTBUS_POLICY_SID_REQUIRED ] : {
1435
1436
type : FlagType . BugFix ,
1436
1437
summary : 'When enabled, grantPutEventsTo() will use resource policies with Statement IDs for service principals.' ,
You can’t perform that action at this time.
0 commit comments