cdk-common 2.0.945__py3-none-any.whl → 2.0.947__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.
- cdk_common/__init__.py +20 -1
- cdk_common/_jsii/__init__.py +17 -2
- cdk_common/_jsii/cdk-common@2.0.947.jsii.tgz +0 -0
- {cdk_common-2.0.945.dist-info → cdk_common-2.0.947.dist-info}/METADATA +3 -3
- cdk_common-2.0.947.dist-info/RECORD +9 -0
- cdk_common/_jsii/cdk-common@2.0.945.jsii.tgz +0 -0
- cdk_common-2.0.945.dist-info/RECORD +0 -9
- {cdk_common-2.0.945.dist-info → cdk_common-2.0.947.dist-info}/LICENSE +0 -0
- {cdk_common-2.0.945.dist-info → cdk_common-2.0.947.dist-info}/WHEEL +0 -0
- {cdk_common-2.0.945.dist-info → cdk_common-2.0.947.dist-info}/top_level.txt +0 -0
cdk_common/__init__.py
CHANGED
@@ -66,7 +66,22 @@ import jsii
|
|
66
66
|
import publication
|
67
67
|
import typing_extensions
|
68
68
|
|
69
|
-
|
69
|
+
import typeguard
|
70
|
+
from importlib.metadata import version as _metadata_package_version
|
71
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
72
|
+
|
73
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
74
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
75
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
76
|
+
else:
|
77
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
78
|
+
pass
|
79
|
+
else:
|
80
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
81
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
82
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
83
|
+
else:
|
84
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
70
85
|
|
71
86
|
from ._jsii import *
|
72
87
|
|
@@ -4988,6 +5003,10 @@ class AWSManagedPolicies(enum.Enum):
|
|
4988
5003
|
'''
|
4989
5004
|
:stability: experimental
|
4990
5005
|
'''
|
5006
|
+
AWSPCSSERVICE_ROLE_POLICY = "AWSPCSSERVICE_ROLE_POLICY"
|
5007
|
+
'''
|
5008
|
+
:stability: experimental
|
5009
|
+
'''
|
4991
5010
|
|
4992
5011
|
|
4993
5012
|
class LambdaArmFunction(
|
cdk_common/_jsii/__init__.py
CHANGED
@@ -11,13 +11,28 @@ import jsii
|
|
11
11
|
import publication
|
12
12
|
import typing_extensions
|
13
13
|
|
14
|
-
|
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._jsii
|
17
32
|
import constructs._jsii
|
18
33
|
|
19
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
20
|
-
"cdk-common", "2.0.
|
35
|
+
"cdk-common", "2.0.947", __name__[0:-6], "cdk-common@2.0.947.jsii.tgz"
|
21
36
|
)
|
22
37
|
|
23
38
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-common
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.947
|
4
4
|
Summary: Common AWS CDK librarys.
|
5
5
|
Home-page: https://github.com/neilkuan/cdk-common.git
|
6
6
|
Author: Neil Kuan<guan840912@gmail.com>
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
23
23
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.126.0
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
25
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.0
|
26
26
|
Requires-Dist: publication>=0.0.3
|
27
|
-
Requires-Dist: typeguard
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
28
28
|
|
29
29
|
[](https://badge.fury.io/js/cdk-common)
|
30
30
|
[](https://badge.fury.io/py/cdk-common)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
cdk_common/__init__.py,sha256=Ai8tD2636NXc92vx179K8Yx-zImUSomx-tsZx9Z3JOM,239340
|
2
|
+
cdk_common/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
cdk_common/_jsii/__init__.py,sha256=cfxQWdogu5OU7mHe_ScEBbz4JaDtpiagI1xOOzEkbVE,1435
|
4
|
+
cdk_common/_jsii/cdk-common@2.0.947.jsii.tgz,sha256=0AxuCQeWNyz1HSnTJCskaTl2qhVlq5In8_Nyrp9BgmM,3832976
|
5
|
+
cdk_common-2.0.947.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
cdk_common-2.0.947.dist-info/METADATA,sha256=v8pKXF6ghYDNFTKiIURmnMAVxC1x_3WaF8cgzuCp8n0,2850
|
7
|
+
cdk_common-2.0.947.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
+
cdk_common-2.0.947.dist-info/top_level.txt,sha256=j-yYpe3jsSqUiLxxMpMr1hgaXubL4K7Bz1dAuyUz31k,11
|
9
|
+
cdk_common-2.0.947.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
cdk_common/__init__.py,sha256=YaN_NKT1HKqHkWMyq-26SIQsJu1ZiqXX4wipK5JIHuU,238267
|
2
|
-
cdk_common/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
cdk_common/_jsii/__init__.py,sha256=5Pd3omgzdt5Yb564ULDQ2EonAMwwQXs15QA9AxkUe0U,467
|
4
|
-
cdk_common/_jsii/cdk-common@2.0.945.jsii.tgz,sha256=LWxUdZhvcIAjjjLvy653213p4V8D4x13SuhGMc2OZqk,3822548
|
5
|
-
cdk_common-2.0.945.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
cdk_common-2.0.945.dist-info/METADATA,sha256=L8G0Qj84C88FKuJxENLSfsNXp0DAeJkBxhrRoUrYkQk,2843
|
7
|
-
cdk_common-2.0.945.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
-
cdk_common-2.0.945.dist-info/top_level.txt,sha256=j-yYpe3jsSqUiLxxMpMr1hgaXubL4K7Bz1dAuyUz31k,11
|
9
|
-
cdk_common-2.0.945.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|