@gammarers/aws-secure-frontend-web-app-cloudfront-distribution
AWS CloudFront distribution for frontend web app (spa) optimized.
npm install @gammarers/aws-secure-frontend-web-app-cloudfront-distribution@2.0.19
AWS CloudFront distribution for frontend web app (spa) optimized.
npm install @gammarers/aws-secure-frontend-web-app-cloudfront-distribution
yarn add @gammarers/aws-secure-frontend-web-app-cloudfront-distribution
pip install gammarers.aws-secure-frontend-web-app-cloudfront-distribution
dotnet add package Gammarers.CDK.AWS.SecureFrontendWebAppCloudFrontDistribution
import { SecureFrontendWebAppCloudFrontDistribution } from '@gammarers/aws-secure-frontend-web-app-cloudfront-distribution';declare const originBucket: s3.Bucket;declare const accessLogBucket: s3.Bucket;declare const certificate: acm.Certificate;new SecureFrontendWebAppCloudFrontDistribution(stack, 'SecureFrontendWebAppCloudFrontDistribution', {comment: 'frontend web app distribution.', // optionalaccessLogBucket: accessLogBucket, // optionalcertificate: certificate,distributionDomainName: 'example.com',originBucket: originBucket,});
This project is licensed under the Apache-2.0 License.
Use the snippets below in your Git repositories or elsewhere to add a button that links to this package. The button will automatically update to light mode or dark mode based on whether the user's client has requested a light or dark theme.
[](https://constructs.dev/packages/@gammarers/aws-secure-frontend-web-app-cloudfront-distribution)
<a href="https://constructs.dev/packages/@gammarers/aws-secure-frontend-web-app-cloudfront-distribution"><img src="https://constructs.dev/badge?package=%40gammarers%2Faws-secure-frontend-web-app-cloudfront-distribution" alt="View on Construct Hub"/></a>