cdk-private-s3-hosting 0.0.5__py3-none-any.whl → 0.0.6__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-private-s3-hosting/__init__.py +3 -1
- cdk-private-s3-hosting/_jsii/__init__.py +2 -2
- cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.6.jsii.tgz +0 -0
- {cdk_private_s3_hosting-0.0.5.dist-info → cdk_private_s3_hosting-0.0.6.dist-info}/METADATA +4 -2
- cdk_private_s3_hosting-0.0.6.dist-info/RECORD +9 -0
- cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.5.jsii.tgz +0 -0
- cdk_private_s3_hosting-0.0.5.dist-info/RECORD +0 -9
- {cdk_private_s3_hosting-0.0.5.dist-info → cdk_private_s3_hosting-0.0.6.dist-info}/LICENSE +0 -0
- {cdk_private_s3_hosting-0.0.5.dist-info → cdk_private_s3_hosting-0.0.6.dist-info}/WHEEL +0 -0
- {cdk_private_s3_hosting-0.0.5.dist-info → cdk_private_s3_hosting-0.0.6.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ This is a CDK construct that creates a private S3 bucket and an Application Load
|
|
5
5
|
|
6
6
|
You can use this construct for a enterprise use case where you want to host a static website in a private network.
|
7
7
|
|
8
|
-
Original idea is from [this blog post](https://aws.amazon.com/jp/blogs/networking-and-content-delivery/hosting-internal-https-static-websites-with-alb-s3-and-privatelink/).
|
8
|
+
Original idea is from [this blog post](https://aws.amazon.com/jp/blogs/networking-and-content-delivery/hosting-internal-https-static-websites-with-alb-s3-and-privatelink/). And some implementations are referenced from [this post](https://qiita.com/k_bobchin/items/c016cc65912a905b90ef).
|
9
9
|
|
10
10
|
[](https://constructs.dev/packages/cdk-private-s3-hosting)
|
11
11
|
[](https://open.vscode.dev/badmintoncryer/cdk-private-s3-hosting)
|
@@ -88,6 +88,8 @@ After deploying the stack, you can access the website using the `domainName` you
|
|
88
88
|
|
89
89
|
**Note**: All access to the path pattern `*/` will be redirected to `/index.html`. Therefore, it will function correctly even when the path is set on the frontend and the page is reloaded.
|
90
90
|
|
91
|
+
**Note**: I also recommend to use [deploy-time-build](https://github.com/tmokmss/deploy-time-build) to build the frontend assets while deploying the stack.
|
92
|
+
|
91
93
|
## Setup DNS
|
92
94
|
|
93
95
|
This construct creates Route53 hosted zone and an A record for the domain name you specified by default.
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
33
33
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
35
35
|
"cdk-private-s3-hosting",
|
36
|
-
"0.0.
|
36
|
+
"0.0.6",
|
37
37
|
__name__[0:-6],
|
38
|
-
"cdk-private-s3-hosting@0.0.
|
38
|
+
"cdk-private-s3-hosting@0.0.6.jsii.tgz",
|
39
39
|
)
|
40
40
|
|
41
41
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-private-s3-hosting
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.6
|
4
4
|
Summary: CDK Construct for a private frontend hosting S3 bucket
|
5
5
|
Home-page: https://github.com/badmintoncryer/cdk-private-s3-hosting.git
|
6
6
|
Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
|
@@ -32,7 +32,7 @@ This is a CDK construct that creates a private S3 bucket and an Application Load
|
|
32
32
|
|
33
33
|
You can use this construct for a enterprise use case where you want to host a static website in a private network.
|
34
34
|
|
35
|
-
Original idea is from [this blog post](https://aws.amazon.com/jp/blogs/networking-and-content-delivery/hosting-internal-https-static-websites-with-alb-s3-and-privatelink/).
|
35
|
+
Original idea is from [this blog post](https://aws.amazon.com/jp/blogs/networking-and-content-delivery/hosting-internal-https-static-websites-with-alb-s3-and-privatelink/). And some implementations are referenced from [this post](https://qiita.com/k_bobchin/items/c016cc65912a905b90ef).
|
36
36
|
|
37
37
|
[](https://constructs.dev/packages/cdk-private-s3-hosting)
|
38
38
|
[](https://open.vscode.dev/badmintoncryer/cdk-private-s3-hosting)
|
@@ -115,6 +115,8 @@ After deploying the stack, you can access the website using the `domainName` you
|
|
115
115
|
|
116
116
|
**Note**: All access to the path pattern `*/` will be redirected to `/index.html`. Therefore, it will function correctly even when the path is set on the frontend and the page is reloaded.
|
117
117
|
|
118
|
+
**Note**: I also recommend to use [deploy-time-build](https://github.com/tmokmss/deploy-time-build) to build the frontend assets while deploying the stack.
|
119
|
+
|
118
120
|
## Setup DNS
|
119
121
|
|
120
122
|
This construct creates Route53 hosted zone and an A record for the domain name you specified by default.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
cdk-private-s3-hosting/__init__.py,sha256=hzdpyH8rm2ywJWjRv530ZCzJ_Haa8RJjnlxaBP2HLV8,19991
|
2
|
+
cdk-private-s3-hosting/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
cdk-private-s3-hosting/_jsii/__init__.py,sha256=AesgbVrmlfRVyoAv4yo-6JraDxEDtIKkLFnA7o5vgRY,1468
|
4
|
+
cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.6.jsii.tgz,sha256=Myt4ieFK1WV0SbP6Z3-PLuzHxS2Bwniy1e3SEWIWfy8,46439
|
5
|
+
cdk_private_s3_hosting-0.0.6.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
cdk_private_s3_hosting-0.0.6.dist-info/METADATA,sha256=s0Rnd99dbltLCOa7161H_wKIWcMCWGNf4LSt-eBoILw,6345
|
7
|
+
cdk_private_s3_hosting-0.0.6.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
+
cdk_private_s3_hosting-0.0.6.dist-info/top_level.txt,sha256=Garilimgavjx7-oTth2AD47uG-twwl6dTXCfLYQ1lqY,23
|
9
|
+
cdk_private_s3_hosting-0.0.6.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
cdk-private-s3-hosting/__init__.py,sha256=_S8L0sQ8xd3UNwVaHqKYqVWaSu5gJiIAlQzOgpSOcag,19720
|
2
|
-
cdk-private-s3-hosting/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
cdk-private-s3-hosting/_jsii/__init__.py,sha256=g2UfCtjznbsd3zYoGIawtnsIWTIEmI1b9O9uZmW0sc4,1468
|
4
|
-
cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.5.jsii.tgz,sha256=VHVg9N6KApECGuehqGf7ZprxZju43qixpHi_S5keKQU,46183
|
5
|
-
cdk_private_s3_hosting-0.0.5.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
cdk_private_s3_hosting-0.0.5.dist-info/METADATA,sha256=qrH7343XzCwdQLRujgOAW9HMXWxqMPAt74bWTQiKPqI,6074
|
7
|
-
cdk_private_s3_hosting-0.0.5.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
-
cdk_private_s3_hosting-0.0.5.dist-info/top_level.txt,sha256=Garilimgavjx7-oTth2AD47uG-twwl6dTXCfLYQ1lqY,23
|
9
|
-
cdk_private_s3_hosting-0.0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{cdk_private_s3_hosting-0.0.5.dist-info → cdk_private_s3_hosting-0.0.6.dist-info}/top_level.txt
RENAMED
File without changes
|