{"_id":"@dawaltconley/cfn-static-website","_rev":"3-b55fa026ffcdb9ceac22e9ef7062292b","name":"@dawaltconley/cfn-static-website","dist-tags":{"latest":"3.2.1"},"versions":{"3.1.0":{"name":"@dawaltconley/cfn-static-website","version":"3.1.0","keywords":["cloudformation","aws","static","website","netlify","cms"],"author":{"name":"Dylan Awalt-Conley"},"license":"ISC","_id":"@dawaltconley/cfn-static-website@3.1.0","maintainers":[{"name":"dawaltconley","email":"web@dylan.ac"}],"homepage":"https://github.com/dawaltconley/cloudformation#readme","bugs":{"url":"https://github.com/dawaltconley/cloudformation/issues"},"dist":{"shasum":"e1bec3f1f756fa480b01e9dc79e45bb50acd7a8b","tarball":"https://registry.npmjs.org/@dawaltconley/cfn-static-website/-/cfn-static-website-3.1.0.tgz","fileCount":18,"integrity":"sha512-knPafLVWDAYMO+fJMBJGGEFp7oJYrz+BVL5Xik8XEB9s/+7U+8va7/mXpKy65VkBdPx3Hxq+bBG9+Qj/DVkvqg==","signatures":[{"sig":"MEYCIQC+QzLDksp+SauNJwFihLCg9Wj059MOHQv1yOfFkcFmOgIhAPBdRDntnxZpSXfPRMgrtwhKHh94mzWEpqHRhsyAZHVh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50660},"main":"index.js","gitHead":"71470ba102a23097595e4c7aa9910cd764ffb143","scripts":{"test":"echo \"Error: no test specified\" && exit 1","preversion":"npm run update-docs","update-docs":"deno run --allow-read --allow-write document.js"},"_npmUser":{"name":"dawaltconley","email":"web@dylan.ac"},"repository":{"url":"git+https://github.com/dawaltconley/cfn-static-website.git","type":"git"},"_npmVersion":"9.8.1","description":"Modular cloudformation stacks for an AWS static website.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cfn-static-website_3.1.0_1708972370792_0.8768360202339771","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@dawaltconley/cfn-static-website","version":"3.2.0","keywords":["cloudformation","aws","static","website","netlify","cms"],"author":{"name":"Dylan Awalt-Conley"},"license":"ISC","_id":"@dawaltconley/cfn-static-website@3.2.0","maintainers":[{"name":"dawaltconley","email":"web@dylan.ac"}],"homepage":"https://github.com/dawaltconley/cloudformation#readme","bugs":{"url":"https://github.com/dawaltconley/cloudformation/issues"},"dist":{"shasum":"0d157b9dc8b569d389a8271dc01e86828af5c9d8","tarball":"https://registry.npmjs.org/@dawaltconley/cfn-static-website/-/cfn-static-website-3.2.0.tgz","fileCount":18,"integrity":"sha512-Napqe0eW1LiPP8zrPQcVBDFg92ffXbOXdQri2utsv5lsgFd+k7/JsKcM8Eqmjj62JhUOaftc6Fp0pHuJwnbFmA==","signatures":[{"sig":"MEYCIQCo+OgFD2T3rWrBsGMkeQcdp0zjVujMBwAmxl0eCS3lMQIhALhuHIuO/ps5giwI5XnNsqQc8O/syN6mu+f663tBwR/I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52794},"main":"index.js","gitHead":"c6d4cf9273eda4325afc7aa3f30cc9dc27307be5","scripts":{"test":"echo \"Error: no test specified\" && exit 1","preversion":"npm run update-docs","update-docs":"deno run --allow-read --allow-write document.js"},"_npmUser":{"name":"dawaltconley","email":"web@dylan.ac"},"repository":{"url":"git+https://github.com/dawaltconley/cfn-static-website.git","type":"git"},"_npmVersion":"10.5.0","description":"Modular cloudformation stacks for an AWS static website.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cfn-static-website_3.2.0_1709328131924_0.8806115245709152","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@dawaltconley/cfn-static-website","version":"3.2.1","description":"Modular cloudformation stacks for an AWS static website.","main":"index.js","scripts":{"update-docs":"deno run --allow-read --allow-write document.js","preversion":"npm run update-docs","test":"cfn-lint *.template.yaml","prepublishOnly":"npm test"},"repository":{"type":"git","url":"git+https://github.com/dawaltconley/cfn-static-website.git"},"keywords":["cloudformation","aws","static","website","netlify","cms"],"author":{"name":"Dylan Awalt-Conley"},"license":"ISC","bugs":{"url":"https://github.com/dawaltconley/cloudformation/issues"},"homepage":"https://github.com/dawaltconley/cloudformation#readme","_id":"@dawaltconley/cfn-static-website@3.2.1","gitHead":"ab98e0c844bcafcbc6c8f81b6b8ba1443dbccd5c","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-i+7AMbhK4HcqT++lpTamFeLDrC6L9n+jhgqLPEQokJSR4MbL8aYxMYtfDhYDdYI7s78obA3Gxeyw5SvqDlmyew==","shasum":"9fe78e9164092aed5fcd652da1a8acaab52f59cc","tarball":"https://registry.npmjs.org/@dawaltconley/cfn-static-website/-/cfn-static-website-3.2.1.tgz","fileCount":18,"unpackedSize":52936,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDt7ltSK3dxxZ2MJH/8HNK1gE/3cZLof8vAWi6e45uXPAIgF6IAFPNCQctWWOgA9YbRKe1YHTOA7aTjbAsLueeUwyg="}]},"_npmUser":{"name":"dawaltconley","email":"web@dylan.ac"},"directories":{},"maintainers":[{"name":"dawaltconley","email":"web@dylan.ac"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cfn-static-website_3.2.1_1788029874564_0.17149874652609864"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-26T18:32:50.721Z","modified":"2026-08-29T18:57:54.884Z","3.1.0":"2024-02-26T18:32:50.939Z","3.2.0":"2024-03-01T21:22:12.173Z","3.2.1":"2026-08-29T18:57:54.694Z"},"bugs":{"url":"https://github.com/dawaltconley/cloudformation/issues"},"author":{"name":"Dylan Awalt-Conley"},"license":"ISC","homepage":"https://github.com/dawaltconley/cloudformation#readme","keywords":["cloudformation","aws","static","website","netlify","cms"],"repository":{"type":"git","url":"git+https://github.com/dawaltconley/cfn-static-website.git"},"description":"Modular cloudformation stacks for an AWS static website.","maintainers":[{"name":"dawaltconley","email":"web@dylan.ac"}],"readme":"# Static Website CloudFormation Templates\n\nA number of modular CloudFormation templates for static website resources.\n\n## Templates\n\nSee the full documentation on each template. Note that some templates depend on \nexternal resources, which must be provisioned first. These resources are linked \nin their descriptions.\n\n- [domain.template.yaml](docs/domain.md)\n- [api-domain.template.yaml](docs/api-domain.md)\n- [cloudfront-redirects.template.yaml](docs/cloudfront-redirects.md)\n- [static-website.template.yaml](docs/static-website.md)\n- [git-pipeline.template.yaml](docs/git-pipeline.md)\n- [netlify-cms-deployment.template.yaml](docs/netlify-cms-deployment.md)\n\n## Example Usage\n\nInstall the templates using npm:\n\n```\nnpm install --save-dev @dawaltconley/cfn-static-website\n```\n\nCreate a template that references these as nested templates:\n\n```yaml\nAWSTemplateFormatVersion: 2010-09-09\nDescription: A static website.\n\nResources:\n  Domain:\n    Type: AWS::CloudFormation::Stack\n    DeletionPolicy: Retain\n    UpdateReplacePolicy: Delete\n    Properties:\n      TemplateURL: ./node_modules/@dawaltconley/cfn-static-website/domain.template.yaml\n      Parameters:\n        Domain: example.com\n  StaticWebsite:\n    Type: AWS::CloudFormation::Stack\n    Properties:\n      TemplateURL: ./node_modules/@dawaltconley/cfn-static-website/static-website.template.yaml\n      Parameters:\n        Domain: example.com\n        Subdomain: www\n        CertificateArn: !GetAtt Domain.Outputs.CertificateArn\n  GitHubDeployment:\n    Type: AWS::CloudFormation::Stack\n    Properties:\n      TemplateURL: ./node_modules/@dawaltconley/cfn-static-website/git-pipeline.template.yaml\n      Parameters:\n        SiteBucket: !GetAtt StaticWebsite.Outputs.SiteBucket\n        SourceLocation: https://github.com/example/repo.git\n        EnvironmentImage: aws/codebuild/standard:5.0\n        CacheType: S3\n  NetlifyCMS:\n    Type: AWS::CloudFormation::Stack\n    Properties:\n      TemplateURL: ./node_modules/@dawaltconley/cfn-static-website/netlify-cms-deployment.template.yaml\n      Parameters:\n        HostDomain: https://www.example.com\n        ApiDomain: example.com\n        ApiSubdomain: api\n        CertificateArn: !GetAtt Domain.Outputs.CertificateArn\n        ClientAuth: SSMParameterValue\n```\n\nPackage and deploy:\n\n```bash\naws cloudformation package \\\n  --template-file $TEMPLATE \\\n  --s3-bucket $BUCKET \\\n  --output-template-file $OUTPUT\naws cloudformation deploy \\\n  --template-file $OUTPUT \\\n  --stack-name $STACK_NAME \\\n  --capabilities CAPABILITY_IAM\n```\n","readmeFilename":"README.md"}