Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@aws-solutions-constructs/aws-cloudfront-s3

awslabs36.3kApache-2.02.85.2TypeScript support: included

CDK Constructs for AWS Cloudfront to AWS S3 integration.

aws, cdk, awscdk, AWS Solutions Constructs, Amazon CloudFront, Amazon S3

readme

aws-cloudfront-s3 module


Stability: Stable


Reference Documentation: https://docs.aws.amazon.com/solutions/latest/constructs/
Language Package
Python Logo Python aws_solutions_constructs.aws_cloudfront_s3
Typescript Logo Typescript @aws-solutions-constructs/aws-cloudfront-s3
Java Logo Java software.amazon.awsconstructs.services.cloudfronts3

Overview

This AWS Solutions Construct provisions an Amazon CloudFront Distribution that serves objects from an AWS S3 Bucket via an Origin Access Control (OAC).

Here is a minimal deployable pattern definition:

Typescript

import { Construct } from 'constructs';
import { Stack, StackProps } from 'aws-cdk-lib';
import { CloudFrontToS3 } from '@aws-solutions-constructs/aws-cloudfront-s3';

new CloudFrontToS3(this, 'test-cloudfront-s3', {});

Python

from aws_solutions_constructs.aws_cloudfront_s3 import CloudFrontToS3
from aws_cdk import Stack
from constructs import Construct

CloudFrontToS3(self, 'test-cloudfront-s3')

Java

import software.constructs.Construct;

import software.amazon.awscdk.Stack;
import software.amazon.awscdk.StackProps;
import software.amazon.awsconstructs.services.cloudfronts3.*;

new CloudFrontToS3(this, "test-cloudfront-s3", new CloudFrontToS3Props.Builder()
        .build());

Pattern Construct Props

Name Type Description
cloudFrontDistributionProps? cloudfront.DistributionProps 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 responses from CloudFront
responseHeadersPolicyProps? cloudfront.ResponseHeadersPolicyProps Optional user provided configuration that cloudfront applies to all http responses.
originPath? string Optional user provided props to provide anoriginPath that CloudFront appends to the origin domain name when CloudFront requests content from the origin. The string should start with a /, for example: /production. Default value is '/'
existingBucketObj? s3.IBucket Existing instance of S3 content bucket object or interface. If this is provided, then also providing bucketProps will cause an error.
bucketProps? s3.BucketProps Optional user provided props to override the default props for the S3 content bucket. Note - to log S3 access for this bucket to an existing S3 bucket, put the existing log bucket in bucketProps: serverAccessLogsBucket
logS3AccessLogs? boolean Whether to turn on Access Logging for the S3 bucket. Creates an S3 bucket with associated storage costs for the logs. Enabling Access Logging is a best practice. default - true
loggingBucketProps? s3.BucketProps Optional user provided props to override the default props for the S3 Logging Bucket.
cloudFrontLoggingBucketProps? s3.BucketProps Optional user provided props to override the default props for the CloudFront Logging Bucket. Note: to use an existing bucketto hold CloudFront logs, pass the existing log bucket in
logCloudFrontAccessLog boolean Optional - Whether to maintain access logs for the CloudFront Logging bucket. Specifying false for this while providing info about the log bucket will cause an error. Default = true
cloudFrontLoggingBucketAccessLogBucketProps s3.BucketProps Optional user provided props to override the default props for the CloudFront Log Bucket Access Log bucket. Providing both this and existingcloudFrontLoggingBucketAccessLogBucket will cause an error. To provide an existing bucket to accept these logs, pass the existing bucket in cloudFrontLoggingBucketProps::serverAccessLogBucket

Pattern Properties

Name Type Description
cloudFrontWebDistribution cloudfront.Distribution Returns an instance of cloudfront.Distribution created by the construct.
cloudFrontFunction? cloudfront.Function Returns an instance of the Cloudfront function created by the construct.
originAccessControl? cloudfront.CfnOriginAccessControl Returns an instance of cloudfront.CfnOriginAccessControl created by the construct.
s3BucketInterface s3.IBucket Returns an instance of s3.IBucket created by the construct.
s3Bucket? s3.Bucket Returns an instance of s3.Bucket created by the construct. IMPORTANT: If existingBucketObj was provided in Pattern Construct Props, this property will be undefined
s3LoggingBucket? s3.Bucket Returns an instance of s3.Bucket created by the construct as the logging bucket for the primary bucket.
cloudFrontLoggingBucket? s3.Bucket The S3 bucket created by the construct to hold CloudFront logs. Only populated if the construct creates the bucket (not if an existing bucket is passed in via DistributionProps)
cloudFrontLoggingBucketAccessLogBucket? s3.Bucket The S3 bucket containing the S3 access logs for the CloudFront log bucket. Only populated if the construct creates the bucket (not if the bucket is passed in via cloudFrontLoggingBucketProps::serverAccessLogBucket

Default settings

Out of the box implementation of the Construct without any override will set the following defaults:

Amazon CloudFront

  • Configure Access logging for CloudFront Distribution
  • Enable automatic injection of best practice HTTP security headers in all responses from CloudFront Distribution
  • CloudFront originPath set to '/'
  • Create an Origin Access Control to access S3 bucket

Amazon S3 Bucket

  • Configure Access logging for S3 Bucket
  • Enable server-side encryption for S3 Bucket using AWS managed KMS Key
  • Enforce encryption of data in transit
  • Turn on the versioning for S3 Bucket
  • Don't allow public access for S3 Bucket
  • Retain the S3 Bucket when deleting the CloudFormation stack
  • Applies Lifecycle rule to move noncurrent object versions to Glacier storage after 90 days

Architecture

Architecture Diagram


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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.85.2 (2025-05-01)

Just added warnings to aws-cloudfront-mediastore and testing pipeline

2.85.1 (2025-04-30)

Built on CDK 2.193.0

Just CDK upgrade and test of changes to our pipeline

2.85.0 (2025-04-29)

Built on CDK 2.192.0

Bug Fixes

  • aws-openapigateway-lambda: generate execute-api arn (#1312) (a085f0f)

2.84.0 (2025-04-18)

Built on CDK 2.190.0

Features

  • aws-lambda-bedrockinferenceprofile: new construct (#1305) (46fd40c)

2.83.0 (2025-04-08)

Built on CDK 2.187.0

  • aws-lambda-dynamodb: apply condition on pointIntimerecoveryspecification (#1284) (03b5124)

2.82.0 (2025-04-03)

Built on CDK 2.187.0

This release can be used with CDK 2.187.0, so allows clients to address this CVE.

2.81.0 (2025-03-28)

Build on CDK 2.186.0

  • aws-openapigateway-lambda: fix template substitution (#1284) (ea6da7a)

2.80.0 (2025-03-27)

Build on CDK v2.179.0

Features

  • aws-apigateway-lambda: allow suppression of usage plan (#1285) (85796ad)

2.79.1 (2025-03-21)

Build on CDK v2.177.0

Features

  • aws-cloudfront-oai-s3: added OAI as new property (#1275)

2.79.0 (2025-03-18)

Build on CDK v2.177.0

Features

2.78.1 (2025-03-11)

Build on CDK v2.177.0

Bug Fixes

  • core: ensure required libraries are included in the distribution package (9289db5)

2.78.0 (2025-03-07)

Build on CDK v2.177.0

Features

  • aws-openapigatway-lamba: accept lambda function aliases (#1260) (91476c5)

2.77.0 (2025-01-31)

Build on CDK v2.177.0

Bug Fixes

  • aws-lamba-kendra: address index issues (#1248)

Features

  • aww-eventbridge-sqs: add a dlq for the event rule (#1253) (0db79b3)

2.76.0 (2024-12-24)

Built on CDK v2.173.2

2.75.0 (2024-12-23)

Built on CDK v2.163.1

Features

  • aws-dynamodbstreams-pipes-stepfunctions: new construct (#1238) (7afe6e8)
  • aws-dynomodbstreams-pipes-stepfunctions: add default maximum retries (#1240) (50404c1)

2.74.0 (2024-10-22)

Build on CDK v2.161.0

Features

  • aws-sqs-pipes-stepfunctions: accept existing state machine (#1223)

2.73.0 (2024-10-21)

Build on CDK v2.161.0

Features

  • aws-sqs-pipes-stepfunctions: new construct (#1220) (c508279)

2.72.0 (2024-10-06)

Build on CDK v2.161.0

Features

  • aws-apigateway-sqs: add schema validation for create operation (#1216) (9d42398)

2.71.0 (2024-09-27)

Build on CDK v2.160.0

Bug Fixes

  • aws-openapigateway-lambda: add id to permission resource id (#1211)

2.70.0 (2024-09-18)

Built on CDK v2.154.1

Features

  • aws-constructs-factories: add cloudwatch alarms to factory output (#1201) (5e49430)

2.69.0 (2024-09-11)

Built on CDK v2.154.1

Features

  • aws-openapigateway-lambda: update construct to allow specifying an inline api definition (#1190) (b1baf59)

2.68.0 (2024-08-28)

Built on CDK v2.154.1

Bug Fixes

  • version: unpin constructs from specific cdk version (#1187)

2.67.1 (2024-08-27)

Built on CDK v2.151.0

There are no other changes in this release, we are testing our upgraded release pipeline

2.67.0 (2024-08-26)

Built on CDK v2.151.0

There are no other changes in this release, we are testing our upgraded release pipeline

2.66.0 (2024-08-22)

Built on CDK v2.151.0

There are no other changes in this release, we are testing our upgraded release pipeline

It will not be published to npm, pypi nor maven

2.65.0 (2024-08-11)

Built on CDK v2.150.0

Bug Fixes

  • aws-apiv2gatewaywebsockets-sqs: fix for custom websocket route not mapping to request template (#1171)

  • aws-cloudfront-s3: observe props.logCloudFrontAccessLog (#1170) (b2b8201)

2.64.0 (2024-07-31)

Built on CDK v2.150.0

  • aws-alb-lambda allow vpc in loadBalancerProps when specifying subnets (#1161)

2.63.0 (2024-07-19)

Built on CDK v2.150.0

  • aws-apigatewayv2websockets-sqs: New construct! (#1140)

2.62.0 (2024-07-16)

Built on CDK v2.147.3

Features

  • apigateway: accept MethodResponses along with IntegrationResponses (#1146) (c351953)

Bug Fixes

  • resources/template-writer: add IAM policy as customResource dependency (#1148) (bbdeddd)

2.61.0 (2024-07-05)

Built on CDK v2.147.3

Maintenance

  • Updated all javascript to Node.js 20

2.60.0 (2024-06-11)

Built on CDK v2.145.0

Features

  • aws-constructs-factories: add a factory for sqs queues (#1131) (b35b9b8)

WARNING - This release changes the resource IDs of DLQs. As a result a stack update will delete the existing DLQ and create a new one. Before updating your stack, process all messages in your current DLQ.

2.59.0 (2024-06-08)

Built on CDK v2.143.0

Features

  • aws-constructs-factories: add state machine factory (#1128) (d82342c)

Bug Fixes

  • aws-s3-cloudfront: address handling and definition of peripheral buckets (#1129) (8b30791)

2.58.1 (2024-05-28)

Built on CDK v2.143.0

No library changes - testing changes in our CI/CD process

2.58.0 (2024-05-25)

Built on CDK v2.143.0

Bug Fixes

  • aws-sns-sqs: fix circular dependency error in aws-sns-sqs (#1122) (2366272)

2.57.0 (2024-05-06)

Built on CDK v2.138.0

Bug Fixes

  • utils: address issues in printing override warnings (#1113) (1732949)

2.56.0 (2024-04-24)

Built on CDK v2.138.0

Features

  • s3: constructs factories - create well architected s3 buckets (#1110) (f561cf6)

2.55.0 (2024-04-12)

Built on CDK v2.135.0

Bug Fixes

  • kms: do not use fixed name when building kms key constructs (#1103) (a5fa0f9)

2.54.1 (2024-04-04)

Built on CDK v2.135.0

Bug Fixes

2.54.0 (2024-02-29)

Built on CDK v2.130.0

Bug Fixes

  • step-functions no longer attempt to modify cloudwatch logs permissions for state machines (#1090)

2.53.0 (2024-02-22)

Built on CDK v2.127.0

Bug Fixes

  • stepfunctions find correct logs policy statement to replace (#1086)

2.52.1 (2024-02-16)

Built on CDK v2.127.0

Bug Fixes

  • all: correct aws-cdk-lib version in peerdependency (#1081) (1ad214d)

2.52.0 (2024-02-12)

Built on CDK v2.127.0

Bug Fixes

2.51.0 (2024-01-30)

Built on CDK v2.118.0

  • all: lack of ^ in package.json led to version incompability (PR 1066)

2.50.0 (2024-01-30)

Built on CDK v2.118.0

Bug Fixes

  • aws-eventbridge-lambda: handle provided role correctly (PR 1063)

2.49.0 (2024-01-23)

Built on CDK v2.118.0

Bug Fixes

  • aws-cloudfront-s3: do not create s3 access log bucket for cf log bucket when an existing bucket is provided (PR 1052)

  • aws-cloudfront-s3: insert empty originAccessIdentity (PR 1053)

2.48.0 (2024-01-09)

Built on CDK v2.111.0

⚠ BREAKING CHANGES

  • aws-cloudfront-apigateway-lambda: require explicit authentication type (#1044) (720dec5)

Features

  • aws-cloudfront-s3: update construct to use origin access controls; add support for CMK-encrypted buckets (#1038) (012f9e7), closes #1037
  • cloudfront constructs: add s3 access logging to cloudfront access log buckets by default (#1042) (51ec028)

2.47.0 (2023-12-01)

Built on CDK v2.111.0

Bug Fixes

  • aws-apigateway-sqs: Remove /message path when delete method is not allowed (#1030) (f772200)

2.47.0 (2023-11-27)

Test Release

Features

  • aws-apigateway-*: add optional request templates for non-default content-types. (#888) (ace70f0)
  • aws-apigateway-dynamodb: add optional resourceName parameter (#898) (09e54ec)
  • aws-dynamodbstreams-lambda-elasticsearch-kibana: Added VPC support (#816) (30a5160)
  • aws-iot-lambda-dynamodb: add vpc and environment variable name to construct interface (#894) (8ee687a)
  • aws-lambda-kinesisstream: created new construct (#873) (81592de)
  • aws-lambda-opensearch: created new construct (#818) (f31f59d)
  • aws-openapi-lambda: make names unique (#987) (be9997a)

  • aws-wafwebacl-agigateway: enable govcloud (#900) (dd19d93)

  • aws-wafwebacl-appsync: created new construct (#833) (1c708b9)
  • new construct: aws-fargate-kinesisfirehose (#881) (3a74a27)
  • new construct: aws-fargate-kinesisstreams (#877) (08b7975), closes #875
  • new construct: aws-lambda-kendra (#989) (24fe018)
  • new construct: aws-lambda-kinesisfirehose (#875) (aef3efa)
  • new construct: aws-openapigateway-lambda (#912) (09465d6), closes #910 #917 #922 #929 #930

Bug Fixes

  • all constructs: use aws.partition where value could refer to govcloud (#941) (e4cc3c0)
  • all: typos (#1010) (0787baf)
  • aws-alb-fargate: change container used to launch integ tests (#962) (30ba7d9)
  • aws-apigateway-sqs: Remove /message path when delete method is not allowed (#1030) (f772200)
  • aws-eventbridge-sns: long sns topic names break eventbridge bindings (#1024) (9da7065)
  • readme.md files: update all documentation links to v2 (#815) (ad1f9d7)
  • s3-bucket-helper: not populating response.loggingBucket when bucket supplied (#934) (b65986d)
  • s3-constructs: accommodate s3 change that disables acls by default (#949) (46d02cc)
  • StepFunctions: Address LogGroup behavior problems (#922) (84e581c)

2.46.0 (2023-11-09)

Built on CDK v2.105.0 Renaming and refreshing of all integration test files

Bug Fixes

  • aws-eventbridge-sns: long sns topic names break eventbridge bindings (#1024) (9da7065)

2.45.0 (2023-10-14)

Built on CDK v2.99.1 Significant internal clean up chores

Bug Fixes

2.44.0 (2023-08-29)

Built on CDK v2.82.0 (no new features, just internal housekeeping)

Bug Fixes

  • aws-lambda-kendra: fixed package.json issues

2.43.1 (2023-08-28)

BUG NOTICE - THIS RELEASE WAS ONLY PARTIALLY PUBLISHED in PYPI, USE 2.44.0

Built on CDK v2.82.0

Bug Fixes

  • aws-lambda-kendra: remove extra info from bottom of package.json

2.43.0 (2023-08-28)

BUG NOTICE - THIS RELEASE WAS ONLY PARTIALLY PUBLISHED in PYPI, USE 2.44.0

Built on CDK v2.82.0

Bug Fixes

  • aws-kinesisfirehose-s3: resource name collision when two instances deployed in same stack (#991)

Features

2.42.0 (2023-08-12)

Build on CDK v2.82.0

Features

2.41.0 (2023-06-06)

Built on CDK v2.82.0

2.40.0 (2023-06-03)

Built on CDK v2.82.0

Bug Fixes

  • s3 buckets: do not remove lifecycle rules from log buckets (#969)

  • aws-alb-fargate: change container used to launch integ tests (#962) (30ba7d9)

2.39.0 (2023-04-23)

Built on CDK v2.76.0

Bug Fixes

  • aws-*-stepfunctions: generate stack specific physical log group name (#945) (3e46579)

2.38.0 (2023-04-16)

Build on CDK v2.74.0

Bug Fixes

  • s3-constructs: accommodate s3 change that disables acls by default (#949) (46d02cc)

2.37.0 (2023-04-11)

Built on CDK v2.73.0

Features

  • wafwebacl-all: allow any type for webAclProps (#943)

Bug Fixes

  • all constructs: use aws.partition where value could refer to govcloud (#941) (e4cc3c0)
  • s3-bucket-helper: not populating response.loggingBucket when bucket supplied (#934) (b65986d)

2.36.0 (2023-03-29)

Built on CDK v2.71.0

2.35.0 (2023-03-23)

Built on CDK v2.68.0

Bug Fixes

  • aws-cloudfront-s3 Set s3LoggingBucket property (#930)

2.34.0 (2023-03-18)

Built on CDK v2.68.0

Bug Fixes

  • StepFunctions: Address LogGroup behavior problems (#922) (84e581c)

2.33.0 (2023-03-03)

Build on CDK v2.67.0

Features

  • aws-apigateway-dynamodb: add optional resourceName parameter (#898) (09e54ec)

Bug Fixes

  • core: id conflict with multiple buildLambdaFunction() (#910)

2.32.0 (2023-02-14)

Build on CDK 2.64.0

Features

  • aws-wafwebacl-agigateway: enable govcloud (#900) (dd19d93)

2.31.0 (2023-02-09)

Build on CDK 2.64.0

Features

  • aws-apigateway-*: add optional request templates for non-default content-types. (#888) (ace70f0)
  • aws-iot-lambda-dynamodb: add vpc and environment variable name to construct interface (#894) (8ee687a)

2.30.0 (2022-12-28)

Built on CDK 2.57.0

Features

  • aws-lambda-kinesisstream: created new construct (#873) (81592de)
  • new construct: aws-fargate-kinesisfirehose (#881) (3a74a27)
  • new construct: aws-fargate-kinesisstreams (#877) (08b7975), closes #875
  • new construct: aws-lambda-kinesisfirehose (#875) (aef3efa)

2.29.0 (2022-12-04)

Features

  • aws-s3-sns: created new construct (#849)
  • aws-cloudfront-*: Add optional parameter cloudfront.ResponseHeadersPolicyProps (#852)
  • Standardize how encryption properties are used for SNS/SQS construct (#846)

2.28.0 (2022-11-30)

Built on CDK 2.53.0

Chores

  • Standardize how encryption properties are used for SNS/SQS constructs (#846)
  • Lots of housekeeping, documentation edits

2.27.0 (2022-11-02)

Built on CDK 2.50.0

Features

  • aws-wafwebacl-appsync: created new construct (#833) (1c708b9)

  • aws-fargate-opensearch: created new construct (#823)

2.26.0 (2022-10-12)

Features

  • aws-dynamodbstreams-lambda-elasticsearch-kibana: Added VPC support (#816) (30a5160)

  • aws-lambda-opensearch: created new construct (#818) (f31f59d)

2.25.0 (2022-09-13)

(no functional changes in this release) Built on CDK 2.45.0

2.24.0 (2022-09-13)

(no changes in this release)

2.23.0 (2022-09-12)

(no changes in this release) Note - 2.23.0 is not available in Maven

2.22.0 (2022-09-11)

(no changes in this release) Note - 2.22.0 is not available in Maven

2.21.0 (2022-08-26)

  • Upgrade to Typescript 4.7.4: (#783)
  • Update contributing.md: ensure all instructions reflect that v2 is now the only cdk version (#785)

2.20.0 (2022-08-25)

(no changes in this release)

2.19.0 (2022-08-24)

(no changes in this release)

2.18.0 (2022-08-19)

(no changes in this release)

2.17.0 (2022-08-17)

This is one of a number of identical releases we have created as we overhaul our release process for CDK V2 and the deprecation of V1

2.16.0 (2022-08-16)

Note - there is no Release 2.15.0

2.14.0 (2022-08-09)

  • Built upon underlying CDK version V2.36.0

2.13.0 (2022-08-09)

  • Built upon underlying CDK version V2.25.0

2.12.0 (2022-07-26)

  • Built upon underlying CDK version V2.25.0

2.11.0 (2022-07-18)

  • Built upon underlying CDK version V2.24.0

Features

  • aws-lambda-elasticsearch-kibana: added VPC support (#718) (33e8f17)

2.10.0 (2022-07-01)

  • Includes all functionality of V1.157.0
  • Built upon underlying CDK version V2.24.0

2.9.0 (2022-06-13)

  • Includes all functionality of V1.157.0
  • Built upon underlying CDK version V2.23.0

2.8.0 (2022-05-20)

  • Includes all functionality of V1.156.1
  • Built upon underlying CDK version V2.23.0

    2.7.0 (2022-05-09)

  • Includes all functionality of V1.154.0

  • Built upon underlying CDK version V2.23.0

2.6.0 (2022-05-07)

  • Includes all functionality of V1.153.1
  • Built upon underlying CDK version V2.15.0

Features

  • aws-fargate-dynamodb: create new construct (#633) (0b35418)
  • aws-fargate-secretsmanager: Create new construct (#670) (cd218b6)
  • aws-fargate-ssmstringparameter: New Construct (#653) (bcb7c63)
  • aws-lambda-elasticachmemcached: New Construct (#675) (14c50ae)
  • aws-s3-stepfunctions: Changed escape hatch to eventBridgeEnabled prop (#666) (bc2f733)
  • README.md: add python and java minimal deployment (#582) (2ecd9dd)

Bug Fixes

  • aws-lambda-secretsmanager: Update docs (#673) (1b843bf)
  • Remove debug statement: Remove extra debug statement in kinesisfirehose-s3 (#649) (26e9ec0)
  • Sonarqube configuration: Replace comma between constructs (#646) (79e1b09)

2.5.0 (2022-03-30)

Features

  • Includes all functionality of V1.148.0
  • Built upon underlying CDK version V2.15.0

2.4.0 (2022-03-29)

Features

  • Includes all functionality of V1.146.0
  • Built upon underlying CDK version V2.15.0

2.3.0 (2022-02-24)

Features

  • Includes all functionality of V1.139.0
  • Built upon underlying CDK version V2.7.0
  • aws-fargate-sqs: Created new construct (#588) (f7ddf3f)
  • aws-fargate-s3: Created new construct (#591)

2.2.0 (2022-01-20)

Features

  • Includes all functionality of V1.138.0
  • Built upon underlying CDK version V2.4.0
  • aws-fargate-sns: New Construct (#574) (5c86f3a)
  • aws-route53-apigateway: New Construct (#511) (81129dd)

2.1.0 (2022-01-11)

Features

  • Includes all functionality of V1.137.0
  • Build upon underlying CDK version V2.4.0

  • aws-alb-fargate: New Construct (#560) (5a21b76)

  • aws-iot-s3: new construct implementation (#469) (ea024fc)
  • s3-stepfunctions: removed CloudTrail dependency after new S3 feature (#529) (639f473)

Bug Fixes

  • aws-apigateway-iot and aws-cloudfront-apigateway-lambda: fixed deprecated warnings (#554) (655c4af)
  • aws-s3-cloudfront: Recognize when client specifies enforceSSL: false (#559) (fc4fab8)

2.0.0 (2021-12-02)

  • Includes all functionality of V1.129.0

Features

  • aws-cloudfront-s3: added logS3AccessLogs prop (#506) (6d3c7c9)
  • aws-events-rule-kinesisfirehose-s3: added logS3AccessLogs and loggingBucketProps (#492) (0af95f5)
  • aws-iot-kinesisfirehose-s3: added custom loggingBucketProps (#480) (76c0aa9)
  • aws-kinesisfirehose-s3-and-kinesisanalytics: added logS3AccessLogs and loggingBucketProps (#490) (3d8fec6)
  • aws-kinesisfirehose-s3: added custom logging bucket props to kinesisfirehose-s3 (#478) (6fab3e5)
  • aws-kinesisstreams-gluejob: encrypted bucket in existing job integ test (#504) (04d0642)
  • aws-kinesisstreams-kinesisfirehose-s3: added loggingBucketProps and logS3AccessLogs (#493) (85b5f7a)
  • aws-lambda-s3: added logS3AccessLogs and updated tests (#496) (9922938)
  • aws-s3-sqs: added logS3AccessLogs and S3BucketInterface (#499) (c8320bd)
  • aws-s3-stepfunctions: added logS3AccessLogs and S3BucketInterface (#500) (d7d10f6)

Bug Fixes

  • Update reference from existingBucketInterface to existingBucketObj: Update Documentation #520 (0c030e8)

2.0.0-rc.2 (2021-11-02)

Features

  • aws-alb-lambda: New Construct - aws-alb-lambda (#467) (4fb7eb9)
  • aws-cloudfront-apigateway-lambda: added cloudFrontLoggingBucketProps to cloudfront-apigateway-lambda (#455) (5e42612)
  • aws-cloudfront-mediastore: added cloudFrontLoggingBucketProp to cloudfront-mediastore (#457) (ffd8d17)
  • aws-cloudfront-s3: added added cloudFrontLoggingBucketProps (#457)
  • aws-wafwebacl-alb: created aws-wafwebacl-alb construct (#465) (cd5c4f4)
  • Implement aws-route53-alb: Implement new construct (#421) (afd0811)

Bug Fixes

  • apigateway-helper: fixed condition for cloudWatchRole creation (#468) (e454349)
  • scripts: Fix postinstall script (#477) (3902a91)
  • service-staff: Fix create-order lambda (#479) (982c026)
  • Set outputBucket property on aws-kinesisstreams-gluejob: Issue #448 to include S3 bucket for Glue Job that the construct creates (#452) (c40e1f7)

2.0.0-rc.1 (2021-10-12)

Added

This is the first release candidate of Solutions Constructs 2.0 based on CDK v2.0 🎉

  • aws-apigateway-dynamodb
  • aws-apigateway-iot
  • aws-apigateway-kinesisstreams
  • aws-apigateway-lambda
  • aws-apigateway-sagemakerendpoint
  • aws-apigateway-sqs
  • aws-cloudfront-apigateway
  • aws-cloudfront-apigateway-lambda
  • aws-cloudfront-mediastore
  • aws-cloudfront-s3
  • aws-cognito-apigateway-lambda
  • aws-dynamodbstreams-lambda
  • aws-dynamodbstreams-lambda-elasticsearch-kibana
  • aws-eventbridge-kinesisfirehose-s3
  • aws-eventbridge-kinesisstreams
  • aws-eventbridge-lambda
  • aws-eventbridge-sns
  • aws-eventbridge-sqs
  • aws-eventbridge-stepfunctions
  • aws-iot-kinesisfirehose-s3
  • aws-iot-kinesisstreams
  • aws-iot-lambda
  • aws-iot-lambda-dynamodb
  • aws-iot-sqs
  • aws-kinesisfirehose-s3
  • aws-kinesisfirehose-s3-and-kinesisanalytics
  • aws-kinesisstreams-gluejob
  • aws-kinesisstreams-kinesisfirehose-s3
  • aws-kinesisstreams-lambda
  • aws-lambda-dynamodb
  • aws-lambda-elasticsearch-kibana
  • aws-lambda-eventbridge
  • aws-lambda-s3
  • aws-lambda-sagemakerendpoint
  • aws-lambda-secretsmanager
  • aws-lambda-sns
  • aws-lambda-sqs
  • aws-lambda-sqs-lambda
  • aws-lambda-ssmstringparameter
  • aws-lambda-stepfunctions
  • aws-s3-lambda
  • aws-s3-sqs
  • aws-s3-stepfunctions
  • aws-sns-lambda
  • aws-sns-sqs
  • aws-sqs-lambda
  • aws-wafwebacl-apigateway
  • aws-wafwebacl-cloudfront