├── .vscode ├── settings.json └── launch.json ├── usecases ├── webapp-java │ ├── lib │ │ ├── construct │ │ │ ├── index.ts │ │ │ ├── ecr │ │ │ │ ├── README.md │ │ │ │ └── ecr.ts │ │ │ ├── s3 │ │ │ │ ├── README.md │ │ │ │ └── bucket.ts │ │ │ ├── kms │ │ │ │ ├── README.md │ │ │ │ └── key.ts │ │ │ ├── codepipeline │ │ │ │ └── README.md │ │ │ ├── ec2 │ │ │ │ └── README.md │ │ │ ├── network │ │ │ │ └── README.md │ │ │ ├── ecs │ │ │ │ ├── README_SERVICE.md │ │ │ │ ├── README_BASE.md │ │ │ │ ├── README_JOB.md │ │ │ │ └── ecs-app-base.ts │ │ │ └── aurora │ │ │ │ └── README.md │ │ ├── domain-stack.ts │ │ ├── cicd-stack.ts │ │ ├── network-stack.ts │ │ ├── webapp-stack.ts │ │ └── storage-stack.ts │ ├── batch │ │ ├── src │ │ │ └── sample │ │ │ │ ├── __init__.py │ │ │ │ └── batch.py │ │ ├── requirements.txt │ │ ├── Dockerfile │ │ ├── README_ja.md │ │ └── README.md │ ├── .npmignore │ ├── docker │ │ └── nginx │ │ │ ├── static-content │ │ │ └── index.html │ │ │ ├── default.conf │ │ │ └── Dockerfile │ ├── ssl │ │ └── openssl_sign_inca.cnf │ ├── docs │ │ └── images │ │ │ ├── job.png │ │ │ ├── screenshot.png │ │ │ ├── repository_url_ja.png │ │ │ ├── architecture.drawio.png │ │ │ └── keypair_command_ja.png │ ├── webapp │ │ ├── src │ │ │ └── main │ │ │ │ ├── resources │ │ │ │ ├── data.sql │ │ │ │ ├── application.properties │ │ │ │ ├── schema.sql │ │ │ │ └── templates │ │ │ │ │ ├── sampleapplist.html │ │ │ │ │ └── sampleappform.html │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── sampleapp │ │ │ │ └── webapp │ │ │ │ ├── controller │ │ │ │ ├── form │ │ │ │ │ ├── SampleAppFormList.java │ │ │ │ │ └── SampleAppForm.java │ │ │ │ └── SampleAppController.java │ │ │ │ ├── domain │ │ │ │ ├── dto │ │ │ │ │ ├── SampleAppListDto.java │ │ │ │ │ └── SampleAppDto.java │ │ │ │ └── SampleAppService.java │ │ │ │ ├── repository │ │ │ │ ├── SampleAppRepository.java │ │ │ │ └── model │ │ │ │ │ └── SampleApp.java │ │ │ │ ├── WebappApplication.java │ │ │ │ └── ServletInitializer.java │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── settings.gradle │ │ ├── .gitignore │ │ ├── Dockerfile │ │ ├── log4j2.xml │ │ ├── buildspec.yaml │ │ ├── README_ja.md │ │ ├── README.md │ │ ├── build.gradle │ │ └── gradlew.bat │ ├── jest.config.js │ ├── .gitignore │ ├── test │ │ └── webapp-java.test.ts │ ├── parameter_template.ts │ ├── package.json │ ├── tsconfig.json │ └── scripts │ │ └── create_certificate.sh ├── webapp-react │ ├── batch │ │ ├── src │ │ │ └── sample │ │ │ │ ├── __init__.py │ │ │ │ └── batch.py │ │ ├── requirements.txt │ │ ├── Dockerfile │ │ ├── README_ja.md │ │ └── README.md │ ├── functions │ │ ├── .gitignore │ │ ├── package.json │ │ ├── get.ts │ │ ├── lib │ │ │ └── connect.ts │ │ ├── init.ts │ │ └── post.ts │ ├── webapp │ │ ├── sample.env │ │ ├── .prettierrc.json │ │ ├── public │ │ │ ├── robots.txt │ │ │ ├── favicon.ico │ │ │ ├── manifest.json │ │ │ └── index.html │ │ ├── docs │ │ │ └── images │ │ │ │ └── screenshot.png │ │ ├── src │ │ │ ├── vite-env.d.ts │ │ │ ├── types │ │ │ │ └── record.ts │ │ │ ├── setupTests.ts │ │ │ ├── index.css │ │ │ ├── reportWebVitals.ts │ │ │ ├── modules │ │ │ │ └── requests.ts │ │ │ ├── index.tsx │ │ │ └── components │ │ │ │ ├── RecordForm.tsx │ │ │ │ ├── RecordList.tsx │ │ │ │ ├── RecordFormRow.tsx │ │ │ │ └── Dashboard.tsx │ │ ├── tsconfig.node.json │ │ ├── .gitignore │ │ ├── buildspec.yaml │ │ ├── vite.config.ts │ │ ├── README_ja.md │ │ ├── index.html │ │ ├── README.md │ │ ├── tsconfig.json │ │ └── package.json │ ├── .npmignore │ ├── ssl │ │ └── openssl_sign_inca.cnf │ ├── jest.config.js │ ├── .gitignore │ ├── lib │ │ ├── construct │ │ │ ├── ecr │ │ │ │ ├── README.md │ │ │ │ └── ecr.ts │ │ │ ├── codepipeline │ │ │ │ ├── README.md │ │ │ │ └── codepipeline-webapp-react.ts │ │ │ ├── s3 │ │ │ │ ├── README.md │ │ │ │ └── bucket.ts │ │ │ ├── kms │ │ │ │ ├── README.md │ │ │ │ └── key.ts │ │ │ ├── ec2 │ │ │ │ └── README.md │ │ │ ├── network │ │ │ │ └── README.md │ │ │ ├── aurora │ │ │ │ ├── README_dbinitlambda.md │ │ │ │ ├── README.md │ │ │ │ └── dbinitlambda.ts │ │ │ ├── serverless │ │ │ │ ├── README_lambda.md │ │ │ │ ├── README_apigw.md │ │ │ │ └── README_serverless_app.md │ │ │ └── ecs │ │ │ │ └── README_JOB.md │ │ ├── domain-stack.ts │ │ ├── cicd-stack.ts │ │ ├── storage-stack.ts │ │ └── serverlessapp-stack.ts │ ├── parameter_template.ts │ ├── package.json │ └── tsconfig.json └── infraops-console │ ├── webapp │ ├── .dockerignore │ ├── .gitignore │ ├── postcss.config.js │ ├── tailwind.config.js │ ├── app │ │ ├── entry.client.tsx │ │ ├── utils │ │ │ ├── error.server.ts │ │ │ ├── session.server.ts │ │ │ ├── abac-filter.server.ts │ │ │ └── jwt-verify.server.ts │ │ ├── hooks │ │ │ └── useDebounce.ts │ │ ├── components │ │ │ ├── RequirementBadge.tsx │ │ │ ├── Label.tsx │ │ │ ├── Slot.tsx │ │ │ ├── index.ts │ │ │ ├── RefreshButton.tsx │ │ │ ├── Input.tsx │ │ │ ├── Modal.tsx │ │ │ ├── UniversalLink.tsx │ │ │ ├── Select.tsx │ │ │ ├── ErrorAlert.tsx │ │ │ ├── Table.tsx │ │ │ └── Button.tsx │ │ ├── routes │ │ │ ├── _index.tsx │ │ │ ├── api.instance-types.tsx │ │ │ ├── logout.tsx │ │ │ ├── api.services.ts │ │ │ ├── error.tsx │ │ │ ├── api.schedules.ts │ │ │ └── login.tsx │ │ ├── root.tsx │ │ ├── styles │ │ │ └── global.css │ │ └── entry.server.tsx │ ├── tsconfig.json │ ├── vite.config.ts │ ├── Dockerfile │ ├── package.json │ └── README_group_access.md │ ├── parameter_template.ts │ ├── functions │ └── ice-recovery │ │ └── package.json │ ├── package.json │ ├── tsconfig.json │ └── bin │ └── infraops-console.ts ├── NOTICE ├── docs └── images │ ├── job.png │ ├── prerequirsite_en.png │ ├── prerequirsite_ja.png │ ├── keypair_command_en.png │ ├── keypair_command_ja.png │ ├── repository_url_en.png │ ├── repository_url_ja.png │ ├── webapp-java.drawio.png │ ├── webapp-react.drawio.png │ └── infraops-console.drawio.png ├── CODE_OF_CONDUCT.md ├── .gitignore ├── LICENSE └── CONTRIBUTING.md /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /usecases/webapp-java/lib/construct/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /usecases/webapp-java/batch/src/sample/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /usecases/webapp-react/batch/src/sample/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /usecases/webapp-react/functions/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /usecases/webapp-java/batch/requirements.txt: -------------------------------------------------------------------------------- 1 | psycopg2-binary 2 | boto3 -------------------------------------------------------------------------------- /usecases/webapp-react/batch/requirements.txt: -------------------------------------------------------------------------------- 1 | psycopg2-binary 2 | boto3 -------------------------------------------------------------------------------- /usecases/webapp-react/webapp/sample.env: -------------------------------------------------------------------------------- 1 | REACT_APP_ENDPOINT_URL="https://{your-domain}/apigw/" -------------------------------------------------------------------------------- /usecases/infraops-console/webapp/.dockerignore: -------------------------------------------------------------------------------- 1 | .cache 2 | build 3 | node_modules 4 | .DS_Store 5 | .env -------------------------------------------------------------------------------- /usecases/infraops-console/webapp/.gitignore: -------------------------------------------------------------------------------- 1 | .cache 2 | build 3 | !postcss.config.js 4 | !tailwind.config.js -------------------------------------------------------------------------------- /usecases/webapp-java/.npmignore: -------------------------------------------------------------------------------- 1 | *.ts 2 | !*.d.ts 3 | 4 | # CDK asset staging directory 5 | .cdk.staging 6 | cdk.out 7 | -------------------------------------------------------------------------------- /usecases/webapp-react/.npmignore: -------------------------------------------------------------------------------- 1 | *.ts 2 | !*.d.ts 3 | 4 | # CDK asset staging directory 5 | .cdk.staging 6 | cdk.out 7 | -------------------------------------------------------------------------------- /usecases/webapp-react/webapp/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "singleQuote": true, 4 | "printWidth": 100 5 | } 6 | -------------------------------------------------------------------------------- /usecases/webapp-react/webapp/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Template of Closed Network System Works on AWS 2 | Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | -------------------------------------------------------------------------------- /docs/images/job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/template-for-closed-network-system-workloads-on-aws/HEAD/docs/images/job.png -------------------------------------------------------------------------------- /usecases/webapp-java/docker/nginx/static-content/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |It works!
4 | 5 |