Skip to main content

aws-cloudfront-s3 module

---

Stability: Experimental

This is a developer preview (public beta) module.

All classes are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


API Reference: http://docs.awssolutionsbuilder.com/aws-solutions-konstruk/latest/api/aws-cloudfront-s3/
Language Package
Python Logo{: style="height:16px;width:16px"} Python aws_solutions_konstruk.aws_cloudfront_s3
Typescript Logo{: style="height:16px;width:16px"} Typescript @aws-solutions-konstruk/aws-cloudfront-s3

This AWS Solutions Konstruk implements an AWS Cloudfront fronting an AWS S3 Bucket.

Here is a minimal deployable pattern definition:

const { CloudFrontToS3 } = require('@aws-solutions-konstruk/aws-cloudfront-s3');

new CloudFrontToS3(stack, 'test-cloudfront-s3', {
    deployBucket: true
});

Initializer

new CloudFrontToS3(scope: Construct, id: string, props: CloudFrontToS3Props);

Parameters

Pattern Construct Props

Name Type Description
deployBucket boolean Whether to create a S3 Bucket or use an existing S3 Bucket
existingBucketObj? s3.Bucket Existing instance of S3 Bucket object
bucketProps? s3.BucketProps Optional user provided props to override the default props for S3 Bucket
cloudFrontDistributionProps? cloudfront.CloudFrontWebDistributionProps Optional user provided props to override the default props for Cloudfront Distribution
insertHttpSecurityHeaders? boolean Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all resonses from cloudfront

Pattern Properties

Name Type Description
cloudFrontWebDistribution() cloudfront.CloudFrontWebDistribution Returns an instance of cloudfront.CloudFrontWebDistribution created by the construct
bucket() s3.Bucket Returns an instance of s3.Bucket created by the construct

Architecture

Architecture Diagram


© Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Release files for aws-solutions-konstruk.aws-cloudfront-s3 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-solutions-konstruk.aws-cloudfront-s3 0.8.1
File Size Uploaded
aws-solutions-konstruk.aws-cloudfront-s3-0.8.1.tar.gz 131.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-solutions-konstruk.aws-cloudfront-s3 0.8.1
File Interpreter ABI Platform
aws_solutions_konstruk.aws_cloudfront_s3-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 261.0 kB

Release files / aws-solutions-konstruk.aws-cloudfront-s3-0.8.1.tar.gz

Download URL aws-solutions-konstruk.aws-cloudfront-s3-0.8.1.tar.gz
Size 131.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8697893eaa074759484a990b3e2f6ff7115b294e52f189717d60c925fe1c1138
BLAKE2b-256 checksum
How to use checksums
b107fc4385ebad23cd0a45d41e0f9e8c5066ffc76bc4e2d167a2ac09ec858de0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

Release files / aws_solutions_konstruk.aws_cloudfront_s3-0.8.1-py3-none-any.whl

Download URL aws_solutions_konstruk.aws_cloudfront_s3-0.8.1-py3-none-any.whl
Size 129.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fceaa6e7c7d832efeafbffbb31a396eb894a3fbf4bbfb2dc5f065f44901b97d2
BLAKE2b-256 checksum
How to use checksums
cd522a5140fdb142d688b9f8f5287bd763a8bd22acc1d1d1a675939cfe32f748
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page