aws-cdk.cx-api 2.157.0__py3-none-any.whl → 2.159.0__py3-none-any.whl

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.

@@ -393,6 +393,23 @@ When this feature flag is enabled, use newly introduced props `s3InputUri` and `
393
393
  }
394
394
  }
395
395
  ```
396
+
397
+ * `@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions`
398
+
399
+ Currently, we will automatically add a number of cloudwatch permissions to the task role when no cloudwatch log group is
400
+ specified as logConfiguration and it will grant 'Resources': ['*'] to the task role.
401
+
402
+ When this feature flag is enabled, we will only grant the necessary permissions when users specify cloudwatch log group.
403
+
404
+ *cdk.json*
405
+
406
+ ```json
407
+ {
408
+ "context": {
409
+ "@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": true
410
+ }
411
+ }
412
+ ```
396
413
  '''
397
414
  from pkgutil import extend_path
398
415
  __path__ = extend_path(__path__, __name__)
@@ -407,7 +424,22 @@ import jsii
407
424
  import publication
408
425
  import typing_extensions
409
426
 
410
- from typeguard import check_type
427
+ import typeguard
428
+ from importlib.metadata import version as _metadata_package_version
429
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
430
+
431
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
432
+ if TYPEGUARD_MAJOR_VERSION <= 2:
433
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
434
+ else:
435
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
436
+ pass
437
+ else:
438
+ if TYPEGUARD_MAJOR_VERSION == 3:
439
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
440
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
441
+ else:
442
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
411
443
 
412
444
  from ._jsii import *
413
445
 
@@ -2093,6 +2125,8 @@ class LoadBalancerIpAddressType(enum.Enum):
2093
2125
  '''IPV4 ip address.'''
2094
2126
  DUAL_STACK = "DUAL_STACK"
2095
2127
  '''Dual stack address.'''
2128
+ DUAL_STACK_WITHOUT_PUBLIC_IPV4 = "DUAL_STACK_WITHOUT_PUBLIC_IPV4"
2129
+ '''IPv6 only public addresses, with private IPv4 and IPv6 addresses.'''
2096
2130
 
2097
2131
 
2098
2132
  @jsii.data_type(
@@ -11,12 +11,27 @@ import jsii
11
11
  import publication
12
12
  import typing_extensions
13
13
 
14
- from typeguard import check_type
14
+ import typeguard
15
+ from importlib.metadata import version as _metadata_package_version
16
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
+
18
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
+ if TYPEGUARD_MAJOR_VERSION <= 2:
20
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
+ else:
22
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
+ pass
24
+ else:
25
+ if TYPEGUARD_MAJOR_VERSION == 3:
26
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
+ else:
29
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
15
30
 
16
31
  import aws_cdk.cloud_assembly_schema._jsii
17
32
 
18
33
  __jsii_assembly__ = jsii.JSIIAssembly.load(
19
- "@aws-cdk/cx-api", "2.157.0", __name__[0:-6], "cx-api@2.157.0.jsii.tgz"
34
+ "@aws-cdk/cx-api", "2.159.0", __name__[0:-6], "cx-api@2.159.0.jsii.tgz"
20
35
  )
21
36
 
22
37
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.cx-api
3
- Version: 2.157.0
3
+ Version: 2.159.0
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -24,9 +24,9 @@ Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  License-File: NOTICE
26
26
  Requires-Dist: aws-cdk.cloud-assembly-schema<37.0.0,>=36.0.5
27
- Requires-Dist: jsii<2.0.0,>=1.102.0
27
+ Requires-Dist: jsii<2.0.0,>=1.103.1
28
28
  Requires-Dist: publication>=0.0.3
29
- Requires-Dist: typeguard~=2.13.3
29
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
30
30
 
31
31
  # Cloud Executable API
32
32
 
@@ -422,3 +422,20 @@ When this feature flag is enabled, use newly introduced props `s3InputUri` and `
422
422
  }
423
423
  }
424
424
  ```
425
+
426
+ * `@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions`
427
+
428
+ Currently, we will automatically add a number of cloudwatch permissions to the task role when no cloudwatch log group is
429
+ specified as logConfiguration and it will grant 'Resources': ['*'] to the task role.
430
+
431
+ When this feature flag is enabled, we will only grant the necessary permissions when users specify cloudwatch log group.
432
+
433
+ *cdk.json*
434
+
435
+ ```json
436
+ {
437
+ "context": {
438
+ "@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": true
439
+ }
440
+ }
441
+ ```
@@ -0,0 +1,10 @@
1
+ aws_cdk/cx_api/__init__.py,sha256=_7OOKh1yWUfKqShN9_IIpIilbRiV0ErxVJWyClD7Odg,181360
2
+ aws_cdk/cx_api/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ aws_cdk/cx_api/_jsii/__init__.py,sha256=EtSs-tbuuz-aWar82w-KvlgA082hLf1jGSuzn9_2rNU,1434
4
+ aws_cdk/cx_api/_jsii/cx-api@2.159.0.jsii.tgz,sha256=no3LJBrf2pT7q_ghD98fr2u1JKMrl_JeKJI1TEwqn24,213865
5
+ aws_cdk.cx_api-2.159.0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
6
+ aws_cdk.cx_api-2.159.0.dist-info/METADATA,sha256=F5JvVsfMncd9hrJk4jweVp80OcUHxzLkbqwWvPZE5Ng,14080
7
+ aws_cdk.cx_api-2.159.0.dist-info/NOTICE,sha256=7NBh7G38MUfvNz94ADBTirf0VgJwU48PUCT7jvrNxK4,1078
8
+ aws_cdk.cx_api-2.159.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
9
+ aws_cdk.cx_api-2.159.0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
+ aws_cdk.cx_api-2.159.0.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aws_cdk/cx_api/__init__.py,sha256=iJG7fpIWP9N3MRxBN_TbY864Se4b-H2w7RZj8XbVf10,179742
2
- aws_cdk/cx_api/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- aws_cdk/cx_api/_jsii/__init__.py,sha256=14OCQNAsd6Fc9qrD9-RdGdD48Yx8VSTH5gyaVPZlEXQ,466
4
- aws_cdk/cx_api/_jsii/cx-api@2.157.0.jsii.tgz,sha256=GP2030ZdEPeTUYm6J6bTsgRfD4eKWHu0z4oDVz2JlIo,212214
5
- aws_cdk.cx_api-2.157.0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
6
- aws_cdk.cx_api-2.157.0.dist-info/METADATA,sha256=gnXR15yiXR0Y1flhHQEpwvAP8aJuoIPsbNlEbYJ0y_U,13569
7
- aws_cdk.cx_api-2.157.0.dist-info/NOTICE,sha256=7NBh7G38MUfvNz94ADBTirf0VgJwU48PUCT7jvrNxK4,1078
8
- aws_cdk.cx_api-2.157.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
9
- aws_cdk.cx_api-2.157.0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
- aws_cdk.cx_api-2.157.0.dist-info/RECORD,,