# AWS Frontend Web App Deploy Stack
[](https://github.com/yicr/aws-frontend-web-app-deploy-stack/blob/main/LICENSE)
[](https://www.npmjs.com/package/@gammarer/aws-frontend-web-app-deploy-stack)
[](https://pypi.org/project/gammarer.aws-frontend-web-app-deploy-stack/)
[](https://www.nuget.org/packages/Gammarer.CDK.AWS.FrontendWebAppDeployStack/)
[](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-frontend-web-app-deploy-stack/)
[](https://github.com/yicr/aws-frontend-web-app-deploy-stack/actions/workflows/release.yml)
[](https://github.com/yicr/aws-frontend-web-app-deploy-stack/releases)
[](https://constructs.dev/packages/@gammarer/aws-frontend-web-app-deploy-stack)
This is an AWS CDK Construct to make deploying a Frontend Web App (SPA) deploy to S3 behind CloudFront.
## Install
### TypeScript
```shell
npm install @gammarer/aws-frontend-web-app-deploy-stack
# or
yarn add @gammarer/aws-frontend-web-app-deploy-stack
```
### Python
```shell
pip install gammarer.aws-frontend-web-app-deploy-stack
```
### C# / .NET
```shell
dotnet add package Gammarer.CDK.AWS.FrontendWebAppDeployStack
```
### Java
Add the following to pom.xml:
```xml
<dependency>
<groupId>com.gammarer</groupId>
<artifactId>aws-frontend-web-app-deploy-stack</artifactId>
</dependency>
```
## Example
```python
import { FrontendWebAppDeployStack } from '@gammarer/aws-frontend-web-app-deploy-stack';
new FrontendWebAppDeployStack(app, 'FrontendWebAppDeployStack', {
env: { account: '012345678901', region: 'us-east-1' },
domainName: 'example.com',
hostedZoneId: 'Z0000000000000000000Q',
originBucketName: 'frontend-web-app-example-origin-bucket', // new create in this stack
deploySourceAssetPath: 'website/',
logBucketArn: 'arn:aws:s3:::frontend-web-app-example-access-log-bucket', // already created
});
```
## License
This project is licensed under the Apache-2.0 License.
Raw data
{
"_id": null,
"home_page": "https://github.com/gammarer/aws-frontend-web-app-deploy-stack.git",
"name": "gammarer.aws-frontend-web-app-deploy-stack",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.8",
"maintainer_email": null,
"keywords": null,
"author": "yicr<yicr@users.noreply.github.com>",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/6f/e5/c7459beaa5362ea958f7abe1671e48ea00e9beb3ab8c5d258588f6a64989/gammarer.aws-frontend-web-app-deploy-stack-1.1.7.tar.gz",
"platform": null,
"description": "# AWS Frontend Web App Deploy Stack\n\n[](https://github.com/yicr/aws-frontend-web-app-deploy-stack/blob/main/LICENSE)\n[](https://www.npmjs.com/package/@gammarer/aws-frontend-web-app-deploy-stack)\n[](https://pypi.org/project/gammarer.aws-frontend-web-app-deploy-stack/)\n[](https://www.nuget.org/packages/Gammarer.CDK.AWS.FrontendWebAppDeployStack/)\n[](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-frontend-web-app-deploy-stack/)\n[](https://github.com/yicr/aws-frontend-web-app-deploy-stack/actions/workflows/release.yml)\n[](https://github.com/yicr/aws-frontend-web-app-deploy-stack/releases)\n\n[](https://constructs.dev/packages/@gammarer/aws-frontend-web-app-deploy-stack)\n\nThis is an AWS CDK Construct to make deploying a Frontend Web App (SPA) deploy to S3 behind CloudFront.\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install @gammarer/aws-frontend-web-app-deploy-stack\n# or\nyarn add @gammarer/aws-frontend-web-app-deploy-stack\n```\n\n### Python\n\n```shell\npip install gammarer.aws-frontend-web-app-deploy-stack\n```\n\n### C# / .NET\n\n```shell\ndotnet add package Gammarer.CDK.AWS.FrontendWebAppDeployStack\n```\n\n### Java\n\nAdd the following to pom.xml:\n\n```xml\n<dependency>\n <groupId>com.gammarer</groupId>\n <artifactId>aws-frontend-web-app-deploy-stack</artifactId>\n</dependency>\n```\n\n## Example\n\n```python\nimport { FrontendWebAppDeployStack } from '@gammarer/aws-frontend-web-app-deploy-stack';\n\nnew FrontendWebAppDeployStack(app, 'FrontendWebAppDeployStack', {\n env: { account: '012345678901', region: 'us-east-1' },\n domainName: 'example.com',\n hostedZoneId: 'Z0000000000000000000Q',\n originBucketName: 'frontend-web-app-example-origin-bucket', // new create in this stack\n deploySourceAssetPath: 'website/',\n logBucketArn: 'arn:aws:s3:::frontend-web-app-example-access-log-bucket', // already created\n});\n```\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "This is an AWS CDK Construct to make deploying a Frontend Web App (SPA) deploy to S3 behind CloudFront.",
"version": "1.1.7",
"project_urls": {
"Homepage": "https://github.com/gammarer/aws-frontend-web-app-deploy-stack.git",
"Source": "https://github.com/gammarer/aws-frontend-web-app-deploy-stack.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dcff4849c0e5b10df8d85336f31e61ec48ff358f35899af6f744bf4a5b83a4f2",
"md5": "868880613bcaa3ab28a899e9ea29b75b",
"sha256": "4ce95ffc6d5ee417828e6e3b60b257c60772d190a4e6e1e23cb6b744d27c5197"
},
"downloads": -1,
"filename": "gammarer.aws_frontend_web_app_deploy_stack-1.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "868880613bcaa3ab28a899e9ea29b75b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 49633,
"upload_time": "2024-04-23T19:15:40",
"upload_time_iso_8601": "2024-04-23T19:15:40.764080Z",
"url": "https://files.pythonhosted.org/packages/dc/ff/4849c0e5b10df8d85336f31e61ec48ff358f35899af6f744bf4a5b83a4f2/gammarer.aws_frontend_web_app_deploy_stack-1.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6fe5c7459beaa5362ea958f7abe1671e48ea00e9beb3ab8c5d258588f6a64989",
"md5": "01cfee2f532315db1495b482f4f0d699",
"sha256": "8d2304749f11d4354a43fc89f04126aa65b1ab741709bad26f90ba6687723ce6"
},
"downloads": -1,
"filename": "gammarer.aws-frontend-web-app-deploy-stack-1.1.7.tar.gz",
"has_sig": false,
"md5_digest": "01cfee2f532315db1495b482f4f0d699",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 51074,
"upload_time": "2024-04-23T19:15:42",
"upload_time_iso_8601": "2024-04-23T19:15:42.348476Z",
"url": "https://files.pythonhosted.org/packages/6f/e5/c7459beaa5362ea958f7abe1671e48ea00e9beb3ab8c5d258588f6a64989/gammarer.aws-frontend-web-app-deploy-stack-1.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-23 19:15:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gammarer",
"github_project": "aws-frontend-web-app-deploy-stack",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gammarer.aws-frontend-web-app-deploy-stack"
}