File tree 2 files changed +36
-1
lines changed
packages/aws-cdk-lib/cx-api
2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -627,4 +627,34 @@ _cdk.json_
627
627
"@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true
628
628
}
629
629
}
630
- ` ` `
630
+ ` ` `
631
+
632
+ * `@aws-cdk/aws-s3:setUniqueReplicationRoleName`
633
+
634
+ When this feature flag is enabled, a unique role name is specified only when performing cross-account replication.
635
+ When disabled, 'CDKReplicationRole' is always specified.
636
+
637
+ _cdk.json_
638
+
639
+ ` ` ` json
640
+ {
641
+ "context": {
642
+ "@aws-cdk/aws-s3:setUniqueReplicationRoleName": true
643
+ }
644
+ }
645
+ ` ` `
646
+
647
+ * `@aws-cdk/pipelines:reduceStageRoleTrustScope`
648
+
649
+ When this feature flag is enabled, the root account principal will not be added to the trust policy of stage role.
650
+ When this feature flag is disabled, it will keep the root account principal in the trust policy.
651
+
652
+ _cdk.json_
653
+
654
+ ` ` ` json
655
+ {
656
+ "context": {
657
+ "@aws-cdk/pipelines:reduceStageRoleTrustScope": true
658
+ }
659
+ }
660
+ ` ` `
Original file line number Diff line number Diff line change @@ -1389,6 +1389,8 @@ export const FLAGS: Record<string, FlagInfo> = {
1389
1389
introducedIn : { v2 : '2.178.0' } ,
1390
1390
recommendedValue : true ,
1391
1391
} ,
1392
+
1393
+ //////////////////////////////////////////////////////////////////////
1392
1394
[ LAMBDA_CREATE_NEW_POLICIES_WITH_ADDTOROLEPOLICY ] : {
1393
1395
type : FlagType . BugFix ,
1394
1396
summary : 'When enabled, Lambda will create new inline policies with AddToRolePolicy instead of adding to the Default Policy Statement' ,
@@ -1400,6 +1402,8 @@ export const FLAGS: Record<string, FlagInfo> = {
1400
1402
introducedIn : { v2 : '2.180.0' } ,
1401
1403
recommendedValue : true ,
1402
1404
} ,
1405
+
1406
+ //////////////////////////////////////////////////////////////////////
1403
1407
[ SET_UNIQUE_REPLICATION_ROLE_NAME ] : {
1404
1408
type : FlagType . BugFix ,
1405
1409
summary : 'When enabled, CDK will automatically generate a unique role name that is used for s3 object replication.' ,
@@ -1411,6 +1415,7 @@ export const FLAGS: Record<string, FlagInfo> = {
1411
1415
introducedIn : { v2 : '2.182.0' } ,
1412
1416
recommendedValue : true ,
1413
1417
} ,
1418
+
1414
1419
//////////////////////////////////////////////////////////////////////
1415
1420
[ PIPELINE_REDUCE_STAGE_ROLE_TRUST_SCOPE ] : {
1416
1421
type : FlagType . ApiDefault ,
You can’t perform that action at this time.
0 commit comments