@cfn-modules/cloudfront

1.0.0 • Public • Published

cfn-modules: Amazon CloudFront

Amazon CloudFront to deliver content from S3 bucket

Install

Install Node.js and npm first!

npm i @cfn-modules/cloudfront

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Bucket:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        OriginBucketModule: !GetAtt 'Bucket.Outputs.StackName'
        LogsBucketModule: '' # optional
      TemplateURL: './node_modules/@cfn-modules/cloudfront/module.yml'

Parameters

Name Description Default Required? Allowed values
OriginBucketModule Stack name of s3-bucket module (only works in combination with Access := [CloudFrontRead]) yes
LogsBucketModule Stack name of s3-bucket module (only works in combination with Access := [CloudFrontAccessLogWrite]) no

Readme

Keywords

Package Sidebar

Install

npm i @cfn-modules/cloudfront

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

291 kB

Total Files

11

Last publish

Collaborators

  • hellomichibye
  • andreaswittig