cdk-preinstalled-amazon-linux-ec2 0.0.11__py3-none-any.whl → 0.0.12__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_preinstalled_amazon_linux_ec2/__init__.py +16 -1
- cdk_preinstalled_amazon_linux_ec2/_jsii/__init__.py +18 -3
- cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.12.jsii.tgz +0 -0
- {cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info → cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info}/METADATA +3 -3
- cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info/RECORD +9 -0
- {cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info → cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info}/WHEEL +1 -1
- cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.11.jsii.tgz +0 -0
- cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info/RECORD +0 -9
- {cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info → cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info}/LICENSE +0 -0
- {cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info → cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info}/top_level.txt +0 -0
@@ -105,7 +105,22 @@ import jsii
|
|
105
105
|
import publication
|
106
106
|
import typing_extensions
|
107
107
|
|
108
|
-
|
108
|
+
import typeguard
|
109
|
+
from importlib.metadata import version as _metadata_package_version
|
110
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
111
|
+
|
112
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
113
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
114
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
115
|
+
else:
|
116
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
117
|
+
pass
|
118
|
+
else:
|
119
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
120
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
121
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
122
|
+
else:
|
123
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
109
124
|
|
110
125
|
from ._jsii import *
|
111
126
|
|
@@ -11,16 +11,31 @@ 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
35
|
"cdk-preinstalled-amazon-linux-ec2",
|
21
|
-
"0.0.
|
36
|
+
"0.0.12",
|
22
37
|
__name__[0:-6],
|
23
|
-
"cdk-preinstalled-amazon-linux-ec2@0.0.
|
38
|
+
"cdk-preinstalled-amazon-linux-ec2@0.0.12.jsii.tgz",
|
24
39
|
)
|
25
40
|
|
26
41
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-preinstalled-amazon-linux-ec2
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.12
|
4
4
|
Summary: CDK Construct for creating an Amazon Linux EC2 instance with pre-installed software
|
5
5
|
Home-page: https://github.com/badmintoncryer/cdk-preinstalled-amazon-linux-ec2.git
|
6
6
|
Author: Kazuho CryerShinozuka<malaysia.cryer@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.143.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.1
|
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
|
# CDK Preinstalled Amazon Linux EC2 Instance Construct
|
30
30
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
cdk_preinstalled_amazon_linux_ec2/__init__.py,sha256=sZlghmcHPZ_neMkbA8F_UAk20TGZITRIQeajehFY15o,55273
|
2
|
+
cdk_preinstalled_amazon_linux_ec2/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
cdk_preinstalled_amazon_linux_ec2/_jsii/__init__.py,sha256=boNVSdeV810ISGRncSG2kyWd2J0-6G6GiwyjRb_5PbY,1492
|
4
|
+
cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.12.jsii.tgz,sha256=0MFWY3BJZsO3mDPzsymfHJj3Y2QHg2MhstR9mvsB3gA,26955
|
5
|
+
cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info/METADATA,sha256=IwSiwuGZOfV1bn70nINm1JRU5N3z3dkTii_YZ9uNoC4,4861
|
7
|
+
cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
8
|
+
cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info/top_level.txt,sha256=9-8USjq8vvN9Bm7BW8jTqhraimVCCUkpIUNhfVgADkk,34
|
9
|
+
cdk_preinstalled_amazon_linux_ec2-0.0.12.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
cdk_preinstalled_amazon_linux_ec2/__init__.py,sha256=on6eyKTzZSN19BvUtNO9KmwszmI53DeVDAf8iIIr9yw,54305
|
2
|
-
cdk_preinstalled_amazon_linux_ec2/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
cdk_preinstalled_amazon_linux_ec2/_jsii/__init__.py,sha256=YYA9nSB_8OoRlbqGzewn2SBtbAIvW0XqitmuTUIN0Uc,524
|
4
|
-
cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.11.jsii.tgz,sha256=1BmVDLcpIwPrIrPcRdX-l78oLwpvlJwCRpoTG0wsDnY,26936
|
5
|
-
cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info/METADATA,sha256=1ls8hPhs_sexocAQHPaMAf8fAmROF0dkEGvuUvzwC38,4854
|
7
|
-
cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
-
cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info/top_level.txt,sha256=9-8USjq8vvN9Bm7BW8jTqhraimVCCUkpIUNhfVgADkk,34
|
9
|
-
cdk_preinstalled_amazon_linux_ec2-0.0.11.dist-info/RECORD,,
|
File without changes
|