├── .github ├── solutionid_validator.sh └── workflows │ └── maintainer_workflows.yml ├── CHANGELOG.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── NOTICE.md ├── README.md ├── assets ├── Architecture.png └── reuse.png ├── deployment ├── .gitkeep └── sws_template_mlp.deployment └── source ├── .gitkeep ├── package-lock.json └── package.json /.github/solutionid_validator.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | #set -e 3 | 4 | echo "checking solution id $1" 5 | echo "grep -nr --exclude-dir='.github' "$1" ./.." 6 | result=$(grep -nr --exclude-dir='.github' "$1" ./..) 7 | if [ $? -eq 0 ] 8 | then 9 | echo "Solution ID $1 found\n" 10 | echo "$result" 11 | exit 0 12 | else 13 | echo "Solution ID $1 not found" 14 | exit 1 15 | fi 16 | 17 | export result 18 | -------------------------------------------------------------------------------- /.github/workflows/maintainer_workflows.yml: -------------------------------------------------------------------------------- 1 | # Workflows managed by aws-solutions-library-samples maintainers 2 | name: Maintainer Workflows 3 | on: 4 | # Triggers the workflow on push or pull request events but only for the "main" branch 5 | push: 6 | branches: [ "main" ] 7 | pull_request: 8 | branches: [ "main" ] 9 | types: [opened, reopened, edited] 10 | 11 | jobs: 12 | CheckSolutionId: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@v4 16 | - name: Run solutionid validator 17 | run: | 18 | chmod u+x ./.github/solutionid_validator.sh 19 | ./.github/solutionid_validator.sh ${{ vars.SOLUTIONID }} -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | All notable changes to this project will be documented in this file. 3 | 4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6 | 7 | ## [version number] - Enter the date here 8 | ### Added 9 | - Add comments here 10 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | CODEOWNERS @aws-solutions-library-samples/maintainers 2 | /.github/workflows/maintainer_workflows.yml @aws-solutions-library-samples/maintainers 3 | /.github/solutionid_validator.sh @aws-solutions-library-samples/maintainers 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 3 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 4 | opensource-codeofconduct@amazon.com with any additional questions or comments. 5 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing Guidelines 2 | 3 | Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional 4 | documentation, we greatly value feedback and contributions from our community. 5 | 6 | Please read through this document before submitting any issues or pull requests to ensure we have all the necessary 7 | information to effectively respond to your bug report or contribution. 8 | 9 | 10 | ## Reporting Bugs/Feature Requests 11 | 12 | We welcome you to use the GitHub issue tracker to report bugs or suggest features. 13 | 14 | When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already 15 | reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: 16 | 17 | * A reproducible test case or series of steps 18 | * The version of our code being used 19 | * Any modifications you've made relevant to the bug 20 | * Anything unusual about your environment or deployment 21 | 22 | 23 | ## Contributing via Pull Requests 24 | Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: 25 | 26 | 1. You are working against the latest source on the *main* branch. 27 | 2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. 28 | 3. You open an issue to discuss any significant work - we would hate for your time to be wasted. 29 | 30 | To send us a pull request, please: 31 | 32 | 1. Fork the repository. 33 | 2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. 34 | 3. Ensure local tests pass. 35 | 4. Commit to your fork using clear commit messages. 36 | 5. Send us a pull request, answering any default questions in the pull request interface. 37 | 6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. 38 | 39 | GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and 40 | [creating a pull request](https://help.github.com/articles/creating-a-pull-request/). 41 | 42 | 43 | ## Finding contributions to work on 44 | Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start. 45 | 46 | 47 | ## Code of Conduct 48 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 49 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 50 | opensource-codeofconduct@amazon.com with any additional questions or comments. 51 | 52 | 53 | ## Security issue notifications 54 | If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. 55 | 56 | 57 | ## Licensing 58 | 59 | See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. 60 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 7 | the Software, and to permit persons to whom the Software is furnished to do so. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 11 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 12 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 13 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 14 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 15 | 16 | -------------------------------------------------------------------------------- /NOTICE.md: -------------------------------------------------------------------------------- 1 | Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | 3 | ********************** 4 | THIRD PARTY COMPONENTS 5 | ********************** 6 | 7 | This software includes third party software subject to the following copyrights. 8 | 9 | WordPress 10 | © Automattic Inc. 11 | https://wordpress.org/about/license/ 12 | 13 | WooCommerce 14 | Copyright WooCommerce 2022 15 | https://wordpress.org/plugins/woocommerce 16 | 17 | Elementor 18 | © Elementor. All Rights Reserved 19 | https://wordpress.org/plugins/elementor/ 20 | 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | Simple E-commerce Website on AWS enables SMBs and Partners to quickly launch a WordPress website with e-commerce and analytics capabilities, without having to delve into complex coding or configuration. The Solution provides AWS customers an automatic, intuitive way to setup their website and also provides them optional AWS services to augment their website needs like backup and security. 3 | 4 | ## Support 5 | 6 | The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage. 7 | 8 | ## Prerequisites 9 | 10 | In order to deploy Simple E-commerce Website on AWS, you must first create an AWS account and have access to AWS CloudFormation. Additionally, the solution uses secrets stored in AWS Secrets Manager. To create a secret in AWS Secrets Manager, learn more in the [AWS Secrets Manager documentation.](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) 11 | 12 | ## Architecture 13 | 14 | 1. Website content is served via globally distributed Amazon CloudFront hosted in Amazon Lightsail. 15 | 2. All resources are managed in Amazon Lightsail including compute and storage 16 | 3. Custom Domains and SSL can be configured in Amazon Lightsail and the customer’s domain registrar. 17 | 4. WordPress plugins (WooCommerce, Elementor and website usage analytics) are automatically install and activated in customer’s WordPress instance 18 | 5. Your website instance is now created and you can login to the website with your user name and password, that you provided earlier. 19 | 20 | 21 | ![reuse](./assets/Architecture.png) 22 | -------------------------------------------------------------------------------- /assets/Architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-solutions-library-samples/guidance-for-simple-ecommerce-website-on-aws/80012c007d8debdb5fdd70ef27be010152d9479f/assets/Architecture.png -------------------------------------------------------------------------------- /assets/reuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-solutions-library-samples/guidance-for-simple-ecommerce-website-on-aws/80012c007d8debdb5fdd70ef27be010152d9479f/assets/reuse.png -------------------------------------------------------------------------------- /deployment/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-solutions-library-samples/guidance-for-simple-ecommerce-website-on-aws/80012c007d8debdb5fdd70ef27be010152d9479f/deployment/.gitkeep -------------------------------------------------------------------------------- /deployment/sws_template_mlp.deployment: -------------------------------------------------------------------------------- 1 | { 2 | "AWSTemplateFormatVersion": "2010-09-09", 3 | "Description": "(SO9097) Launch a Wordpress-Env-to-Lightsail. Version 0.0.1", 4 | "Parameters": { 5 | "WordpressAdminCredentials": { 6 | "Type": "String", 7 | "Default": "WordpressAdminCredentials", 8 | "Description": "The name of the AWS Secrets Manager secret stored in the same region and account.", 9 | "MinLength": 1 10 | }, 11 | "AdminEmail": { 12 | "Type": "String", 13 | "Default": "admin@yourdomain.com", 14 | "AllowedPattern": "[^@]+@[^@]+\\.[^@]+", 15 | "Description": "Email address of the administrator" 16 | }, 17 | "WebsiteName": { 18 | "Type": "String", 19 | "AllowedPattern": "[a-zA-Z0-9]*", 20 | "ConstraintDescription": "Must contain only alphanumeric characters.", 21 | "Description": "Name for your Wordpress Instance.", 22 | "MaxLength": 16 23 | }, 24 | "Region": { 25 | "Type": "String", 26 | "Default": "us-east-1", 27 | "AllowedValues": [ 28 | "ap-northeast-1", 29 | "ap-northeast-2", 30 | "ap-south-1", 31 | "ap-southeast-1", 32 | "ap-southeast-2", 33 | "ca-central-1", 34 | "eu-central-1", 35 | "eu-north-1", 36 | "eu-west-1 ", 37 | "eu-west-2 ", 38 | "eu-west-3", 39 | "us-east-1", 40 | "us-east-2 ", 41 | "us-west-1", 42 | "us-west-2" 43 | ], 44 | "Description": "Some Amazon Lightsail resources are only available in certain regions. Select a region from the below list." 45 | } 46 | }, 47 | "Resources": { 48 | "AmazonLightsailInstance": { 49 | "Type": "AWS::Lightsail::Instance", 50 | "Properties": { 51 | "BlueprintId": "wordpress", 52 | "BundleId": "nano_2_0", 53 | "InstanceName": { 54 | "Ref": "WebsiteName" 55 | }, 56 | "AddOns": [ 57 | { 58 | "AddOnType": "AutoSnapshot", 59 | "Status": "Disabled" 60 | } 61 | ], 62 | "AvailabilityZone": { 63 | "Fn::Select": [ 64 | 0, 65 | { 66 | "Fn::GetAZs": { 67 | "Ref": "Region" 68 | } 69 | } 70 | ] 71 | }, 72 | "UserData": { 73 | "Fn::Join": [ 74 | "", 75 | [ 76 | "#!/bin/bash \n # Create the admin user \n /opt/bitnami/wp-cli/bin/wp user create {{resolve:secretsmanager:arn:", 77 | { 78 | "Ref": "AWS::Partition" 79 | }, 80 | ":secretsmanager:", 81 | { 82 | "Ref": "Region" 83 | }, 84 | ":", 85 | { 86 | "Ref": "AWS::AccountId" 87 | }, 88 | ":secret:", 89 | { 90 | "Ref": "WordpressAdminCredentials" 91 | }, 92 | ":SecretString:AdminUsername::}} ", 93 | { 94 | "Ref": "AdminEmail" 95 | }, 96 | " --user_pass={{resolve:secretsmanager:arn:", 97 | { 98 | "Ref": "AWS::Partition" 99 | }, 100 | ":secretsmanager:", 101 | { 102 | "Ref": "Region" 103 | }, 104 | ":", 105 | { 106 | "Ref": "AWS::AccountId" 107 | }, 108 | ":secret:", 109 | { 110 | "Ref": "WordpressAdminCredentials" 111 | }, 112 | ":SecretString:AdminPassword::}} --role=administrator # install the elementor plugin\n /opt/bitnami/wp-cli/bin/wp plugin install elementor --activate\n echo \"##### INSTALL WP STATISTICS #####\"\n /opt/bitnami/wp-cli/bin/wp plugin install wp-statistics --activate\n echo \"##### INSTALL WOOCOMMERCE\"\n /opt/bitnami/wp-cli/bin/wp plugin install woocommerce --activate\n echo \"##### INSTALL WP Mail SMTP\"\n /opt/bitnami/wp-cli/bin/wp plugin install wp-mail-smtp --activate\n echo \"##### CONFIGURE Distribution Settings\"\n chmod 664 /opt/bitnami/wordpress/wp-config.php\n sudo /opt/bitnami/wp-cli/bin/wp config delete WP_SITEURL\n sudo /opt/bitnami/wp-cli/bin/wp config delete WP_HOME \n sed -i 1d /opt/bitnami/wordpress/wp-config.php\n touch /tmp/newfile.txt\n echo \" /tmp/newfile.txt\n cat /opt/bitnami/wordpress/wp-config.php >> /tmp/newfile.txt\n cp /tmp/newfile.txt /opt/bitnami/wordpress/wp-config.php\n sudo /opt/bitnami/ctlscript.sh restart apache \n" 113 | ] 114 | ] 115 | } 116 | } 117 | }, 118 | "AmazonLightsailStaticIp": { 119 | "Type": "AWS::Lightsail::StaticIp", 120 | "Properties": { 121 | "StaticIpName": { 122 | "Fn::Join": [ 123 | "", 124 | [ 125 | { 126 | "Ref": "WebsiteName" 127 | }, 128 | "_staticIp" 129 | ] 130 | ] 131 | }, 132 | "AttachedTo": { 133 | "Ref": "AmazonLightsailInstance" 134 | } 135 | } 136 | }, 137 | "AmazonLightsailDistribution": { 138 | "Type": "AWS::Lightsail::Distribution", 139 | "Properties": { 140 | "BundleId": "small_1_0", 141 | "DefaultCacheBehavior": { 142 | "Behavior": "dont-cache" 143 | }, 144 | "DistributionName": { 145 | "Fn::Join": [ 146 | "", 147 | [ 148 | { 149 | "Ref": "WebsiteName" 150 | }, 151 | "_distribution" 152 | ] 153 | ] 154 | }, 155 | "Origin": { 156 | "Name": { 157 | "Ref": "AmazonLightsailInstance" 158 | }, 159 | "ProtocolPolicy": "http-only", 160 | "RegionName": { 161 | "Ref": "Region" 162 | } 163 | }, 164 | "CacheBehaviors": [ 165 | { 166 | "Behavior": "cache", 167 | "Path": "wp-includes/*" 168 | }, 169 | { 170 | "Behavior": "cache", 171 | "Path": "wp-content/*" 172 | } 173 | ], 174 | "CacheBehaviorSettings": { 175 | "AllowedHTTPMethods": "GET,HEAD,OPTIONS", 176 | "DefaultTTL": 86400, 177 | "ForwardedCookies": { 178 | "Option": "none" 179 | }, 180 | "ForwardedHeaders": { 181 | "HeadersAllowList": [ 182 | "host" 183 | ], 184 | "Option": "allow-list" 185 | }, 186 | "ForwardedQueryStrings": { 187 | "Option": true 188 | } 189 | } 190 | }, 191 | "DependsOn": [ 192 | "AmazonLightsailStaticIp", 193 | "AmazonLightsailInstance" 194 | ] 195 | } 196 | }, 197 | "Outputs": { 198 | "OutStaticIp": { 199 | "Description": "Static IP of Lightsail instance. Configure an A record on your DNS Zone to point to this IP address.", 200 | "Value": { 201 | "Fn::GetAtt": [ 202 | "AmazonLightsailStaticIp", 203 | "IpAddress" 204 | ] 205 | } 206 | }, 207 | "DistributionDetails": { 208 | "Description": "Visit the above link to view the URL and cache details of your Lightsail Distribution.", 209 | "Value": { 210 | "Fn::Join": [ 211 | "", 212 | [ 213 | "https://lightsail.aws.amazon.com/ls/webapp/distributions/", 214 | { 215 | "Ref": "WebsiteName" 216 | }, 217 | "_distribution/details" 218 | ] 219 | ] 220 | } 221 | } 222 | } 223 | } -------------------------------------------------------------------------------- /source/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-solutions-library-samples/guidance-for-simple-ecommerce-website-on-aws/80012c007d8debdb5fdd70ef27be010152d9479f/source/.gitkeep -------------------------------------------------------------------------------- /source/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source", 3 | "lockfileVersion": 2, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "dependencies": { 8 | "cdk-nag": "^2.19.1" 9 | } 10 | }, 11 | "node_modules/aws-cdk-lib": { 12 | "version": "2.47.0", 13 | "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.47.0.tgz", 14 | "integrity": "sha512-XnxA7FMhJljsj6OtMMDbUi5lPPYcrehAxqpui5b2Nv2cBWhiG7Wb5baOuQy7niyPhZEX03A4k0vYFas/nnB91g==", 15 | "bundleDependencies": [ 16 | "@balena/dockerignore", 17 | "case", 18 | "fs-extra", 19 | "ignore", 20 | "jsonschema", 21 | "minimatch", 22 | "punycode", 23 | "semver", 24 | "yaml" 25 | ], 26 | "peer": true, 27 | "dependencies": { 28 | "@balena/dockerignore": "^1.0.2", 29 | "case": "1.6.3", 30 | "fs-extra": "^9.1.0", 31 | "ignore": "^5.2.0", 32 | "jsonschema": "^1.4.1", 33 | "minimatch": "^3.1.2", 34 | "punycode": "^2.1.1", 35 | "semver": "^7.3.8", 36 | "yaml": "1.10.2" 37 | }, 38 | "engines": { 39 | "node": ">= 14.15.0" 40 | }, 41 | "peerDependencies": { 42 | "constructs": "^10.0.0" 43 | } 44 | }, 45 | "node_modules/aws-cdk-lib/node_modules/@balena/dockerignore": { 46 | "version": "1.0.2", 47 | "inBundle": true, 48 | "license": "Apache-2.0", 49 | "peer": true 50 | }, 51 | "node_modules/aws-cdk-lib/node_modules/at-least-node": { 52 | "version": "1.0.0", 53 | "inBundle": true, 54 | "license": "ISC", 55 | "peer": true, 56 | "engines": { 57 | "node": ">= 4.0.0" 58 | } 59 | }, 60 | "node_modules/aws-cdk-lib/node_modules/balanced-match": { 61 | "version": "1.0.2", 62 | "inBundle": true, 63 | "license": "MIT", 64 | "peer": true 65 | }, 66 | "node_modules/aws-cdk-lib/node_modules/brace-expansion": { 67 | "version": "1.1.11", 68 | "inBundle": true, 69 | "license": "MIT", 70 | "peer": true, 71 | "dependencies": { 72 | "balanced-match": "^1.0.0", 73 | "concat-map": "0.0.1" 74 | } 75 | }, 76 | "node_modules/aws-cdk-lib/node_modules/case": { 77 | "version": "1.6.3", 78 | "inBundle": true, 79 | "license": "(MIT OR GPL-3.0-or-later)", 80 | "peer": true, 81 | "engines": { 82 | "node": ">= 0.8.0" 83 | } 84 | }, 85 | "node_modules/aws-cdk-lib/node_modules/concat-map": { 86 | "version": "0.0.1", 87 | "inBundle": true, 88 | "license": "MIT", 89 | "peer": true 90 | }, 91 | "node_modules/aws-cdk-lib/node_modules/fs-extra": { 92 | "version": "9.1.0", 93 | "inBundle": true, 94 | "license": "MIT", 95 | "peer": true, 96 | "dependencies": { 97 | "at-least-node": "^1.0.0", 98 | "graceful-fs": "^4.2.0", 99 | "jsonfile": "^6.0.1", 100 | "universalify": "^2.0.0" 101 | }, 102 | "engines": { 103 | "node": ">=10" 104 | } 105 | }, 106 | "node_modules/aws-cdk-lib/node_modules/graceful-fs": { 107 | "version": "4.2.10", 108 | "inBundle": true, 109 | "license": "ISC", 110 | "peer": true 111 | }, 112 | "node_modules/aws-cdk-lib/node_modules/ignore": { 113 | "version": "5.2.0", 114 | "inBundle": true, 115 | "license": "MIT", 116 | "peer": true, 117 | "engines": { 118 | "node": ">= 4" 119 | } 120 | }, 121 | "node_modules/aws-cdk-lib/node_modules/jsonfile": { 122 | "version": "6.1.0", 123 | "inBundle": true, 124 | "license": "MIT", 125 | "peer": true, 126 | "dependencies": { 127 | "universalify": "^2.0.0" 128 | }, 129 | "optionalDependencies": { 130 | "graceful-fs": "^4.1.6" 131 | } 132 | }, 133 | "node_modules/aws-cdk-lib/node_modules/jsonschema": { 134 | "version": "1.4.1", 135 | "inBundle": true, 136 | "license": "MIT", 137 | "peer": true, 138 | "engines": { 139 | "node": "*" 140 | } 141 | }, 142 | "node_modules/aws-cdk-lib/node_modules/lru-cache": { 143 | "version": "6.0.0", 144 | "inBundle": true, 145 | "license": "ISC", 146 | "peer": true, 147 | "dependencies": { 148 | "yallist": "^4.0.0" 149 | }, 150 | "engines": { 151 | "node": ">=10" 152 | } 153 | }, 154 | "node_modules/aws-cdk-lib/node_modules/minimatch": { 155 | "version": "3.1.2", 156 | "inBundle": true, 157 | "license": "ISC", 158 | "peer": true, 159 | "dependencies": { 160 | "brace-expansion": "^1.1.7" 161 | }, 162 | "engines": { 163 | "node": "*" 164 | } 165 | }, 166 | "node_modules/aws-cdk-lib/node_modules/punycode": { 167 | "version": "2.1.1", 168 | "inBundle": true, 169 | "license": "MIT", 170 | "peer": true, 171 | "engines": { 172 | "node": ">=6" 173 | } 174 | }, 175 | "node_modules/aws-cdk-lib/node_modules/semver": { 176 | "version": "7.3.8", 177 | "inBundle": true, 178 | "license": "ISC", 179 | "peer": true, 180 | "dependencies": { 181 | "lru-cache": "^6.0.0" 182 | }, 183 | "bin": { 184 | "semver": "bin/semver.js" 185 | }, 186 | "engines": { 187 | "node": ">=10" 188 | } 189 | }, 190 | "node_modules/aws-cdk-lib/node_modules/universalify": { 191 | "version": "2.0.0", 192 | "inBundle": true, 193 | "license": "MIT", 194 | "peer": true, 195 | "engines": { 196 | "node": ">= 10.0.0" 197 | } 198 | }, 199 | "node_modules/aws-cdk-lib/node_modules/yallist": { 200 | "version": "4.0.0", 201 | "inBundle": true, 202 | "license": "ISC", 203 | "peer": true 204 | }, 205 | "node_modules/aws-cdk-lib/node_modules/yaml": { 206 | "version": "1.10.2", 207 | "inBundle": true, 208 | "license": "ISC", 209 | "peer": true, 210 | "engines": { 211 | "node": ">= 6" 212 | } 213 | }, 214 | "node_modules/cdk-nag": { 215 | "version": "2.19.1", 216 | "resolved": "https://registry.npmjs.org/cdk-nag/-/cdk-nag-2.19.1.tgz", 217 | "integrity": "sha512-zQJDnXYEnTK32rFQMSJ7njO3QFAiF3Cr7yYglZ36R3+rw3vjo0jnB5vSYWR1nUabmRbBJnGATlztFwvyn33wDA==", 218 | "peerDependencies": { 219 | "aws-cdk-lib": "^2.21.0", 220 | "constructs": "^10.0.5" 221 | } 222 | }, 223 | "node_modules/constructs": { 224 | "version": "10.1.139", 225 | "resolved": "https://registry.npmjs.org/constructs/-/constructs-10.1.139.tgz", 226 | "integrity": "sha512-tLWhqwrUgZInn+G5hhuHHnp69jEUs/E/ATSjT3Y/XTLggFDBjOMp4yGO5gbXLyWB6PC75UAn0vco1YCX8PKSEw==", 227 | "peer": true, 228 | "engines": { 229 | "node": ">= 14.17.0" 230 | } 231 | } 232 | }, 233 | "dependencies": { 234 | "aws-cdk-lib": { 235 | "version": "2.47.0", 236 | "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.47.0.tgz", 237 | "integrity": "sha512-XnxA7FMhJljsj6OtMMDbUi5lPPYcrehAxqpui5b2Nv2cBWhiG7Wb5baOuQy7niyPhZEX03A4k0vYFas/nnB91g==", 238 | "peer": true, 239 | "requires": { 240 | "@balena/dockerignore": "^1.0.2", 241 | "case": "1.6.3", 242 | "fs-extra": "^9.1.0", 243 | "ignore": "^5.2.0", 244 | "jsonschema": "^1.4.1", 245 | "minimatch": "^3.1.2", 246 | "punycode": "^2.1.1", 247 | "semver": "^7.3.8", 248 | "yaml": "1.10.2" 249 | }, 250 | "dependencies": { 251 | "@balena/dockerignore": { 252 | "version": "1.0.2", 253 | "bundled": true, 254 | "peer": true 255 | }, 256 | "at-least-node": { 257 | "version": "1.0.0", 258 | "bundled": true, 259 | "peer": true 260 | }, 261 | "balanced-match": { 262 | "version": "1.0.2", 263 | "bundled": true, 264 | "peer": true 265 | }, 266 | "brace-expansion": { 267 | "version": "1.1.11", 268 | "bundled": true, 269 | "peer": true, 270 | "requires": { 271 | "balanced-match": "^1.0.0", 272 | "concat-map": "0.0.1" 273 | } 274 | }, 275 | "case": { 276 | "version": "1.6.3", 277 | "bundled": true, 278 | "peer": true 279 | }, 280 | "concat-map": { 281 | "version": "0.0.1", 282 | "bundled": true, 283 | "peer": true 284 | }, 285 | "fs-extra": { 286 | "version": "9.1.0", 287 | "bundled": true, 288 | "peer": true, 289 | "requires": { 290 | "at-least-node": "^1.0.0", 291 | "graceful-fs": "^4.2.0", 292 | "jsonfile": "^6.0.1", 293 | "universalify": "^2.0.0" 294 | } 295 | }, 296 | "graceful-fs": { 297 | "version": "4.2.10", 298 | "bundled": true, 299 | "peer": true 300 | }, 301 | "ignore": { 302 | "version": "5.2.0", 303 | "bundled": true, 304 | "peer": true 305 | }, 306 | "jsonfile": { 307 | "version": "6.1.0", 308 | "bundled": true, 309 | "peer": true, 310 | "requires": { 311 | "graceful-fs": "^4.1.6", 312 | "universalify": "^2.0.0" 313 | } 314 | }, 315 | "jsonschema": { 316 | "version": "1.4.1", 317 | "bundled": true, 318 | "peer": true 319 | }, 320 | "lru-cache": { 321 | "version": "6.0.0", 322 | "bundled": true, 323 | "peer": true, 324 | "requires": { 325 | "yallist": "^4.0.0" 326 | } 327 | }, 328 | "minimatch": { 329 | "version": "3.1.2", 330 | "bundled": true, 331 | "peer": true, 332 | "requires": { 333 | "brace-expansion": "^1.1.7" 334 | } 335 | }, 336 | "punycode": { 337 | "version": "2.1.1", 338 | "bundled": true, 339 | "peer": true 340 | }, 341 | "semver": { 342 | "version": "7.3.8", 343 | "bundled": true, 344 | "peer": true, 345 | "requires": { 346 | "lru-cache": "^6.0.0" 347 | } 348 | }, 349 | "universalify": { 350 | "version": "2.0.0", 351 | "bundled": true, 352 | "peer": true 353 | }, 354 | "yallist": { 355 | "version": "4.0.0", 356 | "bundled": true, 357 | "peer": true 358 | }, 359 | "yaml": { 360 | "version": "1.10.2", 361 | "bundled": true, 362 | "peer": true 363 | } 364 | } 365 | }, 366 | "cdk-nag": { 367 | "version": "2.19.1", 368 | "resolved": "https://registry.npmjs.org/cdk-nag/-/cdk-nag-2.19.1.tgz", 369 | "integrity": "sha512-zQJDnXYEnTK32rFQMSJ7njO3QFAiF3Cr7yYglZ36R3+rw3vjo0jnB5vSYWR1nUabmRbBJnGATlztFwvyn33wDA==", 370 | "requires": {} 371 | }, 372 | "constructs": { 373 | "version": "10.1.139", 374 | "resolved": "https://registry.npmjs.org/constructs/-/constructs-10.1.139.tgz", 375 | "integrity": "sha512-tLWhqwrUgZInn+G5hhuHHnp69jEUs/E/ATSjT3Y/XTLggFDBjOMp4yGO5gbXLyWB6PC75UAn0vco1YCX8PKSEw==", 376 | "peer": true 377 | } 378 | } 379 | } 380 | -------------------------------------------------------------------------------- /source/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "cdk-nag": "^2.19.1" 4 | } 5 | } 6 | --------------------------------------------------------------------------------