Skip to content

Releases: aws/aws-cdk

v2.161.1

05 Oct 05:57
0a606c9
Compare
Choose a tag to compare

Reverts


Alpha modules (2.161.1-alpha.0)

v2.161.0

04 Oct 02:55
be5ad8b
Compare
Choose a tag to compare

Features

Bug Fixes


Alpha modules (2.161.0-alpha.0)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • kinesisfirehose-destinations: the logging and logGroup properties in DestinationLoggingProps have been removed and replaced with a single optional property loggingConfig which accepts a class of type LoggingConfig.

Details

Combine the logging and logGroup properties into a single new optional property called loggingConfig which accepts a class of type LoggingConfig.

LoggingConfig is an abstract class which can be instantiated through either an instance of EnableLogging or DisableLogging which can be used in the following 3 ways:

import * as logs from 'aws-cdk-lib/aws-logs';

const logGroup = new logs.LogGroup(this, 'Log Group');
declare const bucket: s3.Bucket;

// 1. Enable logging with no parameters - a log group will be created for you
const destinationWithLogging = new destinations.S3Bucket(bucket, {
  loggingConfig: new destinations.EnableLogging(),
});

// 2. Enable a logging and pass in a logGroup to be used
const destinationWithLoggingAndMyLogGroup = new destinations.S3Bucket(bucket, {
  loggingConfig: new destinations.EnableLogging(logGroup),
});

// 3. Disable logging (does not accept any parameters so it is now impossible to provide a logGroup in this case)
const destinationWithoutLogging = new destinations.S3Bucket(bucket, {
  loggingConfig: new destinations.DisableLogging(),
});

Description of how you validated changes

unit + integ test

Checklist

Features

Read more

v2.160.0

24 Sep 16:10
7a8ae02
Compare
Choose a tag to compare

Features


Alpha modules (2.160.0-alpha.0)

Features

  • kinesisanalytics-flink: support Apache Flink 1.20 (#31349) (b3b9aa8)

Bug Fixes

v2.159.1

19 Sep 21:49
c66f4e3
Compare
Choose a tag to compare

Reverts

  • fix(ec2): fixing vpc endpoint pattern for ecr and ecr docker (#31496) (f7e8452)

Alpha modules (2.159.1-alpha.0)

v2.159.0

19 Sep 01:51
d77a1b2
Compare
Choose a tag to compare

Features

Bug Fixes


Alpha modules (2.159.0-alpha.0)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • kinesisfirehose-alpha: encryptionKey property is removed and encryption property type has changed from the StreamEncryption enum to the StreamEncryption class.

To pass in a KMS key for the customer managed key case, use StreamEncryption.customerManagedKey(key)

Details

Replaced encryption and encryptionKey properties with a single property encryption of type StreamEncryption and is used by calling one of the 3 methods:

SreamEncryption.unencrypted()
StreamEncryption.awsOwnedKey()
StreamEncryption.customerManagedKey(key?: IKey)

This makes it so it's not longer possible to pass in a key when the encryption type is AWS owned or unencrypted. The key is an optional parameter in StreamEncryption.customerManagedKey(key?: IKey) so following the previous behaviour, if a key is provided it will be used, otherwise a key will be created for the user.

Description of how you validated changes

Generated templates do not change so behaviour remains the same.

Updated integ/unit tests.

Checklist

Features

Bug Fixes

  • ec2: fixing vpc endpoint pattern for ecr and ecr docker (#31434) (95c49ab)

Miscellaneous Chores

  • kinesisfirehose-alpha: refactor encryption property to combine encryptionKey (#31430) (8e92185)

v2.158.0

11 Sep 20:17
4b8714d
Compare
Choose a tag to compare

Bug Fixes


Alpha modules (2.158.0-alpha.0)

Features

v2.157.0

10 Sep 03:24
7315a59
Compare
Choose a tag to compare

Features

  • update L1 CloudFormation resource definitions (#31361) (bc4dbfd)
  • appsync: support DEBUG and INFO logging levels for AppSync GraphQL APIs (#31326) (4b9643f)
  • lambda: added new property allowAllIpv6Outbound to FunctionOptions (#31013) (fa55194), closes #30994

Bug Fixes


Alpha modules (2.157.0-alpha.0)

v2.156.0

06 Sep 05:33
2966832
Compare
Choose a tag to compare

Features

Bug Fixes


Alpha modules (2.156.0-alpha.0)

Features

Bug Fixes

  • scheduler: the value of the description property is not reflected to the resource. (#31276) (a3332b6), closes #31269

v2.155.0

30 Aug 01:10
34dcc5a
Compare
Choose a tag to compare

Features

Bug Fixes

  • cloudfront: requirement of domainNames prevents moving a domain name between distributions (#31001) (acdf7d3), closes #29960 #29329
  • eks: can't update authMode with the same mode (#31043) (64df08b)
  • lambda-event-source: allow dynamodb filtering on boolean value (#31011) (9946ab0), closes #30734
  • s3: bucket notifications in owning stack deletes bucket notifications from other stacks (#31091) (0b09e52)

Alpha modules (2.155.0-alpha.0)

Features

v2.154.1

23 Aug 08:07
febce9d
Compare
Choose a tag to compare

Features

  • update L1 CloudFormation resource definitions (#31193) (aa97525)
  • update L1 CloudFormation resource definitions (#31194) (2191264)

Bug Fixes

  • cloudfront: requirement of domainNames prevents moving a domain name between distributions (#31001) (1255ce3), closes #29960 #29329

Alpha modules (2.154.1-alpha.0)