Releases: aws/aws-cdk
Releases · aws/aws-cdk
v2.129.0
Features
- update L1 CloudFormation resource definitions (#29191) (c579e3c)
- applicationautoscaling: timezone for ScheduledAction (#29116) (8694125), closes #22645 #27754
- cloudfront-origin: adding FunctionUrlOrigin (#29101) (2b0ed53)
- ecs: credentialSpecs in ContainerDefinitionOptions (#29085) (e92dbec)
- events-targets:
launchType
property for ECS task (#29069) (b4daf84), closes #28990 - lambda: Add
Ipv6AllowedforDualStack
support for Lambda function (#28928) (90caad9) - lambda: adding .net 8 (dotnet8) lambda runtime support (#29178) (74335f6)
- rds: support Aurora MySQL 3.05.2 (#29166) (da0b82c)
- sns: enforce ssl with topic policy (#29144) (a75f447), closes #29142
- synthetics: latest canary runtimes for NodeJS, Python (#29132) (3c122a4), closes #29135
Alpha modules (2.129.0-alpha.0)
Bug Fixes
v2.128.0
Features
- cloudwatch: add
TableWidget
(#29078) (4599aa3), closes #28975 - codedeploy: ignoreAlarmConfiguration parameter to Deployment Groups (#26957) (e890e89)
- codepipeline: pipeline type v2 with pipeline-level variables and triggers (#28538) (40ffe2b), closes #28476 #28694
- ses:
grant
methods toIEmailIdentity
(#29084) (c3c771c), closes #29083 - allow overriding the filename of the processed file after substitution (#29029) (88decc6), closes #28450
Bug Fixes
- lambda: @deprecated tag to deprecated runtimes (#29081) (2503f68)
- stepfunctions-tasks: missing permissions for running tasks on ecs (#27891) (683d595), closes #27803
Alpha modules (2.128.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- app-staging-synthesizer-alpha:
stagingBucketEncryption
property is now required. For existing apps, specifyBucketEncryption.KMS
to retain existing behavior. For new apps, choose the bucket encryption that makes most sense for your use case.BucketEncryption.S3_MANAGED
is available and is intended to be the default when this module is stabilized.
Features
- app-staging-synthesizer-alpha: require passing
stagingBucketEncryption
and note that we intend to default toS3_MANAGED
in the future (#28978) (fc8b955), closes #28815 #28903 /github.com/aws/aws-cdk/pull/28978#issuecomment-1930007176 - pipes-enrichments: new EventBridge Pipes enrichments alpha module (#29063) (5a54ec5)
- pipes-targets: new EventBridge Pipes targets alpha module (#29057) (9419f54)
- scheduler-targets-alpha:
SageMakerStartPipelineExecution
Target (#28927) (db260b0), closes #27457
Bug Fixes
v2.127.0
Features
- eks: support for Kubernetes version 1.29 (#29040) (9dfabb1), closes #27930 #28983
- update L1 CloudFormation resource definitions (#29053) (7fcd5be)
- codebuild: new CodeBuild lambda compute images (#28630) (610fce1)
- codepipeline: change default value for crossAccountKeys to false (under feature flag) (#28556) (144b1b9), closes /github.com/aws/aws-cdk/blob/f4c1d1253ee34c2837a57a93faa47c9da97ef6d8/packages/aws-cdk-lib/aws-codepipeline/lib/pipeline.ts#L380-L381 #28247
- cognito: specifying the trigger event version in UserPool.addTrigger() (#28899) (7f2d4f1), closes #28683 #28683
- ecs:
idleTimeout
andperRequestTimeout
for service connect (#28877) (ffcae2f) - ecs-patterns:
healthCheck
property forApplicationLoadBalancedFargateService
(#28797) (5996856), closes #28796 - efs: create read-only file system for use as a destination of replication (#28913) (832f70c), closes #28912
- lambda: support enums in loggingFormat (#28942) (fb2329f)
- route53: multivalue answer routing (#28938) (0e6e37e), closes #28939
- sns: message archive policy (#29008) (9782f6b), closes #29007
- stepfunctions: distributed map construct (#28821) (97e3827), closes #23216
Bug Fixes
- cloudwatch: Math:UnknownIdentifier warning for INSIGHT_RULE_METRIC (#28870) (7eedb54)
- ec2: deploying an isolated subnet fails when
ipv6AssignAddressOnCreation
is set to true (#28902) (9de77bb), closes /github.com/aws/aws-cdk/issues/28843#issuecomment-1909006632 #28843 - lambda: LoggingConfig default error (#28973) (8c79bdc)
- lambda-event-sources: update s3-event-source to accept IBucket (#28943) (431df3b), closes #4323 #25782
- migrate:
--from-stack
does not retrieved processed template (#29035) (74c4c6f) - stepfunctions: the Retry field in the statesJson in CustomState is always overwrited (#28793) (3c33e2c), closes /github.com/aws/aws-cdk/blob/45b8398bec9ba9c03f195c14f3b92188c9058a7b/packages/aws-cdk-lib/aws-stepfunctions/lib/states/custom-state.ts#L74 #28769 #28586
Alpha modules (2.127.0-alpha.0)
Features
Bug Fixes
v2.126.0
v2.125.0
Features
- applicationautoscaling: validate
evaluationPeriods
anddatapointsToAlarm
for step scaling policy (#28880) (4034adb) - batch: add fargate Runtime Platform properties to ECS Fargate C… (#28841) (ac8251f), closes #26484
- CLI: Diff Supports Import Change Sets (#28787) (d973615), closes #28336
- cloudfront: retrieve default distribution metrics (#28894) (8e115db), closes #28893
- cognito: validate oidc provider name (#28802) (534794c), closes #28667
- sqs: support for permission settings for dead letter source queues (#28745) (9e21803), closes #19766
Bug Fixes
- stepfunctions-tasks: mediapackagevod service generates wrong action in role policy (#28775) (305dae0), closes #28774
- revert deprecation of
logRetention
properties (#28934) (f89a7d2), closes #28919 - apigatewayv2: WebSocketAwsIntegration ignores requestParameters and integrationPassThrough behaviors (#28921) (990ead3)
- eks: Could not use ec2 instance type and size that their names contains dashes (#28040) (b32f47c), closes #27587
Alpha modules (2.125.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- integ-runner: Parsing of the cli input caused arguments passed after the first instance
--language <language>
to be interpreted as a language as well. This prevented passing a test name after providing cli options. To overcome this limitation,integ-runner
now requires an explicit--language
option for each language you want to include:integ-runner --language javascript --language python
. This was already documented that way and always the intended way to use this feature. - neptune-alpha: Corrected LogRetention IDs for DatabaseCluster. Previously, regardless of the log type, the string ‘objectObject’ was always included, but after the correction, the log type is now included.
Features
- app-staging-synthesizer-alpha: encryption type for staging bucket (#28903) (69f4b8d), closes #28815
- pipes: EventBridge Pipes alpha module (#28388) (2d9106b), closes #23495
Bug Fixes
v2.124.0
Features
- update L1 CloudFormation resource definitions (#28878) (98cea43), closes /docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3
- update L1 CloudFormation resource definitions (#28886) (6a7a24a)
- cloudfront: additional cloudfront distribution metrics (#28777) (95d187e), closes #22922
- cloudfront: associate key value stores to functions (#28571) (5ede456), closes #28377
- route53: latency based routing (#28723) (169fd91), closes #28722
- s3: date-based partitioning for log objects (#28790) (2952408), closes /docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html#cfn-s3 #28141
- sns: suffix matching to sub filter (#28795) (2bf6d82), closes #28765
Bug Fixes
- cloudwatch-actions: multiple alarms with LambdaAction for the same Lambda fail (under feature flag) (#28712) (b1e3dfd)
- cognito: allow custom email msg placeholder (#28832) (1dbfa14)
- eks: helm uninstall in custom resource handler does not respect
Wait
(#28830) (7a30f5d), closes #28831 - iam: allow intrinsic functions in deletion policy (#28834) (2801355)
- iam: SamlConsolePrincipal returns incorrect url in GovCloud and ISO regions (#28704) (c1f2abb), closes #25723
- opensearch: always create CloudWatch Logs resource policy when logging is enabled (#28707) (a5a8855), closes #23637
- rds: proxy target is missing KMS permissions (#28858) (c17dbde), closes #28850
Alpha modules (2.124.0-alpha.0)
v2.123.0
Features
- apigatewayv2: AWS type websocket api integration in http api (#28718) (4d7374e), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2
- autoscaling:
datapointsToAlarm
property for step scaling policy (#28792) (baf2bfb), closes #28749 - core: add validations for export name in CfnOutput (#28575) (513d9fb), closes #28563
- core: custom resources deprecate
logRetention
in favor oflogGroup
(#28783) (ea34c89), closes #28737 - dynamodb: import data from the bucket (#28610) (45b8398), closes #21825
- ec2: flow logs from TransitGateway and TransitGatewayAttachment (#28605) (a238590), closes #27222
- ecs: add neuron to ecs AMI hardware type (#28819) (ef1d64e), closes #28198
- ecs: support for explicit activation of the circuit breaker (#28611) (bbb9555), closes #27131
- ecs-patterns: cooldown parameter to QueueProcessingServiceBaseProps (#28730) (b3b672a), closes #8298
- logs: support data protection custom data identifiers (#28553) (1222aaa), closes #28430
- rds: allocatedStorage parameter for DatabaseInstanceReadReplica (#28789) (df8fbc4), closes #17083
- rds: Kerberos authentication support in Aurora Database Clusters (#28559) (bdf4285), closes /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/instance.ts#L625 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/instance.ts#L633 #28050
- stepfunctions: support Map ItemSelector (#28771) (b226a8c), closes #27913 #23265
- update L1 CloudFormation resource definitions (#28811) (1b6be8b)
Bug Fixes
- appsync: add dependency to logretention for graphql apis log group (#28548) (04e5480), closes #26564
- CLI:
cdk diff
is not clear enough about using read-only change sets (#28741) (bb50f97) - lambda: lambda does not set environment variables for
AWS_CODEGURU_PROFILER
properties when creating Amazon CodeGuruProfiler profiling group (#28762) (2511956), closes #23511 - rds: Failed to create a Database Instance with Kerberos authentication configured (#28601) (b620f1b), closes #28600
Alpha modules (2.123.0-alpha.0)
Features
Bug Fixes
v2.122.0
Features
- CodePipelineActions: Add support for custom events in CodeCommit source action (#28008) (c3802c4), closes #12045
- ec2: add dual stack vpc support (#28480) (caf83f1), closes #894
- ecs: L2 for ebs task attach (#28691) (fc0a89a)
- ecs: support for capacity provider managed instance draining (#28672) (aaa2a09)
- efs: One-Zone filesystem (#28501) (c0085d5), closes /github.com/aws/aws-cdk/issues/15864#issuecomment-895483167 #15864
- efs: transition to archive for
FileSystem
(#28719) (03c08b0), closes #28720 - elbv2: Implement IConnectable to NLB (#28494) (1e69cc6), closes #26735
- firehose-destinations-alpha: support zero buffering (#28716) (db2e78e), closes #28714
- lambda: deprecate
logRetention
properties in favor oflogGroup
(#28737) (4a09720) - rds: Add log group property to RDS instance and RDS cluster (#28676) (9aa7281)
- route53: weighted routing (#28705) (4a0c24d), closes #26753
- update L1 CloudFormation resource definitions (#28677) (b2c60cb), closes /docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2
- update L1 CloudFormation resource definitions (#28684) (cbe2378), closes /docs.aws.amazon.com/kendra/latest/dg/ds-schemas.html#ds-s3
Bug Fixes
- cli: program execution fails without debug information (#28687) (8fbd385)
- cli: running the cli with --debug does not print stack traces (#28669) (dd04725)
- cloudformation-diff: Fix aws-sdk dependency issue (#28680) (109b2ab), closes #28679
- ec2: max iops value for io2 EBS volume is wrong (#28695) (a30a205), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2
- ecs: EC2 metadata access is blocked when using EC2 capacity provider for autoscaling (#28437) (30a0d33), closes /github.com/aws/aws-cdk/blame/2d9de189e583186f2b77386ae4fcfff42c864568/packages/aws-cdk-lib/aws-ecs/lib/cluster.ts#L502-L504 #28270 #28270
- lambda: circular dependencies when EFS and Lambda are deployed in separate stacks (#28560) (6e9045f), closes /github.com/aws/aws-cdk/blob/dde59755cb71aee73a58f3b2c2068f2ae01e9b72/packages/aws-cdk-lib/aws-lambda/lib/function.ts#L1416 /github.com/aws/aws-cdk/blob/dde59755cb71aee73a58f3b2c2068f2ae01e9b72/packages/aws-cdk-lib/aws-ec2/lib/connections.ts#L157 /github.com/aws/aws-cdk/blob/dde59755cb71aee73a58f3b2c2068f2ae01e9b72/packages/aws-cdk-lib/aws-ec2/lib/security-group.ts#L84 /github.com/aws/aws-cdk/blob/dde59755cb71aee73a58f3b2c2068f2ae01e9b72/packages/aws-cdk-lib/aws-ec2/lib/connections.ts#L139 /github.com/aws/aws-cdk/blob/dde59755cb71aee73a58f3b2c2068f2ae01e9b72/packages/aws-cdk-lib/aws-ec2/lib/connections.ts#L141 #18759
- opensearchservice: OpenSearchAccessPolicy unnecessarily attempts to install latest sdk version (#28688) (d07deec)
- rds: RDS Parameter Group doesn't support custom removal policy (#28660) (617a595)
Reverts
Alpha modules (2.122.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- appconfig:
deploymentStrategyId
prop infromDeploymentStrategyId
now takes aDeploymentStrategyId
rather than astring
. To import a predefined deployment strategy id, useDeploymentStrategyId.CANARY_10_PERCENT_20_MINUTES
. Otherwise, useDeploymentStrategyId.fromString('abc123')
. - appconfig:
ApplicationProps.name
renamed toApplicationProps.applicationName
- appconfig:
EnvironmentProps.name
renamed toEnvironmentProps.environmentName
- appconfig:
DeploymentStrategyProps.name
renamed toDeploymentStrategyProps.deploymentStrategyName
- appconfig:
ExtensionProps.name
renamed toExtensionProps.extensionName
- appconfig:
Bug Fixes
- amplify: addBranch fails synth with "cannot find entry file..." (#28658) (0f2b8f8), closes #27955 #28633 #28089
- appconfig: fromDeploymentStrategyId takes an enum-like class rather than a string (#28743) (2b59ed1), closes #28671
- appconfig: prefix names with resource name (#28742) (3960720), closes #28671