AWS Secure Frontend Web App CloudFront Distribution (for AWS CDK v2)
AWS CloudFront distribution for frontend web app (spa) optimized.
Install
TypeScript
npm
npm install @gammarers/aws-secure-frontend-web-app-cloudfront-distribution
yarn
yarn add @gammarers/aws-secure-frontend-web-app-cloudfront-distribution
Python
pip install gammarers.aws-secure-frontend-web-app-cloudfront-distribution
C# / .NET
dotnet add package Gammarers.CDK.AWS.SecureFrontendWebAppCloudFrontDistribution
Example
for Origin Access Control
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.', // optional
accessLogBucket: accessLogBucket, // optional
certificate: certificate,
distributionDomainName: 'example.com',
originBucket: originBucket,
});
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for gammarers.aws-secure-frontend-web-app-cloudfront-distribution 2.1.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17.tar.gz | 37.0 kB | Without provenance | Details for gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17-py3-none-any.whl | Python 3 | none | any | Details for gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17-py3-none-any.whl |
Total release size: 73.5 kB
Release files / gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17.tar.gz
| Download URL | gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17.tar.gz |
|---|---|
| Size | 37.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15567603e0cfede979cbff08438bfb0693bec68829c337cbe3a7b7ec521eb86e
|
|
BLAKE2b-256 checksum How to use checksums |
3bc4b32bd71a45ffb17a7f510f0dcb61af9a819230311ffbc01c65eb6094e737
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.2
|
Release files / gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17-py3-none-any.whl
| Download URL | gammarers_aws_secure_frontend_web_app_cloudfront_distribution-2.1.17-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40bfc6823adb5eb6223811afb2381d30fd12ba1973e95999989504aa28c7d682
|
|
BLAKE2b-256 checksum How to use checksums |
e5609848e480ad00946b02535656c2075f91310407cbbb29e484df2685d2e11f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.2
|
Security for gammarers.aws-secure-frontend-web-app-cloudfront-distribution 2.1.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.