cdk-private-s3-hosting 0.0.2__tar.gz → 0.0.3__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_private_s3_hosting-0.0.2/src/cdk_private_s3_hosting.egg-info → cdk_private_s3_hosting-0.0.3}/PKG-INFO +16 -2
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/README.md +15 -1
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/setup.py +2 -2
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk-private-s3-hosting/__init__.py +15 -1
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk-private-s3-hosting/_jsii/__init__.py +2 -2
- cdk_private_s3_hosting-0.0.3/src/cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.3.jsii.tgz +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3/src/cdk_private_s3_hosting.egg-info}/PKG-INFO +16 -2
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk_private_s3_hosting.egg-info/SOURCES.txt +1 -1
- cdk_private_s3_hosting-0.0.2/src/cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.2.jsii.tgz +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/LICENSE +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/MANIFEST.in +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/pyproject.toml +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/setup.cfg +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk-private-s3-hosting/py.typed +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk_private_s3_hosting.egg-info/dependency_links.txt +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk_private_s3_hosting.egg-info/requires.txt +0 -0
- {cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk_private_s3_hosting.egg-info/top_level.txt +0 -0
@@ -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.3
|
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>
|
@@ -96,7 +96,21 @@ new s3deploy.BucketDeployment(this, 'DeployWebsite', {
|
|
96
96
|
After deploying the stack, you can access the website using the `domainName` you specified from the VPC.
|
97
97
|
|
98
98
|
```sh
|
99
|
-
curl http://cryer-nao-domain.com
|
99
|
+
[cloudshell-user@ip-10-0-31-170 ~]$ curl http://cryer-nao-domain.com/ -L
|
100
|
+
<!doctype html>
|
101
|
+
<html lang="en">
|
102
|
+
<head>
|
103
|
+
<meta charset="UTF-8" />
|
104
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
105
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
106
|
+
<title>Vite + React + TS</title>
|
107
|
+
<script type="module" crossorigin src="/assets/index-f40OySzR.js"></script>
|
108
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DiwrgTda.css">
|
109
|
+
</head>
|
110
|
+
<body>
|
111
|
+
<div id="root"></div>
|
112
|
+
</body>
|
113
|
+
</html>
|
100
114
|
```
|
101
115
|
|
102
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.
|
@@ -68,7 +68,21 @@ new s3deploy.BucketDeployment(this, 'DeployWebsite', {
|
|
68
68
|
After deploying the stack, you can access the website using the `domainName` you specified from the VPC.
|
69
69
|
|
70
70
|
```sh
|
71
|
-
curl http://cryer-nao-domain.com
|
71
|
+
[cloudshell-user@ip-10-0-31-170 ~]$ curl http://cryer-nao-domain.com/ -L
|
72
|
+
<!doctype html>
|
73
|
+
<html lang="en">
|
74
|
+
<head>
|
75
|
+
<meta charset="UTF-8" />
|
76
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
77
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
78
|
+
<title>Vite + React + TS</title>
|
79
|
+
<script type="module" crossorigin src="/assets/index-f40OySzR.js"></script>
|
80
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DiwrgTda.css">
|
81
|
+
</head>
|
82
|
+
<body>
|
83
|
+
<div id="root"></div>
|
84
|
+
</body>
|
85
|
+
</html>
|
72
86
|
```
|
73
87
|
|
74
88
|
**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.
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
5
5
|
"""
|
6
6
|
{
|
7
7
|
"name": "cdk-private-s3-hosting",
|
8
|
-
"version": "0.0.
|
8
|
+
"version": "0.0.3",
|
9
9
|
"description": "CDK Construct for a private frontend hosting S3 bucket",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"url": "https://github.com/badmintoncryer/cdk-private-s3-hosting.git",
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
26
26
|
],
|
27
27
|
"package_data": {
|
28
28
|
"cdk-private-s3-hosting._jsii": [
|
29
|
-
"cdk-private-s3-hosting@0.0.
|
29
|
+
"cdk-private-s3-hosting@0.0.3.jsii.tgz"
|
30
30
|
],
|
31
31
|
"cdk-private-s3-hosting": [
|
32
32
|
"py.typed"
|
{cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk-private-s3-hosting/__init__.py
RENAMED
@@ -69,7 +69,21 @@ new s3deploy.BucketDeployment(this, 'DeployWebsite', {
|
|
69
69
|
After deploying the stack, you can access the website using the `domainName` you specified from the VPC.
|
70
70
|
|
71
71
|
```sh
|
72
|
-
curl http://cryer-nao-domain.com
|
72
|
+
[cloudshell-user@ip-10-0-31-170 ~]$ curl http://cryer-nao-domain.com/ -L
|
73
|
+
<!doctype html>
|
74
|
+
<html lang="en">
|
75
|
+
<head>
|
76
|
+
<meta charset="UTF-8" />
|
77
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
78
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
79
|
+
<title>Vite + React + TS</title>
|
80
|
+
<script type="module" crossorigin src="/assets/index-f40OySzR.js"></script>
|
81
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DiwrgTda.css">
|
82
|
+
</head>
|
83
|
+
<body>
|
84
|
+
<div id="root"></div>
|
85
|
+
</body>
|
86
|
+
</html>
|
73
87
|
```
|
74
88
|
|
75
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.
|
@@ -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.3",
|
37
37
|
__name__[0:-6],
|
38
|
-
"cdk-private-s3-hosting@0.0.
|
38
|
+
"cdk-private-s3-hosting@0.0.3.jsii.tgz",
|
39
39
|
)
|
40
40
|
|
41
41
|
__all__ = [
|
cdk_private_s3_hosting-0.0.3/src/cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.3.jsii.tgz
ADDED
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.3
|
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>
|
@@ -96,7 +96,21 @@ new s3deploy.BucketDeployment(this, 'DeployWebsite', {
|
|
96
96
|
After deploying the stack, you can access the website using the `domainName` you specified from the VPC.
|
97
97
|
|
98
98
|
```sh
|
99
|
-
curl http://cryer-nao-domain.com
|
99
|
+
[cloudshell-user@ip-10-0-31-170 ~]$ curl http://cryer-nao-domain.com/ -L
|
100
|
+
<!doctype html>
|
101
|
+
<html lang="en">
|
102
|
+
<head>
|
103
|
+
<meta charset="UTF-8" />
|
104
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
105
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
106
|
+
<title>Vite + React + TS</title>
|
107
|
+
<script type="module" crossorigin src="/assets/index-f40OySzR.js"></script>
|
108
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DiwrgTda.css">
|
109
|
+
</head>
|
110
|
+
<body>
|
111
|
+
<div id="root"></div>
|
112
|
+
</body>
|
113
|
+
</html>
|
100
114
|
```
|
101
115
|
|
102
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.
|
@@ -6,7 +6,7 @@ setup.py
|
|
6
6
|
src/cdk-private-s3-hosting/__init__.py
|
7
7
|
src/cdk-private-s3-hosting/py.typed
|
8
8
|
src/cdk-private-s3-hosting/_jsii/__init__.py
|
9
|
-
src/cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.
|
9
|
+
src/cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.3.jsii.tgz
|
10
10
|
src/cdk_private_s3_hosting.egg-info/PKG-INFO
|
11
11
|
src/cdk_private_s3_hosting.egg-info/SOURCES.txt
|
12
12
|
src/cdk_private_s3_hosting.egg-info/dependency_links.txt
|
cdk_private_s3_hosting-0.0.2/src/cdk-private-s3-hosting/_jsii/cdk-private-s3-hosting@0.0.2.jsii.tgz
DELETED
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cdk_private_s3_hosting-0.0.2 → cdk_private_s3_hosting-0.0.3}/src/cdk-private-s3-hosting/py.typed
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|