[Snyk] Upgrade aws-cdk from 2.99.1 to 2.162.1 #136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade aws-cdk from 2.99.1 to 2.162.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 86 versions ahead of your current version.
The recommended version was released on 24 days ago.
Release notes
Package name: aws-cdk
Bug Fixes
cdk import
errors with 'S3 error: Access Denied' (#31727) (5c2787a), closes #31597 #31716Alpha modules (2.162.1-alpha.0)
Features
ownerContact
property to theGraphqlApi
(#31585) (a8b2f01)grantDataApiAccess
method for imported database cluster (#31280) (3c92012), closes #31116 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/cluster.ts#L983 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/cluster.ts#L523-L526Bug Fixes
cdk diff
on large templates fails when passing intoolkitStackName
andqualifier
(#31636) (f603c97), closes #29179http2Enabled
with true is ignored in ApplicationLoadBalancer (#31675) (c1b240e), closes #31609Alpha modules (2.162.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
destinations
property withdestination
(singular) and changed the type from array of Destinations to a single Destination. Old behaviour would only allow an array with a single Destination to be passed in anyway.Features
Bug Fixes
Miscellaneous Chores
destinations
property withdestination
and change type from array to single IDestination (#31630) (1e2cff1)Reverts
Alpha modules (2.161.1-alpha.0)
Features
cdk rollback
(#31407) (0755561), closes #30546Bug Fixes
cdk diff --quiet
to print stack name when there is diffs (#30186) (bcf9209), closes #27128isTaggable
function can return undefined instead of false (#31600) (be70c82), closes #26495cdk diff
to upload large templates (#31597) (be1207b), closes #29936 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml#L275 /github.com/aws/aws-cdk/blob/4b00ffeb86b3ebb9a0190c2842bd36ebb4043f52/packages/aws-cdk/lib/api/deployments.ts#L605Alpha modules (2.161.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
logging
andlogGroup
properties inDestinationLoggingProps
have been removed and replaced with a single optional propertyloggingConfig
which accepts a class of typeLoggingConfig
.Details
Combine the
logging
andlogGroup
properties into a single new optional property calledloggingConfig
which accepts a class of typeLoggingConfig
.LoggingConfig
is an abstract class which can be instantiated through either an instance ofEnableLogging
orDisableLogging
which can be used in the following 3 ways: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
Bug Fixes
Miscellaneous Chores
Features
sts
options for roles assumed by the cli (#31089) (5e95ba2), closes #26157 #22535Alpha modules (2.160.0-alpha.0)
Features
Bug Fixes
Reverts
Alpha modules (2.159.1-alpha.0)
Features
routeSelectionExpression
for an HTTP API (#31373) (36baf51), closes #31104Bug Fixes
Alpha modules (2.159.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
encryptionKey
property is removed andencryption
property type has changed from theStreamEncryption
enum to theStreamEncryption
class.To pass in a KMS key for the customer managed key case, use
StreamEncryption.customerManagedKey(key)
Details
Replaced
encryption
andencryptionKey
properties with a single propertyencryption
of typeStreamEncryption
and is used by calling one of the 3 methods: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 inStreamEncryption.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
Miscellaneous Chores
Bug Fixes
Alpha modules (2.158.0-alpha.0)
Features
Features
Bug Fixes
Alpha modules (2.157.0-alpha.0)
Features
RedshiftDataParameters
(#29462) (84c6442), closes #15712 #31017Bug Fixes
Alpha modules (2.156.0-alpha.0)
Features
Bug Fixes