cloudstructs 0.9.13__tar.gz → 0.9.15__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.
- {cloudstructs-0.9.13/src/cloudstructs.egg-info → cloudstructs-0.9.15}/PKG-INFO +6 -1
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/pyproject.toml +1 -1
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/setup.py +4 -4
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/src/cloudstructs/__init__.py +18 -3
- cloudstructs-0.9.15/src/cloudstructs/_jsii/__init__.py +42 -0
- cloudstructs-0.9.15/src/cloudstructs/_jsii/cloudstructs@0.9.15.jsii.tgz +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15/src/cloudstructs.egg-info}/PKG-INFO +6 -1
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/src/cloudstructs.egg-info/SOURCES.txt +1 -1
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/src/cloudstructs.egg-info/requires.txt +2 -2
- cloudstructs-0.9.13/src/cloudstructs/_jsii/__init__.py +0 -27
- cloudstructs-0.9.13/src/cloudstructs/_jsii/cloudstructs@0.9.13.jsii.tgz +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/LICENSE +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/MANIFEST.in +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/README.md +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/setup.cfg +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/src/cloudstructs/py.typed +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/src/cloudstructs.egg-info/dependency_links.txt +0 -0
- {cloudstructs-0.9.13 → cloudstructs-0.9.15}/src/cloudstructs.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudstructs
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.15
|
|
4
4
|
Summary: High-level constructs for AWS CDK
|
|
5
5
|
Home-page: https://github.com/jogold/cloudstructs.git
|
|
6
6
|
Author: Jonathan Goldwasser<jonathan.goldwasser@gmail.com>
|
|
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
|
|
|
20
20
|
Requires-Python: ~=3.8
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.133.0
|
|
24
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
26
|
+
Requires-Dist: publication>=0.0.3
|
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
23
28
|
|
|
24
29
|
# cloudstructs
|
|
25
30
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cloudstructs",
|
|
8
|
-
"version": "0.9.
|
|
8
|
+
"version": "0.9.15",
|
|
9
9
|
"description": "High-level constructs for AWS CDK",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/jogold/cloudstructs.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"cloudstructs._jsii": [
|
|
29
|
-
"cloudstructs@0.9.
|
|
29
|
+
"cloudstructs@0.9.15.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cloudstructs": [
|
|
32
32
|
"py.typed"
|
|
@@ -36,9 +36,9 @@ kwargs = json.loads(
|
|
|
36
36
|
"install_requires": [
|
|
37
37
|
"aws-cdk-lib>=2.133.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.5, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
39
|
+
"jsii>=1.103.1, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
41
|
-
"typeguard
|
|
41
|
+
"typeguard>=2.13.3,<5.0.0"
|
|
42
42
|
],
|
|
43
43
|
"classifiers": [
|
|
44
44
|
"Intended Audience :: Developers",
|
|
@@ -46,7 +46,22 @@ import jsii
|
|
|
46
46
|
import publication
|
|
47
47
|
import typing_extensions
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
import typeguard
|
|
50
|
+
from importlib.metadata import version as _metadata_package_version
|
|
51
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
52
|
+
|
|
53
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
54
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
55
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
56
|
+
else:
|
|
57
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
58
|
+
pass
|
|
59
|
+
else:
|
|
60
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
61
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
62
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
63
|
+
else:
|
|
64
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
50
65
|
|
|
51
66
|
from ._jsii import *
|
|
52
67
|
|
|
@@ -3192,7 +3207,7 @@ class StaticWebsite(
|
|
|
3192
3207
|
@jsii.member(jsii_name="defaultSecurityHeadersBehavior")
|
|
3193
3208
|
def default_security_headers_behavior(
|
|
3194
3209
|
cls,
|
|
3195
|
-
) -> _aws_cdk_aws_cloudfront_ceddda9d.ResponseSecurityHeadersBehavior: # pyright: ignore [reportGeneralTypeIssues]
|
|
3210
|
+
) -> _aws_cdk_aws_cloudfront_ceddda9d.ResponseSecurityHeadersBehavior: # pyright: ignore [reportGeneralTypeIssues,reportRedeclaration]
|
|
3196
3211
|
'''Best practice security headers used as default.'''
|
|
3197
3212
|
return typing.cast(_aws_cdk_aws_cloudfront_ceddda9d.ResponseSecurityHeadersBehavior, jsii.sget(cls, "defaultSecurityHeadersBehavior"))
|
|
3198
3213
|
|
|
@@ -3204,7 +3219,7 @@ class StaticWebsite(
|
|
|
3204
3219
|
if __debug__:
|
|
3205
3220
|
type_hints = typing.get_type_hints(_typecheckingstub__ff35a947730004c6e0408e6ec18be077978abf81aaf6d875e50506463132c574)
|
|
3206
3221
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3207
|
-
jsii.sset(cls, "defaultSecurityHeadersBehavior", value)
|
|
3222
|
+
jsii.sset(cls, "defaultSecurityHeadersBehavior", value) # pyright: ignore[reportArgumentType]
|
|
3208
3223
|
|
|
3209
3224
|
@builtins.property
|
|
3210
3225
|
@jsii.member(jsii_name="bucket")
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
from pkgutil import extend_path
|
|
2
|
+
__path__ = extend_path(__path__, __name__)
|
|
3
|
+
|
|
4
|
+
import abc
|
|
5
|
+
import builtins
|
|
6
|
+
import datetime
|
|
7
|
+
import enum
|
|
8
|
+
import typing
|
|
9
|
+
|
|
10
|
+
import jsii
|
|
11
|
+
import publication
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
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
|
|
30
|
+
|
|
31
|
+
import aws_cdk._jsii
|
|
32
|
+
import constructs._jsii
|
|
33
|
+
|
|
34
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
|
+
"cloudstructs", "0.9.15", __name__[0:-6], "cloudstructs@0.9.15.jsii.tgz"
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
__all__ = [
|
|
39
|
+
"__jsii_assembly__",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
publication.publish()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudstructs
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.15
|
|
4
4
|
Summary: High-level constructs for AWS CDK
|
|
5
5
|
Home-page: https://github.com/jogold/cloudstructs.git
|
|
6
6
|
Author: Jonathan Goldwasser<jonathan.goldwasser@gmail.com>
|
|
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
|
|
|
20
20
|
Requires-Python: ~=3.8
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.133.0
|
|
24
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
26
|
+
Requires-Dist: publication>=0.0.3
|
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
23
28
|
|
|
24
29
|
# cloudstructs
|
|
25
30
|
|
|
@@ -11,4 +11,4 @@ src/cloudstructs.egg-info/dependency_links.txt
|
|
|
11
11
|
src/cloudstructs.egg-info/requires.txt
|
|
12
12
|
src/cloudstructs.egg-info/top_level.txt
|
|
13
13
|
src/cloudstructs/_jsii/__init__.py
|
|
14
|
-
src/cloudstructs/_jsii/cloudstructs@0.9.
|
|
14
|
+
src/cloudstructs/_jsii/cloudstructs@0.9.15.jsii.tgz
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
from pkgutil import extend_path
|
|
2
|
-
__path__ = extend_path(__path__, __name__)
|
|
3
|
-
|
|
4
|
-
import abc
|
|
5
|
-
import builtins
|
|
6
|
-
import datetime
|
|
7
|
-
import enum
|
|
8
|
-
import typing
|
|
9
|
-
|
|
10
|
-
import jsii
|
|
11
|
-
import publication
|
|
12
|
-
import typing_extensions
|
|
13
|
-
|
|
14
|
-
from typeguard import check_type
|
|
15
|
-
|
|
16
|
-
import aws_cdk._jsii
|
|
17
|
-
import constructs._jsii
|
|
18
|
-
|
|
19
|
-
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
20
|
-
"cloudstructs", "0.9.13", __name__[0:-6], "cloudstructs@0.9.13.jsii.tgz"
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
__all__ = [
|
|
24
|
-
"__jsii_assembly__",
|
|
25
|
-
]
|
|
26
|
-
|
|
27
|
-
publication.publish()
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|