cdk-simplewebsite-deploy 2.2.5__tar.gz → 2.2.7__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.
- {cdk_simplewebsite_deploy-2.2.5/src/cdk_simplewebsite_deploy.egg-info → cdk_simplewebsite_deploy-2.2.7}/PKG-INFO +2 -3
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/setup.py +4 -5
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/src/cdk_simplewebsite_deploy/__init__.py +28 -23
- cdk_simplewebsite_deploy-2.2.7/src/cdk_simplewebsite_deploy/_jsii/__init__.py +31 -0
- cdk_simplewebsite_deploy-2.2.7/src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.7.jsii.tgz +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7/src/cdk_simplewebsite_deploy.egg-info}/PKG-INFO +2 -3
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/src/cdk_simplewebsite_deploy.egg-info/SOURCES.txt +1 -1
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/src/cdk_simplewebsite_deploy.egg-info/requires.txt +1 -2
- cdk_simplewebsite_deploy-2.2.5/src/cdk_simplewebsite_deploy/_jsii/__init__.py +0 -45
- cdk_simplewebsite_deploy-2.2.5/src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.5.jsii.tgz +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/LICENSE +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/MANIFEST.in +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/README.md +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/pyproject.toml +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/setup.cfg +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/src/cdk_simplewebsite_deploy/py.typed +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/src/cdk_simplewebsite_deploy.egg-info/dependency_links.txt +0 -0
- {cdk_simplewebsite_deploy-2.2.5 → cdk_simplewebsite_deploy-2.2.7}/src/cdk_simplewebsite_deploy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cdk-simplewebsite-deploy
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.7
|
|
4
4
|
Summary: This is an AWS CDK v2 Construct to simplify deploying a single-page website use CloudFront distributions.
|
|
5
5
|
Home-page: https://github.com/SnapPetal/cdk-simplewebsite-deploy
|
|
6
6
|
Author: Thon Becker<thon.becker@gmail.com>
|
|
@@ -23,9 +23,8 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.248.0
|
|
25
25
|
Requires-Dist: constructs<11.0.0,>=10.6.0
|
|
26
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
26
|
+
Requires-Dist: jsii<2.0.0,>=1.139.0
|
|
27
27
|
Requires-Dist: publication>=0.0.3
|
|
28
|
-
Requires-Dist: typeguard==2.13.3
|
|
29
28
|
|
|
30
29
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
31
30
|

|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cdk-simplewebsite-deploy",
|
|
8
|
-
"version": "2.2.
|
|
8
|
+
"version": "2.2.7",
|
|
9
9
|
"description": "This is an AWS CDK v2 Construct to simplify deploying a single-page website use CloudFront distributions.",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/SnapPetal/cdk-simplewebsite-deploy",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"cdk_simplewebsite_deploy._jsii": [
|
|
29
|
-
"cdk-simplewebsite-deploy@2.2.
|
|
29
|
+
"cdk-simplewebsite-deploy@2.2.7.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cdk_simplewebsite_deploy": [
|
|
32
32
|
"py.typed"
|
|
@@ -36,9 +36,8 @@ kwargs = json.loads(
|
|
|
36
36
|
"install_requires": [
|
|
37
37
|
"aws-cdk-lib>=2.248.0, <3.0.0",
|
|
38
38
|
"constructs>=10.6.0, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
40
|
-
"publication>=0.0.3"
|
|
41
|
-
"typeguard==2.13.3"
|
|
39
|
+
"jsii>=1.139.0, <2.0.0",
|
|
40
|
+
"publication>=0.0.3"
|
|
42
41
|
],
|
|
43
42
|
"classifiers": [
|
|
44
43
|
"Intended Audience :: Developers",
|
|
@@ -433,6 +433,8 @@ export class AdvancedWebsiteStack extends cdk.Stack {
|
|
|
433
433
|
|
|
434
434
|
Distributed under the [Apache-2.0](./LICENSE) license.
|
|
435
435
|
'''
|
|
436
|
+
from __future__ import annotations
|
|
437
|
+
|
|
436
438
|
from pkgutil import extend_path
|
|
437
439
|
__path__ = extend_path(__path__, __name__)
|
|
438
440
|
|
|
@@ -446,28 +448,31 @@ import jsii
|
|
|
446
448
|
import publication
|
|
447
449
|
import typing_extensions
|
|
448
450
|
|
|
449
|
-
import
|
|
450
|
-
|
|
451
|
-
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
452
|
-
|
|
453
|
-
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
454
|
-
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
455
|
-
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
456
|
-
else:
|
|
457
|
-
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
458
|
-
pass
|
|
459
|
-
else:
|
|
460
|
-
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
461
|
-
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
462
|
-
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
463
|
-
else:
|
|
464
|
-
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
451
|
+
from jsii._type_checking import cached_type_hints, check_type
|
|
452
|
+
|
|
465
453
|
|
|
466
454
|
from ._jsii import *
|
|
467
455
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
456
|
+
class _LazyImport:
|
|
457
|
+
def __init__(self, module_name: str) -> None:
|
|
458
|
+
self._module_name = module_name
|
|
459
|
+
self._module: typing.Any = None
|
|
460
|
+
def __getattr__(self, name: str) -> typing.Any:
|
|
461
|
+
if self._module is None:
|
|
462
|
+
import importlib
|
|
463
|
+
self._module = importlib.import_module(self._module_name)
|
|
464
|
+
return getattr(self._module, name)
|
|
465
|
+
|
|
466
|
+
if typing.TYPE_CHECKING:
|
|
467
|
+
|
|
468
|
+
import aws_cdk.aws_cloudfront as _aws_cdk_aws_cloudfront_ceddda9d
|
|
469
|
+
import aws_cdk.aws_s3 as _aws_cdk_aws_s3_ceddda9d
|
|
470
|
+
import constructs as _constructs_77d1e7e8
|
|
471
|
+
else:
|
|
472
|
+
|
|
473
|
+
_aws_cdk_aws_cloudfront_ceddda9d = _LazyImport("aws_cdk.aws_cloudfront")
|
|
474
|
+
_aws_cdk_aws_s3_ceddda9d = _LazyImport("aws_cdk.aws_s3")
|
|
475
|
+
_constructs_77d1e7e8 = _LazyImport("constructs")
|
|
471
476
|
|
|
472
477
|
|
|
473
478
|
@jsii.data_type(
|
|
@@ -496,7 +501,7 @@ class BasicSiteConfiguration:
|
|
|
496
501
|
:param error_doc: The error document of the website. Default: - No error document.
|
|
497
502
|
'''
|
|
498
503
|
if __debug__:
|
|
499
|
-
type_hints =
|
|
504
|
+
type_hints = cached_type_hints(_typecheckingstub__55e1d457f7f88b408ecc128e65052c3c69d68b852e2406239079c5f4b76a672d)
|
|
500
505
|
check_type(argname="argument hosted_zone", value=hosted_zone, expected_type=type_hints["hosted_zone"])
|
|
501
506
|
check_type(argname="argument index_doc", value=index_doc, expected_type=type_hints["index_doc"])
|
|
502
507
|
check_type(argname="argument website_folder", value=website_folder, expected_type=type_hints["website_folder"])
|
|
@@ -613,7 +618,7 @@ class CloudfrontSiteConfiguration:
|
|
|
613
618
|
:param web_acl_id: Optional WAF Web ACL ARN for enhanced security. Default: - No WAF integration.
|
|
614
619
|
'''
|
|
615
620
|
if __debug__:
|
|
616
|
-
type_hints =
|
|
621
|
+
type_hints = cached_type_hints(_typecheckingstub__0e850e19fcfb3492790ff3ec407df63abfa515b2415ed714c8499dc3239a822f)
|
|
617
622
|
check_type(argname="argument hosted_zone", value=hosted_zone, expected_type=type_hints["hosted_zone"])
|
|
618
623
|
check_type(argname="argument index_doc", value=index_doc, expected_type=type_hints["index_doc"])
|
|
619
624
|
check_type(argname="argument website_folder", value=website_folder, expected_type=type_hints["website_folder"])
|
|
@@ -866,7 +871,7 @@ class CreateBasicSite(
|
|
|
866
871
|
:stability: deprecated
|
|
867
872
|
'''
|
|
868
873
|
if __debug__:
|
|
869
|
-
type_hints =
|
|
874
|
+
type_hints = cached_type_hints(_typecheckingstub__9b1cd29a96c6c8b996276e29a8e2730cf2a3c15a5c12e1c5bc0e23986cb136f7)
|
|
870
875
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
871
876
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
872
877
|
props = BasicSiteConfiguration(
|
|
@@ -927,7 +932,7 @@ class CreateCloudfrontSite(
|
|
|
927
932
|
:param web_acl_id: Optional WAF Web ACL ARN for enhanced security. Default: - No WAF integration.
|
|
928
933
|
'''
|
|
929
934
|
if __debug__:
|
|
930
|
-
type_hints =
|
|
935
|
+
type_hints = cached_type_hints(_typecheckingstub__35939f41a1cbd87bd7b3fa20b126e3c79332b77b538ed266f3ea73f154b3c68a)
|
|
931
936
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
932
937
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
933
938
|
props = CloudfrontSiteConfiguration(
|
|
@@ -0,0 +1,31 @@
|
|
|
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 jsii._type_checking import cached_type_hints, check_type
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
import aws_cdk._jsii
|
|
18
|
+
import constructs._jsii
|
|
19
|
+
|
|
20
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
21
|
+
"cdk-simplewebsite-deploy",
|
|
22
|
+
"2.2.7",
|
|
23
|
+
__name__[0:-6],
|
|
24
|
+
"cdk-simplewebsite-deploy@2.2.7.jsii.tgz",
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
__all__ = [
|
|
28
|
+
"__jsii_assembly__",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
publication.publish()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cdk-simplewebsite-deploy
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.7
|
|
4
4
|
Summary: This is an AWS CDK v2 Construct to simplify deploying a single-page website use CloudFront distributions.
|
|
5
5
|
Home-page: https://github.com/SnapPetal/cdk-simplewebsite-deploy
|
|
6
6
|
Author: Thon Becker<thon.becker@gmail.com>
|
|
@@ -23,9 +23,8 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.248.0
|
|
25
25
|
Requires-Dist: constructs<11.0.0,>=10.6.0
|
|
26
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
26
|
+
Requires-Dist: jsii<2.0.0,>=1.139.0
|
|
27
27
|
Requires-Dist: publication>=0.0.3
|
|
28
|
-
Requires-Dist: typeguard==2.13.3
|
|
29
28
|
|
|
30
29
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
31
30
|

|
|
@@ -11,4 +11,4 @@ src/cdk_simplewebsite_deploy.egg-info/dependency_links.txt
|
|
|
11
11
|
src/cdk_simplewebsite_deploy.egg-info/requires.txt
|
|
12
12
|
src/cdk_simplewebsite_deploy.egg-info/top_level.txt
|
|
13
13
|
src/cdk_simplewebsite_deploy/_jsii/__init__.py
|
|
14
|
-
src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.
|
|
14
|
+
src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.7.jsii.tgz
|
|
@@ -1,45 +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
|
-
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
|
-
"cdk-simplewebsite-deploy",
|
|
36
|
-
"2.2.5",
|
|
37
|
-
__name__[0:-6],
|
|
38
|
-
"cdk-simplewebsite-deploy@2.2.5.jsii.tgz",
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
__all__ = [
|
|
42
|
-
"__jsii_assembly__",
|
|
43
|
-
]
|
|
44
|
-
|
|
45
|
-
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
|