cdk-simplewebsite-deploy 2.2.6__tar.gz → 2.2.8__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.
Files changed (17) hide show
  1. {cdk_simplewebsite_deploy-2.2.6/src/cdk_simplewebsite_deploy.egg-info → cdk_simplewebsite_deploy-2.2.8}/PKG-INFO +2 -2
  2. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/setup.py +3 -3
  3. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/src/cdk_simplewebsite_deploy/__init__.py +27 -8
  4. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/src/cdk_simplewebsite_deploy/_jsii/__init__.py +3 -3
  5. cdk_simplewebsite_deploy-2.2.8/src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.8.jsii.tgz +0 -0
  6. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8/src/cdk_simplewebsite_deploy.egg-info}/PKG-INFO +2 -2
  7. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/src/cdk_simplewebsite_deploy.egg-info/SOURCES.txt +1 -1
  8. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/src/cdk_simplewebsite_deploy.egg-info/requires.txt +1 -1
  9. cdk_simplewebsite_deploy-2.2.6/src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.6.jsii.tgz +0 -0
  10. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/LICENSE +0 -0
  11. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/MANIFEST.in +0 -0
  12. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/README.md +0 -0
  13. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/pyproject.toml +0 -0
  14. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/setup.cfg +0 -0
  15. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/src/cdk_simplewebsite_deploy/py.typed +0 -0
  16. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/src/cdk_simplewebsite_deploy.egg-info/dependency_links.txt +0 -0
  17. {cdk_simplewebsite_deploy-2.2.6 → cdk_simplewebsite_deploy-2.2.8}/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.6
3
+ Version: 2.2.8
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,7 +23,7 @@ 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.134.0
26
+ Requires-Dist: jsii<2.0.0,>=1.140.0
27
27
  Requires-Dist: publication>=0.0.3
28
28
 
29
29
  [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdk-simplewebsite-deploy",
8
- "version": "2.2.6",
8
+ "version": "2.2.8",
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.6.jsii.tgz"
29
+ "cdk-simplewebsite-deploy@2.2.8.jsii.tgz"
30
30
  ],
31
31
  "cdk_simplewebsite_deploy": [
32
32
  "py.typed"
@@ -36,7 +36,7 @@ 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.134.0, <2.0.0",
39
+ "jsii>=1.140.0, <2.0.0",
40
40
  "publication>=0.0.3"
41
41
  ],
42
42
  "classifiers": [
@@ -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,14 +448,31 @@ import jsii
446
448
  import publication
447
449
  import typing_extensions
448
450
 
449
- from jsii._type_checking import check_type
451
+ from jsii._type_checking import cached_type_hints, check_type
450
452
 
451
453
 
452
454
  from ._jsii import *
453
455
 
454
- import aws_cdk.aws_cloudfront as _aws_cdk_aws_cloudfront_ceddda9d
455
- import aws_cdk.aws_s3 as _aws_cdk_aws_s3_ceddda9d
456
- import constructs as _constructs_77d1e7e8
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")
457
476
 
458
477
 
459
478
  @jsii.data_type(
@@ -482,7 +501,7 @@ class BasicSiteConfiguration:
482
501
  :param error_doc: The error document of the website. Default: - No error document.
483
502
  '''
484
503
  if __debug__:
485
- type_hints = typing.get_type_hints(_typecheckingstub__55e1d457f7f88b408ecc128e65052c3c69d68b852e2406239079c5f4b76a672d)
504
+ type_hints = cached_type_hints(_typecheckingstub__55e1d457f7f88b408ecc128e65052c3c69d68b852e2406239079c5f4b76a672d)
486
505
  check_type(argname="argument hosted_zone", value=hosted_zone, expected_type=type_hints["hosted_zone"])
487
506
  check_type(argname="argument index_doc", value=index_doc, expected_type=type_hints["index_doc"])
488
507
  check_type(argname="argument website_folder", value=website_folder, expected_type=type_hints["website_folder"])
@@ -599,7 +618,7 @@ class CloudfrontSiteConfiguration:
599
618
  :param web_acl_id: Optional WAF Web ACL ARN for enhanced security. Default: - No WAF integration.
600
619
  '''
601
620
  if __debug__:
602
- type_hints = typing.get_type_hints(_typecheckingstub__0e850e19fcfb3492790ff3ec407df63abfa515b2415ed714c8499dc3239a822f)
621
+ type_hints = cached_type_hints(_typecheckingstub__0e850e19fcfb3492790ff3ec407df63abfa515b2415ed714c8499dc3239a822f)
603
622
  check_type(argname="argument hosted_zone", value=hosted_zone, expected_type=type_hints["hosted_zone"])
604
623
  check_type(argname="argument index_doc", value=index_doc, expected_type=type_hints["index_doc"])
605
624
  check_type(argname="argument website_folder", value=website_folder, expected_type=type_hints["website_folder"])
@@ -852,7 +871,7 @@ class CreateBasicSite(
852
871
  :stability: deprecated
853
872
  '''
854
873
  if __debug__:
855
- type_hints = typing.get_type_hints(_typecheckingstub__9b1cd29a96c6c8b996276e29a8e2730cf2a3c15a5c12e1c5bc0e23986cb136f7)
874
+ type_hints = cached_type_hints(_typecheckingstub__9b1cd29a96c6c8b996276e29a8e2730cf2a3c15a5c12e1c5bc0e23986cb136f7)
856
875
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
857
876
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
858
877
  props = BasicSiteConfiguration(
@@ -913,7 +932,7 @@ class CreateCloudfrontSite(
913
932
  :param web_acl_id: Optional WAF Web ACL ARN for enhanced security. Default: - No WAF integration.
914
933
  '''
915
934
  if __debug__:
916
- type_hints = typing.get_type_hints(_typecheckingstub__35939f41a1cbd87bd7b3fa20b126e3c79332b77b538ed266f3ea73f154b3c68a)
935
+ type_hints = cached_type_hints(_typecheckingstub__35939f41a1cbd87bd7b3fa20b126e3c79332b77b538ed266f3ea73f154b3c68a)
917
936
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
918
937
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
919
938
  props = CloudfrontSiteConfiguration(
@@ -11,7 +11,7 @@ import jsii
11
11
  import publication
12
12
  import typing_extensions
13
13
 
14
- from jsii._type_checking import check_type
14
+ from jsii._type_checking import cached_type_hints, check_type
15
15
 
16
16
 
17
17
  import aws_cdk._jsii
@@ -19,9 +19,9 @@ import constructs._jsii
19
19
 
20
20
  __jsii_assembly__ = jsii.JSIIAssembly.load(
21
21
  "cdk-simplewebsite-deploy",
22
- "2.2.6",
22
+ "2.2.8",
23
23
  __name__[0:-6],
24
- "cdk-simplewebsite-deploy@2.2.6.jsii.tgz",
24
+ "cdk-simplewebsite-deploy@2.2.8.jsii.tgz",
25
25
  )
26
26
 
27
27
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-simplewebsite-deploy
3
- Version: 2.2.6
3
+ Version: 2.2.8
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,7 +23,7 @@ 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.134.0
26
+ Requires-Dist: jsii<2.0.0,>=1.140.0
27
27
  Requires-Dist: publication>=0.0.3
28
28
 
29
29
  [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
@@ -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.6.jsii.tgz
14
+ src/cdk_simplewebsite_deploy/_jsii/cdk-simplewebsite-deploy@2.2.8.jsii.tgz
@@ -1,4 +1,4 @@
1
1
  aws-cdk-lib<3.0.0,>=2.248.0
2
2
  constructs<11.0.0,>=10.6.0
3
- jsii<2.0.0,>=1.134.0
3
+ jsii<2.0.0,>=1.140.0
4
4
  publication>=0.0.3