Releases: aws/aws-cdk
Releases · aws/aws-cdk
v2.181.0
Features
- update L1 CloudFormation resource definitions (#33579) (a6bfe3c)
- rds: scheduling modifications in the next scheduled maintenance window (#33448) (be2c7d0), closes #33447
- stepfunctions: add support for custom CSV delimiters in S3CsvItemReader (#33558) (43ae4fc), closes #33418
Bug Fixes
- cognito: re-adding threat protection capabilities and clarifying feature plans (#33565) (2f9bc41), closes #33393 #32367 #32367 #33393
- core:
serviceTimeoutforCustomResourcedoes not work with token (#33541) (bc91c70), closes #33513 /github.com/go-to-k/aws-cdk/blob/75e52619cd09f363882ff62561a53cd5cd79ab30/packages/aws-cdk-lib/core/lib/custom-resource.ts#L169 /github.com/go-to-k/aws-cdk/blob/75e52619cd09f363882ff62561a53cd5cd79ab30/packages/aws-cdk-lib/core/lib/duration.ts#L332 - core: cross-stack references to NestedStack list values produces invalid outputs (#32575) (f9252ab), closes #27233
- core: wrong priority for tag aspects (#33460) (0b9ffeb)
- rds:
monitoringIntervalinDatabaseClusterPropsdoes not work with token (#33516) (f9b28b9), closes #33504 - stepfunctions-tasks:
SageMakerCreateTrainingJobadd sagemaker:AddTags permission (#32536) (3b07346), closes #32294
Alpha modules (2.181.0-alpha.0)
Features
v2.180.0
Features
- cloudfront-origins: read versioned access level (#33038) (315be88), closes #33034
- update L1 CloudFormation resource definitions (#33531) (93a3348), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2
- cloudfront: support gRPC for distribution (#32535) (1b116b9), closes #32534
- cloudfront: vpc origins (#33318) (8f3e793), closes #32396
- cloudwatch: throw
ValidationErrorsinstead of untyped Errors (#33456) (6098816), closes #32569 - codepipeline-actions: support
timeoutforManualApprovalAction(#33472) (7901f07), closes #33473 - kinesis: support stream consumers (#32087) (f4453c7), closes #32050
- ses: configurationset support default event bus and firehose as destination (#33093) (d8b0da7), closes #32835 #30671
Bug Fixes
- core: adding warnings to alert when properties will be overwritten (#33507) (b06daf8), closes #32468
- lambda: updating addToRolePolicy to avoid circular dependency potential (under feature flag) (#33291) (d946eb7)
- logs:
DataProtectionPolicytemplate key must be PascalCase (#33462) (0379878), closes #33408 #26728 - stepfunctions: disabling logging still requires LogGroup (#30816) (a2cd7ae), closes #30814
- stepfunctions: various JSONata query language fix (#33404) (b16fac2), closes #33403 #33374 #33396 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-stepfunctions/lib/states/state.ts#L398
Alpha modules (2.180.0-alpha.0)
Features
v2.179.0
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- eks:
kubectlLayerproperty is now required in EKSClusterandFargateClusterconstructs. The default value forkubectlLayeris outdated and hence being removed. You can specify your own kubectlLayer version based on your Kubernetes version.
Features
- reset L1 CloudFormation resource definitions to last known working version (#33481)
- cloudtrail: throw
ValidationErrorsinstead of untyped Errors (#33455) (11a75b2), closes #32569 - update L1 CloudFormation resource definitions (#33445) (531280f)
- update L1 CloudFormation resource definitions (#33475) (a7cacb8)
- update L1 CloudFormation resource definitions (#33476) (3a61695)
- update L1 CloudFormation resource definitions (#33480) (67e596e)
- apigateway: resource policy configuration for private API (#32719) (628e649), closes #31660 #31692
- apigatewayv2: stage support
detailedMetricsEnabledproperty (#33267) (0abcacf), closes #33222 - apigatewayv2-integrations: sqs integrations (#29646) (775c009), closes #24785
- appconfig: throw
ValidationErrorinstead of untyped Errors (#33386) (b4efb1e), closes #32569 - assertions: throw typed errors (#33382) (0f57bd3), closes #32569
- assets: throw
ValidationErrorinstead of untyped Errors (#33383) (19cf902), closes #32569 - autoscaling: throw
ValidationErrorinstead of untyped Errors (#33388) (d3f3309), closes #32569 - backup: throw
ValidationErrorinstead of untyped Errors (#33387) (48f2bf7), closes #32569 - batch: throw
ValidationErrorinstead of untyped Errors (#33389) (c83ca82), closes #32569 - certificatemanager: throw
ValidationErrorsinstead of untyped Errors (#33440) (76848e4), closes #32569 - chatbot: throw
ValidationErrorinstead of untyped Error (#33439) (ede5842), closes #32569 - cloudformation-include: throw
ValidationErrorinstead of untyped Errors (#33391) (92a9a73), closes #32569 - cloudfront: throw
ValidationErrorsinstead of untyped Errors (#33438) (c08c7f0), closes #32569 - codebuild: attribute-based compute type for Fleet (#32251) (9fd62cb)
- codepipeline-actions: support commands action (#31667) (2637d46), closes #31666
- cognito: add analyticsConfiguration to UserPoolClient (#32862) (1c98881), closes #32837
- cognito: choice-based authentication (passwordless sign-in / passkey sign-in) (#32369) (9a6e5cc), closes #32265 #32367 #32273
- cx-api: throw
CloudAssemblyErrorinstead of untyped Errors (#33390) (ae95d95), closes #32569 - eks: add L2 constructs to support EKS Hybrid Nodes (#32389) (b91965c)
- eks: make kubectlLayer property required from optional (#32930) (b11f663), closes /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/package.json#L123
- eks: support eks with k8s 1.32 (#33339) (3490d2e)
- elasticloadbalancingv2: minimum Loadbalancer Capacity Unit (LCU) reservation (#32382) (9b178c1)
- events-targets: allow all ECS TaskOverrides (#32344) (aebb331), closes #32217 #32217 /github.com/aws/aws-cdk/blob/1b7265bf5cc623b2e362266c96ce866df539581f/packages/aws-cdk-lib/aws-events-targets/lib/ecs-task.ts#L225-L227
- logs: support regex patterns for JSON Metrics filters (#30741) (c89afe3), closes #30451
- pipelines: throw
ValidationErrorinstead of untyped Errors (#33385) (14b1098), closes #32569 - stepfunctions-tasks: allow region override in call-rest-api task (#33252) (59470c5)
- update L1 CloudFormation resource definitions (#33363) (ba485ef), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2
- rds: support Database Insights for Aurora databases (#32851) (f6ed4be), closes #32680
Bug Fixes
v2.178.2
v2.178.1
v2.178.0
Features
- apigateway: throw
ValidationErrorinstead of untyped errors (#33075) (04efe6c), closes #32569 - applicationautoscaling: throw
ValidationErrorinstead of untyped errors (#33172) (abd4a3e), closes #32569 - appmesh: throw
ValidationErroristead of untyped Errors (#33245) (ba2f5c8), closes #32569 - appsync: add L2 constructs for AWS AppSync Events (#32505) (9ae1d34), closes #32004
- appsync: throw
ValidationErrorinstead of untyped errors (#33206) (ab9dd0a), closes #32569 - bedrock: support Luma AI's Ray2 visual AI model (#33163) (01abd83)
- cloudfront: add origin group selection criteria to L2 Distribution and L2 OriginGroup (#32740) (1b35c4e)
- cognito: support password history size (#33164) (988043e), closes #33106
- cognito: throw
ValidationErrorinstead of untyped errors (#33170) (ecbe1bf) - custom-resource: update default node runtime to node20 for China and Gov regions (#33112) (8c13cf2)
- dynamodb: add pointintimerecoveryspecification and deprecate old (#33059) (aec64f0), closes #32786
- ecs:
ExternalServicesupport daemon scheduling strategy (#32630) (361c7d3), closes #32538 - ecs: add
tlsproperty to a ServiceConnectService (#32605) (d32baf6), closes #32583 - ecs: support availability zone rebalancing (#32263) (a8e2622), closes #32226
- ecs: support container version consistency (#32225) (37df0d2), closes #32202
- ecs: mark TaskDefinition inferenceAccelerators as deprecated (#33248)
- ecs-patterns: add
containerCpuandcontainerMemoryLimitMiBproperty toApplicationLoadBalancedFargateService(#30920) (4dd97bc), closes #20638 #20638 - elasticloadbalancingv2: support AdvertiseTrustStoreCaNames for mTLS (#32678) (6a77e4f)
- kinesisfirehose: graduate to stable 🚀 (#33296) (7aaac12)
- enable additional metadata collection (under feature flag) (#33232) (6b9e47a), closes /github.com/aws/aws-cdk/pull/33232/files#diff-81f821b1205e7040fc3103bf7c0114060a6d5c43ebd2994aa4ed5906e42c9c5fR33
- metadata collection for construct methods (#33292) (bc96ee1)
- throw
ValidationErrorinstead of untyped errors in L1s (#33032) (1b666db), closes #32569 - update L1 CloudFormation resource definitions (#33191) (1beaf83)
- update L1 CloudFormation resource definitions (#33272) (80073c8)
- lambda: latest versions for ADOT Lambda Layers (v0.115.0) (#32783) (39e5578)
- rds: support Aurora PostgreSQL Limitless Database PostgreSQL 16.6 (#33162) (111ffc2), closes /docs.aws.amazon.com/AmazonRDS/latest/AuroraPostgreSQLReleaseNotes/limitless-updates.html#16
- sns: support high throughput mode for FIFO topics (#33056) (bfa0f15)
- stepfunctions: add support JSONata and variables (#32343) (0bb3d6f), closes #32262 #32262 /github.com/aws/aws-cdk/pull/32343#issuecomment-2524096740
Bug Fixes
- apigatewayv2: incorrect arn function causing unwanted behavior (#33100) (ffe9863), closes #33218
- batch: support cfn parameters for managed compute environment properties minvcpus, maxvcpus, and spotbidpercentage (#32954) (5fef9e0), closes #32905
- cli: array arguments in cdk.json are ignored (#33107) (2eff2bd), closes #32814
- custom-resources: incorrect IAM prefix generated for CloudWatch actions (#33078) (c76f668), closes #32968
- sns: topic policy is not created even if enforceSSL enabled (#31569) (b3975c5), closes #31558
Alpha modules (2.178.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- ec2-alpha:
operatingRegionproperty under IPAM class is now renamed tooperatingRegions.
⚠ BREAKING CHANGES TO STABLE MODULES
- ecs: The
TaskDefinitionProps.inferenceAcceleratorsattribute andTaskDefinition.addInferenceAccelerator()method will be marked as deprecated.
Features
v2.177.0
Features
- apigatewayv2: throw
ValidationErrorinstead of untyped errors (#33072) (8b472fc), closes #32569 - apigatewayv2: throw
ValidationErrorinstead of untyped errors (#33082) (5377586), closes #32569 - apigatewayv2-authorizers: throw
ValidationErrorinstead of untyped errors (#33076) (dd34d2e), closes #32569 - bedrock: deprecate Claude 2, 2.1, Instant (#33058) (c0ed449)
- cli: add --untrust option to bootstrap (#33091) (4713bdd)
- cli: show all information from waiter errors (#33035) (b512a72)
- cli: throw typed errors (#33005) (bf81b3c), closes #32548
- cloudfront-origins: list access level for 404 response (#32059) (2b2443d), closes #13983 #31689
- cognito: managed login (#33097) (188f52d)
- elbv2: throw
ValidationErrorintsead of untyped errors (#33111) (cc1988a), closes #32569 - lambda: throw
ValidationErrorinstead of untyped errors (#33033) (a928748), closes #32569 - rds: throw
ValidationErrorinstead of untyped errors (#33042) (0b2db62), closes #32569 - route53: throw
ValidationErrorinstead of untyped errors (#33110) (5e0f16d), closes #32569 - s3: replicating objects (#30966) (9d8a7e2), closes #1680 /docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrulefilter.html#cfn-s3 /docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3 /docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3
- s3: throw
ValidationErrorinstead of untyped errors (#33031) (61e876b), closes #32569 - s3: throw
ValidationErrorinstead of untyped errors (#33109) (aea8f3b), closes #32569 - sns: throw
ValidationErrorinstead of untyped errors (#33045) (7452462), closes #32569 - sqs: throw
ValidationErrorinstead of untyped errors (#33046) (6469412), closes #32569 - ssm: throw
ValidationErrorinstead of untyped errors (#33067) (6677b33), closes #32569 - synthetics: cleanup provisioned lambda and layers for canary (#32738) (bdb4a59)
- synthetics: node playwright 1.0 and python selenium 4.1 runtime (#32245) (d68020b), closes /docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-4
- synthetics: throw
ValidationErrorinstead of untyped errors (#33079) (e4703c1), closes #32569 - VpcV2: add BYOIP IPv6 to VPCv2 (#32927) (93c95fc)
- update L1 CloudFormation resource definitions (#33019) (e31924a), closes /docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html#CloudWatch-Logs-Transformation-parseRoute53 /docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.html#CloudWatch-Logs-Transformation-parseRoute53
Bug Fixes
- bundling: enclosing metafile & tsconfig paths with quotes (#32725) (5410e10)
- cli: disallow import of internal cli libraries (#33021) (e5ac918)
- cli: trace output (-vv) is useless when files are uploaded (#33104) (d95add3)
- cloudfront: add validations on ResponseHeadersCorsBehavior.accessControlAllowMethods (#32769) (4c42800)
- cx-api: cannot detect CloudAssembly across different libraries (#32998) (94ba772), closes aws/aws-cdk#31041
- rds: does not print all failed validations for DatabaseCluster props (#32841) (344d916), closes #32840 #32840 /github.com/aws/aws-cdk/pull/32151/files#diff-49b4a9e1bf0b7db3ab71f4f08580da0cb2191d84605dc82a70c324bd122d5cf7R805-R828 /github.com/aws/aws-cdk/pull/32841/files#diff-5d08d37e744e173239879212c59fd45cb9a279349f3dfb1c66923cb015ed3a3 [/github.com/aws/aws-cdk/blob/3e4f3773bfa48b75bf0adc7d53d46bbec7714a9e/packages/aws-cdk-lib/aws-ec2/lib/volume.ts#L672-L743](https://github.com/aws//github.com/aws/aws-cdk/blob/3e4f3773bfa48b75bf0a...
v2.176.0
Features
- apigatewayv2-integrations:
WebSocketMockIntegrationprops (#30622) (a5a0168), closes #29661 - codebuild: add new BuildImages (#32525) (a734841)
- ecs: enable Enhanced Observability for Container Insights (#32622) (79ab137), closes #32618
- update L1 CloudFormation resource definitions (#32847) (9317203)
- appconfig: environment deletion protection (#32737) (393e5c0)
Bug Fixes
- cli: "no stack found in the main cloud assembly" (#32839) (3c0acce), closes aws/aws-cdk#32636 #32836 #32836
- core: use correct formatting for aggregate errors in
aws-cdk(#32817) (97af31b), closes #32237 - elasticloadbalancingv2: open, dual-stack-without-public-ipv4 ALB does not allow IPv6 inbound traffic (under feature flag) (#32765) (aff160b), closes #32197
- rds: clusterScailabilityType is spelled wrong and should be clusterScalabilityType (#32825) (d39e835), closes #32415 #32415
- rds: incorrect version definition of MySQL 8.4.3 (#32934) (3fbc785), closes #32933
Reverts
- prlint: fail prlinter on codecov failures, with exemption label (#32867) (928d3bb), closes aws/aws-cdk#32674
Alpha modules (2.176.0-alpha.0)
Features
Bug Fixes
- msk: clusterName validation in Cluster class is incorrect (#32792) (41ddd46), closes /github.com/aws/aws-cdk/pull/32505#discussion_r1891027876
v2.175.1
v2.175.0
Features
- ecs: enable fault injection flag (#32598) (ed366ce)
- ecs: warning when creating a service with the default minHealthyPercent (#31738) (3606deb), closes #31705
- update L1 CloudFormation resource definitions (#32768) (107eed3)
- cli: warn of non-existent stacks in
cdk destroy(#32636) (c199378), closes #32545 #27179 40aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L190 aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L286-L291 - eks: update nodegroup gpu check (#32715) (693afea), closes #31347
- update L1 CloudFormation resource definitions (#32755) (8f97112)
- kms: add sign and verify related grant methods (#32681) (86d2853), closes #23185
Bug Fixes
- cli: cannot set environment variable
CI=false(#32749) (26b361d) - cli: requiresRefresh function does not respect null (#32666) (2abc23c), closes #32653 /github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/src/memoize.ts#L27
- cloudwatch: render region and accountId when directly set on metrics (#32325) (c393481), closes #28731
- ecs: outdated linux commands for
canContainersAccessInstanceRole=falseand also deprecate property (#32763) (bbdd42c), closes #28518