aws-cdk.cx-api 2.220.0__tar.gz → 2.232.2__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.
Files changed (18) hide show
  1. {aws_cdk_cx_api-2.220.0/src/aws_cdk.cx_api.egg-info → aws_cdk_cx_api-2.232.2}/PKG-INFO +34 -3
  2. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/README.md +31 -0
  3. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/pyproject.toml +1 -1
  4. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/setup.py +4 -4
  5. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/src/aws_cdk/cx_api/__init__.py +73 -0
  6. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/src/aws_cdk/cx_api/_jsii/__init__.py +1 -1
  7. aws_cdk_cx_api-2.232.2/src/aws_cdk/cx_api/_jsii/cx-api@2.232.2.jsii.tgz +0 -0
  8. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2/src/aws_cdk.cx_api.egg-info}/PKG-INFO +34 -3
  9. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/src/aws_cdk.cx_api.egg-info/SOURCES.txt +1 -1
  10. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/src/aws_cdk.cx_api.egg-info/requires.txt +2 -2
  11. aws_cdk_cx_api-2.220.0/src/aws_cdk/cx_api/_jsii/cx-api@2.220.0.jsii.tgz +0 -0
  12. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/LICENSE +0 -0
  13. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/MANIFEST.in +0 -0
  14. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/NOTICE +0 -0
  15. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/setup.cfg +0 -0
  16. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/src/aws_cdk/cx_api/py.typed +0 -0
  17. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/src/aws_cdk.cx_api.egg-info/dependency_links.txt +0 -0
  18. {aws_cdk_cx_api-2.220.0 → aws_cdk_cx_api-2.232.2}/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.220.0
3
+ Version: 2.232.2
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -23,9 +23,9 @@ Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
25
  Requires-Dist: aws-cdk.cloud-assembly-schema>=45.0.0
26
- Requires-Dist: jsii<2.0.0,>=1.113.0
26
+ Requires-Dist: jsii<2.0.0,>=1.120.0
27
27
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard<4.3.0,>=2.13.3
28
+ Requires-Dist: typeguard==2.13.3
29
29
 
30
30
  # Cloud Executable API
31
31
 
@@ -794,6 +794,21 @@ When this feature flag is disabled, EgressOnlyGateway resource is created for al
794
794
  }
795
795
  ```
796
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
+
797
812
  * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
798
813
 
799
814
  When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
@@ -815,3 +830,19 @@ in the CloudFormation template.
815
830
  }
816
831
  }
817
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.
839
+
840
+ *cdk.json*
841
+
842
+ ```json
843
+ {
844
+ "context": {
845
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
846
+ }
847
+ }
848
+ ```
@@ -765,6 +765,21 @@ When this feature flag is disabled, EgressOnlyGateway resource is created for al
765
765
  }
766
766
  ```
767
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
+
768
783
  * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
769
784
 
770
785
  When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
@@ -786,3 +801,19 @@ in the CloudFormation template.
786
801
  }
787
802
  }
788
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.
810
+
811
+ *cdk.json*
812
+
813
+ ```json
814
+ {
815
+ "context": {
816
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
817
+ }
818
+ }
819
+ ```
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=75.3.2", "build~=1.2.2.post1"]
2
+ requires = ["setuptools~=75.3.2", "build~=1.3.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.cx-api",
8
- "version": "2.220.0",
8
+ "version": "2.232.2",
9
9
  "description": "Cloud executable protocol",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.cx_api._jsii": [
29
- "cx-api@2.220.0.jsii.tgz"
29
+ "cx-api@2.232.2.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.cx_api": [
32
32
  "py.typed"
@@ -35,9 +35,9 @@ kwargs = json.loads(
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
37
  "aws-cdk.cloud-assembly-schema>=45.0.0",
38
- "jsii>=1.113.0, <2.0.0",
38
+ "jsii>=1.120.0, <2.0.0",
39
39
  "publication>=0.0.3",
40
- "typeguard>=2.13.3,<4.3.0"
40
+ "typeguard==2.13.3"
41
41
  ],
42
42
  "classifiers": [
43
43
  "Intended Audience :: Developers",
@@ -766,6 +766,21 @@ When this feature flag is disabled, EgressOnlyGateway resource is created for al
766
766
  }
767
767
  ```
768
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
+
769
784
  * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
770
785
 
771
786
  When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
@@ -787,6 +802,22 @@ in the CloudFormation template.
787
802
  }
788
803
  }
789
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
818
+ }
819
+ }
820
+ ```
790
821
  '''
791
822
  from pkgutil import extend_path
792
823
  __path__ = extend_path(__path__, __name__)
@@ -1241,6 +1272,45 @@ class CloudAssembly(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudAss
1241
1272
 
1242
1273
  jsii.create(self.__class__, self, [directory, load_options])
1243
1274
 
1275
+ @jsii.member(jsii_name="cleanupTemporaryDirectories")
1276
+ @builtins.classmethod
1277
+ def cleanup_temporary_directories(cls) -> None:
1278
+ '''Cleans up any temporary assembly directories that got created in this process.
1279
+
1280
+ If a Cloud Assembly is emitted to a temporary directory, its directory gets
1281
+ added to a list. This function iterates over that list and deletes each
1282
+ directory in it, to free up disk space.
1283
+
1284
+ This function will normally be called automatically during Node process
1285
+ exit and so you don't need to call this. However, some test environments do
1286
+ not properly trigger Node's ``exit`` event. Notably: Jest does not trigger
1287
+ the ``exit`` event (`https://github.com/jestjs/jest/issues/10927 <https://github.com/jestjs/jest/issues/10927>`_).
1288
+
1289
+
1290
+ Cleaning up temporary directories in jest
1291
+
1292
+ For Jest, you have to make sure this function is called at the end of the
1293
+ test suite instead::
1294
+
1295
+ import { CloudAssembly } from 'aws-cdk-lib/cx-api';
1296
+
1297
+ afterAll(CloudAssembly.cleanupTemporaryDirectories);
1298
+
1299
+ Alternatively, you can use the ``setupFilesAfterEnv`` feature and use a
1300
+ provided helper script to automatically inject the above into every
1301
+ test file, so you don't have to do it by hand::
1302
+
1303
+ $ npx jest --setupFilesAfterEnv aws-cdk-lib/testhelpers/jest-autoclean
1304
+
1305
+ Or put the following into ``jest.config.js``::
1306
+
1307
+ module.exports = {
1308
+ // ...
1309
+ setupFilesAfterEnv: ['aws-cdk-lib/testhelpers/jest-cleanup'],
1310
+ };
1311
+ '''
1312
+ return typing.cast(None, jsii.sinvoke(cls, "cleanupTemporaryDirectories", []))
1313
+
1244
1314
  @jsii.member(jsii_name="isCloudAssembly")
1245
1315
  @builtins.classmethod
1246
1316
  def is_cloud_assembly(cls, x: typing.Any) -> builtins.bool:
@@ -4583,3 +4653,6 @@ def _typecheckingstub__0f13a4defa9d74d578442cc9dbb25cbe53318785930cd66e40d43ac92
4583
4653
  ) -> None:
4584
4654
  """Type checking stubs"""
4585
4655
  pass
4656
+
4657
+ for cls in [IEnvironmentPlaceholderProvider]:
4658
+ 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.220.0", __name__[0:-6], "cx-api@2.220.0.jsii.tgz"
34
+ "@aws-cdk/cx-api", "2.232.2", __name__[0:-6], "cx-api@2.232.2.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.220.0
3
+ Version: 2.232.2
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -23,9 +23,9 @@ Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
25
  Requires-Dist: aws-cdk.cloud-assembly-schema>=45.0.0
26
- Requires-Dist: jsii<2.0.0,>=1.113.0
26
+ Requires-Dist: jsii<2.0.0,>=1.120.0
27
27
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard<4.3.0,>=2.13.3
28
+ Requires-Dist: typeguard==2.13.3
29
29
 
30
30
  # Cloud Executable API
31
31
 
@@ -794,6 +794,21 @@ When this feature flag is disabled, EgressOnlyGateway resource is created for al
794
794
  }
795
795
  ```
796
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
+
797
812
  * `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
798
813
 
799
814
  When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
@@ -815,3 +830,19 @@ in the CloudFormation template.
815
830
  }
816
831
  }
817
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.
839
+
840
+ *cdk.json*
841
+
842
+ ```json
843
+ {
844
+ "context": {
845
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
846
+ }
847
+ }
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.220.0.jsii.tgz
15
+ src/aws_cdk/cx_api/_jsii/cx-api@2.232.2.jsii.tgz
@@ -1,4 +1,4 @@
1
1
  aws-cdk.cloud-assembly-schema>=45.0.0
2
- jsii<2.0.0,>=1.113.0
2
+ jsii<2.0.0,>=1.120.0
3
3
  publication>=0.0.3
4
- typeguard<4.3.0,>=2.13.3
4
+ typeguard==2.13.3