AWS Secure CloudFront Origin Bucket (for CDK v2)
An AWS CDK construct library to create secure S3 buckets for CloudFront origin.
Install
TypeScript
install by npm
npm install @gammarers/aws-secure-cloudfront-origin-bucket
install by yarn
yarn add @gammarers/aws-secure-cloudfront-origin-bucket
install by pnpm
pnpm add @gammarers/aws-secure-cloudfront-origin-bucket
install by bun
bun add @gammarers/aws-secure-cloudfront-origin-bucket
Python
pip install gammarers.aws-secure-cloudfront-origin-bucket
C# / .NET
dotnet add package gammarers.CDK.AWS.SecureCloudFrontOriginBucket
Example
for OAC(Origin Access Control)
import { SecureCloudFrontOriginBucket, SecureCloudFrontOriginType } from '@gammarers/aws-secure-cloudfront-origin-bucket';
const originBucket = new SecureCloudFrontOriginBucket(stack, 'SecureCloudFrontOriginBucket', {
bucketName: 'example-origin-bucket',
});
const distribution = new cloudfront.Distribution(this, 'Distribution', {
defaultRootObject: 'index.html',
defaultBehavior: {
origin: origins.S3BucketOrigin.withOriginAccessControl(originBucket),
},
});
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for gammarers.aws-secure-cloudfront-origin-bucket 2.1.22
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_cloudfront_origin_bucket-2.1.22.tar.gz | 52.3 kB | Without provenance | Details for gammarers_aws_secure_cloudfront_origin_bucket-2.1.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gammarers_aws_secure_cloudfront_origin_bucket-2.1.22-py3-none-any.whl | Python 3 | none | any | Details for gammarers_aws_secure_cloudfront_origin_bucket-2.1.22-py3-none-any.whl |
Total release size: 102.8 kB
Release files / gammarers_aws_secure_cloudfront_origin_bucket-2.1.22.tar.gz
| Download URL | gammarers_aws_secure_cloudfront_origin_bucket-2.1.22.tar.gz |
|---|---|
| Size | 52.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee420f42b860db6a322d3e4e8c48198469a8f82ad2cbd3a826537b19e56508ed
|
|
BLAKE2b-256 checksum How to use checksums |
77d31b071e210317d8124d89317bbab6cbdf41fa709704a08288805a680599f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / gammarers_aws_secure_cloudfront_origin_bucket-2.1.22-py3-none-any.whl
| Download URL | gammarers_aws_secure_cloudfront_origin_bucket-2.1.22-py3-none-any.whl |
|---|---|
| Size | 50.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
213d73977ee549f4cd25cda37d639c4e29f03d949b752f7c4f2f2061d4b0e974
|
|
BLAKE2b-256 checksum How to use checksums |
b6836d083cecb63dc889be7f3aff1f55a78f9d55fdcff098dfccec97da578233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for gammarers.aws-secure-cloudfront-origin-bucket 2.1.22
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.