aws-cdk.cx-api 2.182.0__tar.gz → 2.229.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk.cx-api might be problematic. Click here for more details.

Files changed (19) hide show
  1. {aws_cdk_cx_api-2.182.0/src/aws_cdk.cx_api.egg-info → aws_cdk_cx_api-2.229.1}/PKG-INFO +195 -7
  2. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/README.md +191 -2
  3. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/pyproject.toml +2 -2
  4. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/setup.py +5 -6
  5. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/src/aws_cdk/cx_api/__init__.py +215 -23
  6. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/src/aws_cdk/cx_api/_jsii/__init__.py +1 -1
  7. aws_cdk_cx_api-2.229.1/src/aws_cdk/cx_api/_jsii/cx-api@2.229.1.jsii.tgz +0 -0
  8. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1/src/aws_cdk.cx_api.egg-info}/PKG-INFO +195 -7
  9. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/src/aws_cdk.cx_api.egg-info/SOURCES.txt +1 -1
  10. aws_cdk_cx_api-2.229.1/src/aws_cdk.cx_api.egg-info/requires.txt +4 -0
  11. aws_cdk_cx_api-2.182.0/src/aws_cdk/cx_api/_jsii/cx-api@2.182.0.jsii.tgz +0 -0
  12. aws_cdk_cx_api-2.182.0/src/aws_cdk.cx_api.egg-info/requires.txt +0 -4
  13. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/LICENSE +0 -0
  14. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/MANIFEST.in +0 -0
  15. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/NOTICE +0 -0
  16. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/setup.cfg +0 -0
  17. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/src/aws_cdk/cx_api/py.typed +0 -0
  18. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/src/aws_cdk.cx_api.egg-info/dependency_links.txt +0 -0
  19. {aws_cdk_cx_api-2.182.0 → aws_cdk_cx_api-2.229.1}/src/aws_cdk.cx_api.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.cx-api
3
- Version: 2.182.0
3
+ Version: 2.229.1
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -10,7 +10,6 @@ Classifier: Intended Audience :: Developers
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: JavaScript
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.8
14
13
  Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
@@ -19,12 +18,12 @@ Classifier: Development Status :: 5 - Production/Stable
19
18
  Classifier: License :: OSI Approved
20
19
  Classifier: Framework :: AWS CDK
21
20
  Classifier: Framework :: AWS CDK :: 2
22
- Requires-Python: ~=3.8
21
+ Requires-Python: ~=3.9
23
22
  Description-Content-Type: text/markdown
24
23
  License-File: LICENSE
25
24
  License-File: NOTICE
26
- Requires-Dist: aws-cdk.cloud-assembly-schema<41.0.0,>=40.6.0
27
- Requires-Dist: jsii<2.0.0,>=1.106.0
25
+ Requires-Dist: aws-cdk.cloud-assembly-schema>=45.0.0
26
+ Requires-Dist: jsii<2.0.0,>=1.119.0
28
27
  Requires-Dist: publication>=0.0.3
29
28
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
29
 
@@ -340,6 +339,20 @@ When this feature flag is enabled and calling KMS key grant method, the created
340
339
  }
341
340
  ```
342
341
 
342
+ * `@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal`
343
+
344
+ Enable grant methods on imported KMS Aliases to apply permissions scoped by the alias using the `kms:ResourceAliases` condition key. When this flag is disabled, grant* methods on `Alias.fromAliasName` remain no-ops to preserve existing behavior.
345
+
346
+ *cdk.json*
347
+
348
+ ```json
349
+ {
350
+ "context": {
351
+ "@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal": true
352
+ }
353
+ }
354
+ ```
355
+
343
356
  * `@aws-cdk/aws-eks:nodegroupNameAttribute`
344
357
 
345
358
  When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix.
@@ -645,16 +658,191 @@ When this feature flag is enabled, CDK expands the scope of usage data collectio
645
658
 
646
659
  * `@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy`
647
660
 
648
- When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
661
+ [Deprecated default feature] When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
649
662
  The purpose of this is to prevent lambda from creating a dependency on the Default Policy Statement.
650
663
  This solves an issue where a circular dependency could occur if adding lambda to something like a Cognito Trigger, then adding the User Pool to the lambda execution role permissions.
664
+ However in the current implementation, we have removed a dependency of the lambda function on the policy. In addition to this, a Role will be attached to the Policy instead of an inline policy being attached to the role.
665
+ This will create a data race condition in the CloudFormation template because the creation of the Lambda function no longer waits for the policy to be created. Having said that, we are not deprecating the feature (we are defaulting the feature flag to false for new stacks) since this feature can still be used to get around the circular dependency issue (issue-7016) particularly in cases where the lambda resource creation doesnt need to depend on the policy resource creation.
666
+ We recommend to unset the feature flag if already set which will restore the original behavior.
667
+
668
+ *cdk.json*
669
+
670
+ ```json
671
+ {
672
+ "context": {
673
+ "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": false
674
+ }
675
+ }
676
+ ```
677
+
678
+ * `@aws-cdk/aws-s3:setUniqueReplicationRoleName`
679
+
680
+ When this feature flag is enabled, a unique role name is specified only when performing cross-account replication.
681
+ When disabled, 'CDKReplicationRole' is always specified.
682
+
683
+ *cdk.json*
684
+
685
+ ```json
686
+ {
687
+ "context": {
688
+ "@aws-cdk/aws-s3:setUniqueReplicationRoleName": true
689
+ }
690
+ }
691
+ ```
692
+
693
+ * `@aws-cdk/pipelines:reduceStageRoleTrustScope`
694
+
695
+ When this feature flag is enabled, the root account principal will not be added to the trust policy of stage role.
696
+ When this feature flag is disabled, it will keep the root account principal in the trust policy.
697
+
698
+ *cdk.json*
699
+
700
+ ```json
701
+ {
702
+ "context": {
703
+ "@aws-cdk/pipelines:reduceStageRoleTrustScope": true
704
+ }
705
+ }
706
+ ```
707
+
708
+ * `@aws-cdk/aws-events:requireEventBusPolicySid`
709
+
710
+ When this flag is enabled:
711
+
712
+ * Resource policies will be created with Statement IDs for service principals
713
+ * The operation will succeed as expected
714
+
715
+ When this flag is disabled:
716
+
717
+ * A warning will be emitted
718
+ * The grant operation will be dropped
719
+ * No permissions will be added
720
+
721
+ *cdk.json*
722
+
723
+ ```json
724
+ {
725
+ "context": {
726
+ "@aws-cdk/aws-events:requireEventBusPolicySid": true
727
+ }
728
+ }
729
+ ```
730
+
731
+ * `@aws-cdk/aws-dynamodb:retainTableReplica`
732
+
733
+ Currently, table replica will always be deleted when stack deletes regardless of source table's deletion policy.
734
+ When enabled, table replica will be default to the removal policy of source table unless specified otherwise.
735
+
736
+ *cdk.json*
737
+
738
+ ```json
739
+ {
740
+ "context": {
741
+ "@aws-cdk/aws-dynamodb:retainTableReplica": true
742
+ }
743
+ }
744
+ ```
745
+
746
+ * `@aws-cdk/cognito:logUserPoolClientSecretValue`
747
+
748
+ When this feature flag is enabled, the SDK API call response to desribe user pool client values will be logged in the custom
749
+ resource lambda function logs.
750
+
751
+ When this feature flag is disabled, the SDK API call response to describe user pool client values will not be logged in the custom
752
+ resource lambda function logs.
753
+
754
+ *cdk.json*
755
+
756
+ ```json
757
+ {
758
+ "context": {
759
+ "@aws-cdk/cognito:logUserPoolClientSecretValue": true
760
+ }
761
+ }
762
+ ```
763
+
764
+ * `@aws-cdk/aws-s3:publicAccessBlockedByDefault`
765
+
766
+ When BlockPublicAccess is not set at all, s3's default behavior will be to set all options to true in aws console.
767
+ The previous behavior in cdk before this feature was; if only some of the BlockPublicAccessOptions were set (not all 4), then the ones undefined would default to false.
768
+ This is counter intuitive to the console behavior where the options would start in true state and a user would uncheck the boxes as needed.
769
+ The new behavior from this feature will allow a user, for example, to set 1 of the 4 BlockPublicAccessOpsions to false, and on deployment the other 3 will remain true.
770
+
771
+ *cdk.json*
772
+
773
+ ```json
774
+ {
775
+ "context": {
776
+ "@aws-cdk/aws-s3:publicAccessBlockedByDefault": true
777
+ }
778
+ }
779
+ ```
780
+
781
+ * `@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway`
782
+
783
+ When this feature flag is enabled, EgressOnlyGateway is created only for dual-stack VPC with private subnets
784
+
785
+ When this feature flag is disabled, EgressOnlyGateway resource is created for all dual-stack VPC regardless of subnet type
786
+
787
+ *cdk.json*
788
+
789
+ ```json
790
+ {
791
+ "context": {
792
+ "@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway": true
793
+ }
794
+ }
795
+ ```
796
+
797
+ * `@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint`
798
+
799
+ When this feature flag is enabled, the JSONPath apiEndpoint value will be resolved dynamically at runtime, while slightly increasing the size of the state machine definition.
800
+ When disabled, the JSONPath apiEndpoint property will only support a static string value.
801
+
802
+ _cdk.json
803
+
804
+ ```json
805
+ {
806
+ "context": {
807
+ "@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": true
808
+ }
809
+ }
810
+ ```
811
+
812
+ * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
813
+
814
+ When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
815
+ which ensures that the AWS Signer profile is created with the specified name.
816
+
817
+ When this feature flag is disabled, the `signingProfileName` is not passed to CloudFormation, maintaining backward
818
+ compatibility with existing deployments where CloudFormation auto-generated profile names.
819
+
820
+ This feature flag is needed because enabling it can cause existing signing profiles to be
821
+ replaced during deployment if a `signingProfileName` was specified but not previously used
822
+ in the CloudFormation template.
823
+
824
+ *cdk.json*
825
+
826
+ ```json
827
+ {
828
+ "context": {
829
+ "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": true
830
+ }
831
+ }
832
+ ```
833
+
834
+ * `@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId`
835
+
836
+ When enabled, ECS patterns will generate unique target group IDs that include the load balancer name and type (public/private). This prevents CloudFormation conflicts when switching between public and private load balancers.
837
+
838
+ Without this flag, switching an ApplicationLoadBalancedFargateService from public to private (or vice versa) fails with "target group cannot be associated with more than one load balancer" error.
651
839
 
652
840
  *cdk.json*
653
841
 
654
842
  ```json
655
843
  {
656
844
  "context": {
657
- "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true
845
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
658
846
  }
659
847
  }
660
848
  ```
@@ -310,6 +310,20 @@ When this feature flag is enabled and calling KMS key grant method, the created
310
310
  }
311
311
  ```
312
312
 
313
+ * `@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal`
314
+
315
+ Enable grant methods on imported KMS Aliases to apply permissions scoped by the alias using the `kms:ResourceAliases` condition key. When this flag is disabled, grant* methods on `Alias.fromAliasName` remain no-ops to preserve existing behavior.
316
+
317
+ *cdk.json*
318
+
319
+ ```json
320
+ {
321
+ "context": {
322
+ "@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal": true
323
+ }
324
+ }
325
+ ```
326
+
313
327
  * `@aws-cdk/aws-eks:nodegroupNameAttribute`
314
328
 
315
329
  When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix.
@@ -615,16 +629,191 @@ When this feature flag is enabled, CDK expands the scope of usage data collectio
615
629
 
616
630
  * `@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy`
617
631
 
618
- When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
632
+ [Deprecated default feature] When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
619
633
  The purpose of this is to prevent lambda from creating a dependency on the Default Policy Statement.
620
634
  This solves an issue where a circular dependency could occur if adding lambda to something like a Cognito Trigger, then adding the User Pool to the lambda execution role permissions.
635
+ However in the current implementation, we have removed a dependency of the lambda function on the policy. In addition to this, a Role will be attached to the Policy instead of an inline policy being attached to the role.
636
+ This will create a data race condition in the CloudFormation template because the creation of the Lambda function no longer waits for the policy to be created. Having said that, we are not deprecating the feature (we are defaulting the feature flag to false for new stacks) since this feature can still be used to get around the circular dependency issue (issue-7016) particularly in cases where the lambda resource creation doesnt need to depend on the policy resource creation.
637
+ We recommend to unset the feature flag if already set which will restore the original behavior.
638
+
639
+ *cdk.json*
640
+
641
+ ```json
642
+ {
643
+ "context": {
644
+ "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": false
645
+ }
646
+ }
647
+ ```
648
+
649
+ * `@aws-cdk/aws-s3:setUniqueReplicationRoleName`
650
+
651
+ When this feature flag is enabled, a unique role name is specified only when performing cross-account replication.
652
+ When disabled, 'CDKReplicationRole' is always specified.
653
+
654
+ *cdk.json*
655
+
656
+ ```json
657
+ {
658
+ "context": {
659
+ "@aws-cdk/aws-s3:setUniqueReplicationRoleName": true
660
+ }
661
+ }
662
+ ```
663
+
664
+ * `@aws-cdk/pipelines:reduceStageRoleTrustScope`
665
+
666
+ When this feature flag is enabled, the root account principal will not be added to the trust policy of stage role.
667
+ When this feature flag is disabled, it will keep the root account principal in the trust policy.
668
+
669
+ *cdk.json*
670
+
671
+ ```json
672
+ {
673
+ "context": {
674
+ "@aws-cdk/pipelines:reduceStageRoleTrustScope": true
675
+ }
676
+ }
677
+ ```
678
+
679
+ * `@aws-cdk/aws-events:requireEventBusPolicySid`
680
+
681
+ When this flag is enabled:
682
+
683
+ * Resource policies will be created with Statement IDs for service principals
684
+ * The operation will succeed as expected
685
+
686
+ When this flag is disabled:
687
+
688
+ * A warning will be emitted
689
+ * The grant operation will be dropped
690
+ * No permissions will be added
691
+
692
+ *cdk.json*
693
+
694
+ ```json
695
+ {
696
+ "context": {
697
+ "@aws-cdk/aws-events:requireEventBusPolicySid": true
698
+ }
699
+ }
700
+ ```
701
+
702
+ * `@aws-cdk/aws-dynamodb:retainTableReplica`
703
+
704
+ Currently, table replica will always be deleted when stack deletes regardless of source table's deletion policy.
705
+ When enabled, table replica will be default to the removal policy of source table unless specified otherwise.
706
+
707
+ *cdk.json*
708
+
709
+ ```json
710
+ {
711
+ "context": {
712
+ "@aws-cdk/aws-dynamodb:retainTableReplica": true
713
+ }
714
+ }
715
+ ```
716
+
717
+ * `@aws-cdk/cognito:logUserPoolClientSecretValue`
718
+
719
+ When this feature flag is enabled, the SDK API call response to desribe user pool client values will be logged in the custom
720
+ resource lambda function logs.
721
+
722
+ When this feature flag is disabled, the SDK API call response to describe user pool client values will not be logged in the custom
723
+ resource lambda function logs.
724
+
725
+ *cdk.json*
726
+
727
+ ```json
728
+ {
729
+ "context": {
730
+ "@aws-cdk/cognito:logUserPoolClientSecretValue": true
731
+ }
732
+ }
733
+ ```
734
+
735
+ * `@aws-cdk/aws-s3:publicAccessBlockedByDefault`
736
+
737
+ When BlockPublicAccess is not set at all, s3's default behavior will be to set all options to true in aws console.
738
+ The previous behavior in cdk before this feature was; if only some of the BlockPublicAccessOptions were set (not all 4), then the ones undefined would default to false.
739
+ This is counter intuitive to the console behavior where the options would start in true state and a user would uncheck the boxes as needed.
740
+ The new behavior from this feature will allow a user, for example, to set 1 of the 4 BlockPublicAccessOpsions to false, and on deployment the other 3 will remain true.
741
+
742
+ *cdk.json*
743
+
744
+ ```json
745
+ {
746
+ "context": {
747
+ "@aws-cdk/aws-s3:publicAccessBlockedByDefault": true
748
+ }
749
+ }
750
+ ```
751
+
752
+ * `@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway`
753
+
754
+ When this feature flag is enabled, EgressOnlyGateway is created only for dual-stack VPC with private subnets
755
+
756
+ When this feature flag is disabled, EgressOnlyGateway resource is created for all dual-stack VPC regardless of subnet type
757
+
758
+ *cdk.json*
759
+
760
+ ```json
761
+ {
762
+ "context": {
763
+ "@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway": true
764
+ }
765
+ }
766
+ ```
767
+
768
+ * `@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint`
769
+
770
+ When this feature flag is enabled, the JSONPath apiEndpoint value will be resolved dynamically at runtime, while slightly increasing the size of the state machine definition.
771
+ When disabled, the JSONPath apiEndpoint property will only support a static string value.
772
+
773
+ _cdk.json
774
+
775
+ ```json
776
+ {
777
+ "context": {
778
+ "@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": true
779
+ }
780
+ }
781
+ ```
782
+
783
+ * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
784
+
785
+ When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
786
+ which ensures that the AWS Signer profile is created with the specified name.
787
+
788
+ When this feature flag is disabled, the `signingProfileName` is not passed to CloudFormation, maintaining backward
789
+ compatibility with existing deployments where CloudFormation auto-generated profile names.
790
+
791
+ This feature flag is needed because enabling it can cause existing signing profiles to be
792
+ replaced during deployment if a `signingProfileName` was specified but not previously used
793
+ in the CloudFormation template.
794
+
795
+ *cdk.json*
796
+
797
+ ```json
798
+ {
799
+ "context": {
800
+ "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": true
801
+ }
802
+ }
803
+ ```
804
+
805
+ * `@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId`
806
+
807
+ When enabled, ECS patterns will generate unique target group IDs that include the load balancer name and type (public/private). This prevents CloudFormation conflicts when switching between public and private load balancers.
808
+
809
+ Without this flag, switching an ApplicationLoadBalancedFargateService from public to private (or vice versa) fails with "target group cannot be associated with more than one load balancer" error.
621
810
 
622
811
  *cdk.json*
623
812
 
624
813
  ```json
625
814
  {
626
815
  "context": {
627
- "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true
816
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
628
817
  }
629
818
  }
630
819
  ```
@@ -1,9 +1,9 @@
1
1
  [build-system]
2
- requires = ["setuptools~=70.0.0", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "build~=1.3.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
6
6
  defineConstant = { DEBUG = true }
7
- pythonVersion = "3.8"
7
+ pythonVersion = "3.9"
8
8
  pythonPlatform = "All"
9
9
  reportSelfClsParameterName = false
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.cx-api",
8
- "version": "2.182.0",
8
+ "version": "2.229.1",
9
9
  "description": "Cloud executable protocol",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,16 +26,16 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.cx_api._jsii": [
29
- "cx-api@2.182.0.jsii.tgz"
29
+ "cx-api@2.229.1.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.cx_api": [
32
32
  "py.typed"
33
33
  ]
34
34
  },
35
- "python_requires": "~=3.8",
35
+ "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk.cloud-assembly-schema>=40.6.0, <41.0.0",
38
- "jsii>=1.106.0, <2.0.0",
37
+ "aws-cdk.cloud-assembly-schema>=45.0.0",
38
+ "jsii>=1.119.0, <2.0.0",
39
39
  "publication>=0.0.3",
40
40
  "typeguard>=2.13.3,<4.3.0"
41
41
  ],
@@ -44,7 +44,6 @@ kwargs = json.loads(
44
44
  "Operating System :: OS Independent",
45
45
  "Programming Language :: JavaScript",
46
46
  "Programming Language :: Python :: 3 :: Only",
47
- "Programming Language :: Python :: 3.8",
48
47
  "Programming Language :: Python :: 3.9",
49
48
  "Programming Language :: Python :: 3.10",
50
49
  "Programming Language :: Python :: 3.11",
@@ -311,6 +311,20 @@ When this feature flag is enabled and calling KMS key grant method, the created
311
311
  }
312
312
  ```
313
313
 
314
+ * `@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal`
315
+
316
+ Enable grant methods on imported KMS Aliases to apply permissions scoped by the alias using the `kms:ResourceAliases` condition key. When this flag is disabled, grant* methods on `Alias.fromAliasName` remain no-ops to preserve existing behavior.
317
+
318
+ *cdk.json*
319
+
320
+ ```json
321
+ {
322
+ "context": {
323
+ "@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal": true
324
+ }
325
+ }
326
+ ```
327
+
314
328
  * `@aws-cdk/aws-eks:nodegroupNameAttribute`
315
329
 
316
330
  When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix.
@@ -616,16 +630,191 @@ When this feature flag is enabled, CDK expands the scope of usage data collectio
616
630
 
617
631
  * `@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy`
618
632
 
619
- When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
633
+ [Deprecated default feature] When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
620
634
  The purpose of this is to prevent lambda from creating a dependency on the Default Policy Statement.
621
635
  This solves an issue where a circular dependency could occur if adding lambda to something like a Cognito Trigger, then adding the User Pool to the lambda execution role permissions.
636
+ However in the current implementation, we have removed a dependency of the lambda function on the policy. In addition to this, a Role will be attached to the Policy instead of an inline policy being attached to the role.
637
+ This will create a data race condition in the CloudFormation template because the creation of the Lambda function no longer waits for the policy to be created. Having said that, we are not deprecating the feature (we are defaulting the feature flag to false for new stacks) since this feature can still be used to get around the circular dependency issue (issue-7016) particularly in cases where the lambda resource creation doesnt need to depend on the policy resource creation.
638
+ We recommend to unset the feature flag if already set which will restore the original behavior.
639
+
640
+ *cdk.json*
641
+
642
+ ```json
643
+ {
644
+ "context": {
645
+ "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": false
646
+ }
647
+ }
648
+ ```
649
+
650
+ * `@aws-cdk/aws-s3:setUniqueReplicationRoleName`
651
+
652
+ When this feature flag is enabled, a unique role name is specified only when performing cross-account replication.
653
+ When disabled, 'CDKReplicationRole' is always specified.
654
+
655
+ *cdk.json*
656
+
657
+ ```json
658
+ {
659
+ "context": {
660
+ "@aws-cdk/aws-s3:setUniqueReplicationRoleName": true
661
+ }
662
+ }
663
+ ```
664
+
665
+ * `@aws-cdk/pipelines:reduceStageRoleTrustScope`
666
+
667
+ When this feature flag is enabled, the root account principal will not be added to the trust policy of stage role.
668
+ When this feature flag is disabled, it will keep the root account principal in the trust policy.
622
669
 
623
670
  *cdk.json*
624
671
 
625
672
  ```json
626
673
  {
627
674
  "context": {
628
- "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true
675
+ "@aws-cdk/pipelines:reduceStageRoleTrustScope": true
676
+ }
677
+ }
678
+ ```
679
+
680
+ * `@aws-cdk/aws-events:requireEventBusPolicySid`
681
+
682
+ When this flag is enabled:
683
+
684
+ * Resource policies will be created with Statement IDs for service principals
685
+ * The operation will succeed as expected
686
+
687
+ When this flag is disabled:
688
+
689
+ * A warning will be emitted
690
+ * The grant operation will be dropped
691
+ * No permissions will be added
692
+
693
+ *cdk.json*
694
+
695
+ ```json
696
+ {
697
+ "context": {
698
+ "@aws-cdk/aws-events:requireEventBusPolicySid": true
699
+ }
700
+ }
701
+ ```
702
+
703
+ * `@aws-cdk/aws-dynamodb:retainTableReplica`
704
+
705
+ Currently, table replica will always be deleted when stack deletes regardless of source table's deletion policy.
706
+ When enabled, table replica will be default to the removal policy of source table unless specified otherwise.
707
+
708
+ *cdk.json*
709
+
710
+ ```json
711
+ {
712
+ "context": {
713
+ "@aws-cdk/aws-dynamodb:retainTableReplica": true
714
+ }
715
+ }
716
+ ```
717
+
718
+ * `@aws-cdk/cognito:logUserPoolClientSecretValue`
719
+
720
+ When this feature flag is enabled, the SDK API call response to desribe user pool client values will be logged in the custom
721
+ resource lambda function logs.
722
+
723
+ When this feature flag is disabled, the SDK API call response to describe user pool client values will not be logged in the custom
724
+ resource lambda function logs.
725
+
726
+ *cdk.json*
727
+
728
+ ```json
729
+ {
730
+ "context": {
731
+ "@aws-cdk/cognito:logUserPoolClientSecretValue": true
732
+ }
733
+ }
734
+ ```
735
+
736
+ * `@aws-cdk/aws-s3:publicAccessBlockedByDefault`
737
+
738
+ When BlockPublicAccess is not set at all, s3's default behavior will be to set all options to true in aws console.
739
+ The previous behavior in cdk before this feature was; if only some of the BlockPublicAccessOptions were set (not all 4), then the ones undefined would default to false.
740
+ This is counter intuitive to the console behavior where the options would start in true state and a user would uncheck the boxes as needed.
741
+ The new behavior from this feature will allow a user, for example, to set 1 of the 4 BlockPublicAccessOpsions to false, and on deployment the other 3 will remain true.
742
+
743
+ *cdk.json*
744
+
745
+ ```json
746
+ {
747
+ "context": {
748
+ "@aws-cdk/aws-s3:publicAccessBlockedByDefault": true
749
+ }
750
+ }
751
+ ```
752
+
753
+ * `@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway`
754
+
755
+ When this feature flag is enabled, EgressOnlyGateway is created only for dual-stack VPC with private subnets
756
+
757
+ When this feature flag is disabled, EgressOnlyGateway resource is created for all dual-stack VPC regardless of subnet type
758
+
759
+ *cdk.json*
760
+
761
+ ```json
762
+ {
763
+ "context": {
764
+ "@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway": true
765
+ }
766
+ }
767
+ ```
768
+
769
+ * `@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint`
770
+
771
+ When this feature flag is enabled, the JSONPath apiEndpoint value will be resolved dynamically at runtime, while slightly increasing the size of the state machine definition.
772
+ When disabled, the JSONPath apiEndpoint property will only support a static string value.
773
+
774
+ _cdk.json
775
+
776
+ ```json
777
+ {
778
+ "context": {
779
+ "@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": true
780
+ }
781
+ }
782
+ ```
783
+
784
+ * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
785
+
786
+ When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
787
+ which ensures that the AWS Signer profile is created with the specified name.
788
+
789
+ When this feature flag is disabled, the `signingProfileName` is not passed to CloudFormation, maintaining backward
790
+ compatibility with existing deployments where CloudFormation auto-generated profile names.
791
+
792
+ This feature flag is needed because enabling it can cause existing signing profiles to be
793
+ replaced during deployment if a `signingProfileName` was specified but not previously used
794
+ in the CloudFormation template.
795
+
796
+ *cdk.json*
797
+
798
+ ```json
799
+ {
800
+ "context": {
801
+ "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": true
802
+ }
803
+ }
804
+ ```
805
+
806
+ * `@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId`
807
+
808
+ When enabled, ECS patterns will generate unique target group IDs that include the load balancer name and type (public/private). This prevents CloudFormation conflicts when switching between public and private load balancers.
809
+
810
+ Without this flag, switching an ApplicationLoadBalancedFargateService from public to private (or vice versa) fails with "target group cannot be associated with more than one load balancer" error.
811
+
812
+ *cdk.json*
813
+
814
+ ```json
815
+ {
816
+ "context": {
817
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
629
818
  }
630
819
  }
631
820
  ```
@@ -915,14 +1104,14 @@ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArt
915
1104
  display_name: typing.Optional[builtins.str] = None,
916
1105
  environment: typing.Optional[builtins.str] = None,
917
1106
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
918
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
1107
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
919
1108
  ) -> None:
920
1109
  '''
921
1110
  :param assembly: -
922
1111
  :param id: -
923
1112
  :param type: The type of artifact.
924
1113
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
925
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
1114
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
926
1115
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
927
1116
  :param metadata: Associated metadata. Default: - no metadata.
928
1117
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -954,7 +1143,7 @@ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArt
954
1143
  display_name: typing.Optional[builtins.str] = None,
955
1144
  environment: typing.Optional[builtins.str] = None,
956
1145
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
957
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
1146
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
958
1147
  ) -> typing.Optional["CloudArtifact"]:
959
1148
  '''Returns a subclass of ``CloudArtifact`` based on the artifact type defined in the artifact manifest.
960
1149
 
@@ -962,7 +1151,7 @@ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArt
962
1151
  :param id: The artifact ID.
963
1152
  :param type: The type of artifact.
964
1153
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
965
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
1154
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
966
1155
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
967
1156
  :param metadata: Associated metadata. Default: - no metadata.
968
1157
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -1306,14 +1495,14 @@ class CloudAssemblyBuilder(
1306
1495
  display_name: typing.Optional[builtins.str] = None,
1307
1496
  environment: typing.Optional[builtins.str] = None,
1308
1497
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
1309
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
1498
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
1310
1499
  ) -> None:
1311
1500
  '''Adds an artifact into the cloud assembly.
1312
1501
 
1313
1502
  :param id: The ID of the artifact.
1314
1503
  :param type: The type of artifact.
1315
1504
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
1316
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
1505
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
1317
1506
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
1318
1507
  :param metadata: Associated metadata. Default: - no metadata.
1319
1508
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -1555,14 +1744,14 @@ class CloudFormationStackArtifact(
1555
1744
  display_name: typing.Optional[builtins.str] = None,
1556
1745
  environment: typing.Optional[builtins.str] = None,
1557
1746
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
1558
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
1747
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
1559
1748
  ) -> None:
1560
1749
  '''
1561
1750
  :param assembly: -
1562
1751
  :param artifact_id: -
1563
1752
  :param type: The type of artifact.
1564
1753
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
1565
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
1754
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
1566
1755
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
1567
1756
  :param metadata: Associated metadata. Default: - no metadata.
1568
1757
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -2861,14 +3050,14 @@ class NestedCloudAssemblyArtifact(
2861
3050
  display_name: typing.Optional[builtins.str] = None,
2862
3051
  environment: typing.Optional[builtins.str] = None,
2863
3052
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
2864
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
3053
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
2865
3054
  ) -> None:
2866
3055
  '''
2867
3056
  :param assembly: -
2868
3057
  :param name: -
2869
3058
  :param type: The type of artifact.
2870
3059
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
2871
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
3060
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
2872
3061
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
2873
3062
  :param metadata: Associated metadata. Default: - no metadata.
2874
3063
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -3244,14 +3433,14 @@ class TreeCloudArtifact(
3244
3433
  display_name: typing.Optional[builtins.str] = None,
3245
3434
  environment: typing.Optional[builtins.str] = None,
3246
3435
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
3247
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
3436
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
3248
3437
  ) -> None:
3249
3438
  '''
3250
3439
  :param assembly: -
3251
3440
  :param name: -
3252
3441
  :param type: The type of artifact.
3253
3442
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
3254
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
3443
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
3255
3444
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
3256
3445
  :param metadata: Associated metadata. Default: - no metadata.
3257
3446
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -3904,14 +4093,14 @@ class AssetManifestArtifact(
3904
4093
  display_name: typing.Optional[builtins.str] = None,
3905
4094
  environment: typing.Optional[builtins.str] = None,
3906
4095
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
3907
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4096
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
3908
4097
  ) -> None:
3909
4098
  '''
3910
4099
  :param assembly: -
3911
4100
  :param name: -
3912
4101
  :param type: The type of artifact.
3913
4102
  :param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
3914
- :param display_name: A string that represents this artifact. Should only be used in user interfaces. Default: - no display name
4103
+ :param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
3915
4104
  :param environment: The environment into which this artifact is deployed. Default: - no envrionment.
3916
4105
  :param metadata: Associated metadata. Default: - no metadata.
3917
4106
  :param properties: The set of properties for this artifact (depends on type). Default: - no properties.
@@ -4047,7 +4236,7 @@ def _typecheckingstub__1ed62a7c2247dd4c625ec6c28ed3100e2bf8bc293ce9accfb5aa199e5
4047
4236
  display_name: typing.Optional[builtins.str] = None,
4048
4237
  environment: typing.Optional[builtins.str] = None,
4049
4238
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4050
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4239
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4051
4240
  ) -> None:
4052
4241
  """Type checking stubs"""
4053
4242
  pass
@@ -4061,7 +4250,7 @@ def _typecheckingstub__9a9e7172494e8d6e1062852f66a87eb480f31763995170a9b158baa1f
4061
4250
  display_name: typing.Optional[builtins.str] = None,
4062
4251
  environment: typing.Optional[builtins.str] = None,
4063
4252
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4064
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4253
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4065
4254
  ) -> None:
4066
4255
  """Type checking stubs"""
4067
4256
  pass
@@ -4141,7 +4330,7 @@ def _typecheckingstub__46e80c3b6bfd97977edd543650bf180354083f8f8ac476e020cef1381
4141
4330
  display_name: typing.Optional[builtins.str] = None,
4142
4331
  environment: typing.Optional[builtins.str] = None,
4143
4332
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4144
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4333
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4145
4334
  ) -> None:
4146
4335
  """Type checking stubs"""
4147
4336
  pass
@@ -4170,7 +4359,7 @@ def _typecheckingstub__e4221f8243cf17c04683af8c1bce956c1e255ee17738e4524551c6505
4170
4359
  display_name: typing.Optional[builtins.str] = None,
4171
4360
  environment: typing.Optional[builtins.str] = None,
4172
4361
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4173
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4362
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4174
4363
  ) -> None:
4175
4364
  """Type checking stubs"""
4176
4365
  pass
@@ -4310,7 +4499,7 @@ def _typecheckingstub__1aa6af50763dddea1d45ad3308472b2d2ff5763ed26b8f4919b6ff417
4310
4499
  display_name: typing.Optional[builtins.str] = None,
4311
4500
  environment: typing.Optional[builtins.str] = None,
4312
4501
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4313
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4502
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4314
4503
  ) -> None:
4315
4504
  """Type checking stubs"""
4316
4505
  pass
@@ -4354,7 +4543,7 @@ def _typecheckingstub__d44839b2c4ac38a89725b61338793da24a9add3afea876d70e9f06e98
4354
4543
  display_name: typing.Optional[builtins.str] = None,
4355
4544
  environment: typing.Optional[builtins.str] = None,
4356
4545
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4357
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4546
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4358
4547
  ) -> None:
4359
4548
  """Type checking stubs"""
4360
4549
  pass
@@ -4415,7 +4604,7 @@ def _typecheckingstub__2f357f6d07a16e0dfa09eb27eac736f3cba2a46289700a94afedb335c
4415
4604
  display_name: typing.Optional[builtins.str] = None,
4416
4605
  environment: typing.Optional[builtins.str] = None,
4417
4606
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
4418
- properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4607
+ properties: typing.Optional[typing.Union[typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[_aws_cdk_cloud_assembly_schema_cae1d136.FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
4419
4608
  ) -> None:
4420
4609
  """Type checking stubs"""
4421
4610
  pass
@@ -4425,3 +4614,6 @@ def _typecheckingstub__0f13a4defa9d74d578442cc9dbb25cbe53318785930cd66e40d43ac92
4425
4614
  ) -> None:
4426
4615
  """Type checking stubs"""
4427
4616
  pass
4617
+
4618
+ for cls in [IEnvironmentPlaceholderProvider]:
4619
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -31,7 +31,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
31
31
  import aws_cdk.cloud_assembly_schema._jsii
32
32
 
33
33
  __jsii_assembly__ = jsii.JSIIAssembly.load(
34
- "@aws-cdk/cx-api", "2.182.0", __name__[0:-6], "cx-api@2.182.0.jsii.tgz"
34
+ "@aws-cdk/cx-api", "2.229.1", __name__[0:-6], "cx-api@2.229.1.jsii.tgz"
35
35
  )
36
36
 
37
37
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.cx-api
3
- Version: 2.182.0
3
+ Version: 2.229.1
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -10,7 +10,6 @@ Classifier: Intended Audience :: Developers
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: JavaScript
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.8
14
13
  Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
@@ -19,12 +18,12 @@ Classifier: Development Status :: 5 - Production/Stable
19
18
  Classifier: License :: OSI Approved
20
19
  Classifier: Framework :: AWS CDK
21
20
  Classifier: Framework :: AWS CDK :: 2
22
- Requires-Python: ~=3.8
21
+ Requires-Python: ~=3.9
23
22
  Description-Content-Type: text/markdown
24
23
  License-File: LICENSE
25
24
  License-File: NOTICE
26
- Requires-Dist: aws-cdk.cloud-assembly-schema<41.0.0,>=40.6.0
27
- Requires-Dist: jsii<2.0.0,>=1.106.0
25
+ Requires-Dist: aws-cdk.cloud-assembly-schema>=45.0.0
26
+ Requires-Dist: jsii<2.0.0,>=1.119.0
28
27
  Requires-Dist: publication>=0.0.3
29
28
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
29
 
@@ -340,6 +339,20 @@ When this feature flag is enabled and calling KMS key grant method, the created
340
339
  }
341
340
  ```
342
341
 
342
+ * `@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal`
343
+
344
+ Enable grant methods on imported KMS Aliases to apply permissions scoped by the alias using the `kms:ResourceAliases` condition key. When this flag is disabled, grant* methods on `Alias.fromAliasName` remain no-ops to preserve existing behavior.
345
+
346
+ *cdk.json*
347
+
348
+ ```json
349
+ {
350
+ "context": {
351
+ "@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal": true
352
+ }
353
+ }
354
+ ```
355
+
343
356
  * `@aws-cdk/aws-eks:nodegroupNameAttribute`
344
357
 
345
358
  When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix.
@@ -645,16 +658,191 @@ When this feature flag is enabled, CDK expands the scope of usage data collectio
645
658
 
646
659
  * `@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy`
647
660
 
648
- When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
661
+ [Deprecated default feature] When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
649
662
  The purpose of this is to prevent lambda from creating a dependency on the Default Policy Statement.
650
663
  This solves an issue where a circular dependency could occur if adding lambda to something like a Cognito Trigger, then adding the User Pool to the lambda execution role permissions.
664
+ However in the current implementation, we have removed a dependency of the lambda function on the policy. In addition to this, a Role will be attached to the Policy instead of an inline policy being attached to the role.
665
+ This will create a data race condition in the CloudFormation template because the creation of the Lambda function no longer waits for the policy to be created. Having said that, we are not deprecating the feature (we are defaulting the feature flag to false for new stacks) since this feature can still be used to get around the circular dependency issue (issue-7016) particularly in cases where the lambda resource creation doesnt need to depend on the policy resource creation.
666
+ We recommend to unset the feature flag if already set which will restore the original behavior.
667
+
668
+ *cdk.json*
669
+
670
+ ```json
671
+ {
672
+ "context": {
673
+ "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": false
674
+ }
675
+ }
676
+ ```
677
+
678
+ * `@aws-cdk/aws-s3:setUniqueReplicationRoleName`
679
+
680
+ When this feature flag is enabled, a unique role name is specified only when performing cross-account replication.
681
+ When disabled, 'CDKReplicationRole' is always specified.
682
+
683
+ *cdk.json*
684
+
685
+ ```json
686
+ {
687
+ "context": {
688
+ "@aws-cdk/aws-s3:setUniqueReplicationRoleName": true
689
+ }
690
+ }
691
+ ```
692
+
693
+ * `@aws-cdk/pipelines:reduceStageRoleTrustScope`
694
+
695
+ When this feature flag is enabled, the root account principal will not be added to the trust policy of stage role.
696
+ When this feature flag is disabled, it will keep the root account principal in the trust policy.
697
+
698
+ *cdk.json*
699
+
700
+ ```json
701
+ {
702
+ "context": {
703
+ "@aws-cdk/pipelines:reduceStageRoleTrustScope": true
704
+ }
705
+ }
706
+ ```
707
+
708
+ * `@aws-cdk/aws-events:requireEventBusPolicySid`
709
+
710
+ When this flag is enabled:
711
+
712
+ * Resource policies will be created with Statement IDs for service principals
713
+ * The operation will succeed as expected
714
+
715
+ When this flag is disabled:
716
+
717
+ * A warning will be emitted
718
+ * The grant operation will be dropped
719
+ * No permissions will be added
720
+
721
+ *cdk.json*
722
+
723
+ ```json
724
+ {
725
+ "context": {
726
+ "@aws-cdk/aws-events:requireEventBusPolicySid": true
727
+ }
728
+ }
729
+ ```
730
+
731
+ * `@aws-cdk/aws-dynamodb:retainTableReplica`
732
+
733
+ Currently, table replica will always be deleted when stack deletes regardless of source table's deletion policy.
734
+ When enabled, table replica will be default to the removal policy of source table unless specified otherwise.
735
+
736
+ *cdk.json*
737
+
738
+ ```json
739
+ {
740
+ "context": {
741
+ "@aws-cdk/aws-dynamodb:retainTableReplica": true
742
+ }
743
+ }
744
+ ```
745
+
746
+ * `@aws-cdk/cognito:logUserPoolClientSecretValue`
747
+
748
+ When this feature flag is enabled, the SDK API call response to desribe user pool client values will be logged in the custom
749
+ resource lambda function logs.
750
+
751
+ When this feature flag is disabled, the SDK API call response to describe user pool client values will not be logged in the custom
752
+ resource lambda function logs.
753
+
754
+ *cdk.json*
755
+
756
+ ```json
757
+ {
758
+ "context": {
759
+ "@aws-cdk/cognito:logUserPoolClientSecretValue": true
760
+ }
761
+ }
762
+ ```
763
+
764
+ * `@aws-cdk/aws-s3:publicAccessBlockedByDefault`
765
+
766
+ When BlockPublicAccess is not set at all, s3's default behavior will be to set all options to true in aws console.
767
+ The previous behavior in cdk before this feature was; if only some of the BlockPublicAccessOptions were set (not all 4), then the ones undefined would default to false.
768
+ This is counter intuitive to the console behavior where the options would start in true state and a user would uncheck the boxes as needed.
769
+ The new behavior from this feature will allow a user, for example, to set 1 of the 4 BlockPublicAccessOpsions to false, and on deployment the other 3 will remain true.
770
+
771
+ *cdk.json*
772
+
773
+ ```json
774
+ {
775
+ "context": {
776
+ "@aws-cdk/aws-s3:publicAccessBlockedByDefault": true
777
+ }
778
+ }
779
+ ```
780
+
781
+ * `@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway`
782
+
783
+ When this feature flag is enabled, EgressOnlyGateway is created only for dual-stack VPC with private subnets
784
+
785
+ When this feature flag is disabled, EgressOnlyGateway resource is created for all dual-stack VPC regardless of subnet type
786
+
787
+ *cdk.json*
788
+
789
+ ```json
790
+ {
791
+ "context": {
792
+ "@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway": true
793
+ }
794
+ }
795
+ ```
796
+
797
+ * `@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint`
798
+
799
+ When this feature flag is enabled, the JSONPath apiEndpoint value will be resolved dynamically at runtime, while slightly increasing the size of the state machine definition.
800
+ When disabled, the JSONPath apiEndpoint property will only support a static string value.
801
+
802
+ _cdk.json
803
+
804
+ ```json
805
+ {
806
+ "context": {
807
+ "@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": true
808
+ }
809
+ }
810
+ ```
811
+
812
+ * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
813
+
814
+ When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
815
+ which ensures that the AWS Signer profile is created with the specified name.
816
+
817
+ When this feature flag is disabled, the `signingProfileName` is not passed to CloudFormation, maintaining backward
818
+ compatibility with existing deployments where CloudFormation auto-generated profile names.
819
+
820
+ This feature flag is needed because enabling it can cause existing signing profiles to be
821
+ replaced during deployment if a `signingProfileName` was specified but not previously used
822
+ in the CloudFormation template.
823
+
824
+ *cdk.json*
825
+
826
+ ```json
827
+ {
828
+ "context": {
829
+ "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": true
830
+ }
831
+ }
832
+ ```
833
+
834
+ * `@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId`
835
+
836
+ When enabled, ECS patterns will generate unique target group IDs that include the load balancer name and type (public/private). This prevents CloudFormation conflicts when switching between public and private load balancers.
837
+
838
+ Without this flag, switching an ApplicationLoadBalancedFargateService from public to private (or vice versa) fails with "target group cannot be associated with more than one load balancer" error.
651
839
 
652
840
  *cdk.json*
653
841
 
654
842
  ```json
655
843
  {
656
844
  "context": {
657
- "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true
845
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
658
846
  }
659
847
  }
660
848
  ```
@@ -12,4 +12,4 @@ src/aws_cdk.cx_api.egg-info/top_level.txt
12
12
  src/aws_cdk/cx_api/__init__.py
13
13
  src/aws_cdk/cx_api/py.typed
14
14
  src/aws_cdk/cx_api/_jsii/__init__.py
15
- src/aws_cdk/cx_api/_jsii/cx-api@2.182.0.jsii.tgz
15
+ src/aws_cdk/cx_api/_jsii/cx-api@2.229.1.jsii.tgz
@@ -0,0 +1,4 @@
1
+ aws-cdk.cloud-assembly-schema>=45.0.0
2
+ jsii<2.0.0,>=1.119.0
3
+ publication>=0.0.3
4
+ typeguard<4.3.0,>=2.13.3
@@ -1,4 +0,0 @@
1
- aws-cdk.cloud-assembly-schema<41.0.0,>=40.6.0
2
- jsii<2.0.0,>=1.106.0
3
- publication>=0.0.3
4
- typeguard<4.3.0,>=2.13.3