Skip to content

Commit b87bea3

Browse files
dependabot[bot]kris-szlapaanthony-nhs
authored
Upgrade: [dependabot] - bump aws-cdk-lib from 2.167.1 to 2.173.1 (#256)
Bumps [aws-cdk-lib](https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib) from 2.167.1 to 2.173.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws/aws-cdk/releases">aws-cdk-lib's releases</a>.</em></p> <blockquote> <h2>v2.173.1</h2> <h3>Bug Fixes</h3> <ul> <li><strong>cli:</strong> getting credentials via SSO fails when the region is set in the profile (<a href="https://redirect.github.com/aws/aws-cdk/issues/32520">#32520</a>) (<a href="https://github.com/aws/aws-cdk/commit/01fec04ea8c0e33a406e6727801f8bc133a21196">01fec04</a>)</li> </ul> <hr /> <h2>Alpha modules (2.173.1-alpha.0)</h2> <h2>v2.173.0</h2> <h3>Features</h3> <ul> <li><strong>cognito:</strong> user pool feature plans (<a href="https://redirect.github.com/aws/aws-cdk/issues/32367">#32367</a>) (<a href="https://github.com/aws/aws-cdk/commit/39c22ded8f7f9b6f08c77113330d6169662094f2">39c22de</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32369">#32369</a></li> <li><strong>dynamodb:</strong> add precision timestamp for kinesis stream (<a href="https://redirect.github.com/aws/aws-cdk/issues/31863">#31863</a>) (<a href="https://github.com/aws/aws-cdk/commit/625c431334730cb7e5d429d39c5a586cc53771a8">625c431</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31761">#31761</a></li> <li><strong>dynamodb:</strong> add warm-throughput to L2 constructs (<a href="https://redirect.github.com/aws/aws-cdk/issues/32390">#32390</a>) (<a href="https://github.com/aws/aws-cdk/commit/496bc78a25fc6ad31e22bd93f698f21df1fc44c0">496bc78</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32127">#32127</a></li> <li><strong>route53:</strong> added EvaluateTargetHealth to Route53 Alias targets (<a href="https://redirect.github.com/aws/aws-cdk/issues/9481">#9481</a>) (<a href="https://redirect.github.com/aws/aws-cdk/issues/30664">#30664</a>) (<a href="https://github.com/aws/aws-cdk/commit/c23be8c24457e03001c16d3a8804ab558e62e899">c23be8c</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/30739">#30739</a></li> <li><strong>route53:</strong> added L2 construct for Route53's health checks (<a href="https://redirect.github.com/aws/aws-cdk/issues/30739">#30739</a>) (<a href="https://github.com/aws/aws-cdk/commit/7fdd974d08d7a6aa3c8bd8aac0fb99dcdd7d0381">7fdd974</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/9481">#9481</a> <a href="https://redirect.github.com/aws/aws-cdk/issues/30664">#30664</a></li> <li><strong>stepfunctions-tasks:</strong> support dynamic values for Glue Job Worker Type (<a href="https://redirect.github.com/aws/aws-cdk/issues/32453">#32453</a>) (<a href="https://github.com/aws/aws-cdk/commit/7df954ca4279fa9734181264af7e55ff1463cbd4">7df954c</a>)</li> <li>update L1 CloudFormation resource definitions (<a href="https://redirect.github.com/aws/aws-cdk/issues/32446">#32446</a>) (<a href="https://github.com/aws/aws-cdk/commit/093c54042acff6e362e6cf7eb30254f879b94966">093c540</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>autoscaling:</strong> <code>AutoScalingGroup</code> requireImdsv2 with launchTemplate or mixedInstancesPolicy throws unclear error (<a href="https://redirect.github.com/aws/aws-cdk/issues/32220">#32220</a>) (<a href="https://github.com/aws/aws-cdk/commit/06cdaacbd3385df51e4632aa8d943ce647855e82">06cdaac</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/27586">#27586</a> <a href="https://redirect.github.com/aws/aws-cdk/issues/27586">#27586</a></li> <li><strong>cli:</strong> assuming a role from the INI file fails in non-commercial regions (<a href="https://redirect.github.com/aws/aws-cdk/issues/32456">#32456</a>) (<a href="https://github.com/aws/aws-cdk/commit/70282420238a094a7e604f8f6ff25b2f761dc5df">7028242</a>)</li> <li><strong>cloudformation-include:</strong> string arrays inside unknown properties cannot be parsed (<a href="https://redirect.github.com/aws/aws-cdk/issues/32461">#32461</a>) (<a href="https://github.com/aws/aws-cdk/commit/0c2f98b00f70bae8995f0a593e1853e93b3fb706">0c2f98b</a>)</li> <li><strong>cloudwatch:</strong> <code>period</code> of each metric in <code>usingMetrics</code> for <code>MathExpression</code> is ignored (<a href="https://redirect.github.com/aws/aws-cdk/issues/30986">#30986</a>) (<a href="https://github.com/aws/aws-cdk/commit/59e96a36f559d51467b00e92102bd9450f38a139">59e96a3</a>), closes <a href="https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts/issues/L606-L608">/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts#L606-L608</a> <a href="https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts/issues/L566">/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts#L566</a></li> <li><strong>elasticloadbalancingv2:</strong> cannot create UDP listener for dual-stack NLB (<a href="https://redirect.github.com/aws/aws-cdk/issues/32184">#32184</a>) (<a href="https://github.com/aws/aws-cdk/commit/e9c6e23ec49405c2f24b7a78ffb427dff6b72822">e9c6e23</a>), closes <a href="https://redirect.github.com/aws//redirect.github.com/aws/aws-cdk/pull/32184/issues/issuecomment-2510536270">aws/aws-cdk#32184</a></li> <li><strong>lambda:</strong> improve validation errors for lambda functions (<a href="https://redirect.github.com/aws/aws-cdk/issues/32323">#32323</a>) (<a href="https://github.com/aws/aws-cdk/commit/2607eb3a905f735b96713dda4f32d28d10d686fd">2607eb3</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32324">#32324</a></li> <li><strong>rds:</strong> serverlessV2MaxCapacity can be set to 0.5, which is invalid (<a href="https://redirect.github.com/aws/aws-cdk/issues/32232">#32232</a>) (<a href="https://github.com/aws/aws-cdk/commit/3fe229d0eb48fe405e00bf3717face3c4cfc2cc1">3fe229d</a>), closes <a href="https://github.com/aws//docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html/issues/cfn-rds-dbcluster-serverlessv2">/docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html#cfn-rds-dbcluster-serverlessv2</a></li> <li><strong>stepfunctions-task:</strong> elasticloadbalancingv2 service policy (<a href="https://redirect.github.com/aws/aws-cdk/issues/32419">#32419</a>) (<a href="https://github.com/aws/aws-cdk/commit/2677fce46275c9bdb54c1c6379b04f805c2ec9b2">2677fce</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32417">#32417</a> <a href="https://github.com/aws//github.com/aws/aws-cdk/blame/2607eb3a905f735b96713dda4f32d28d10d686fd/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts/issues/L93-L97">/github.com/aws/aws-cdk/blame/2607eb3a905f735b96713dda4f32d28d10d686fd/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts#L93-L97</a></li> <li><strong>synthetics:</strong> canary name can be up to 255 characters (<a href="https://redirect.github.com/aws/aws-cdk/issues/32385">#32385</a>) (<a href="https://github.com/aws/aws-cdk/commit/231e1bf98597bcaf90a75632f9e217fbf33d585a">231e1bf</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32376">#32376</a></li> </ul> <hr /> <h2>Alpha modules (2.173.0-alpha.0)</h2> <h3>Features</h3> <ul> <li><strong>redshift-alpha:</strong> add support for RA3.large node type (<a href="https://redirect.github.com/aws/aws-cdk/issues/31637">#31637</a>) (<a href="https://github.com/aws/aws-cdk/commit/ce0e09fea17c78d40026df114796bc89ad365d18">ce0e09f</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31634">#31634</a></li> </ul> <h2>v2.172.0</h2> <h3>⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES</h3> <ul> <li><strong>apigateway:</strong> We will be removing deprecated <code>APIGatewayV2</code> constructs from <code>aws-apigateway</code> module.</li> </ul> <h3>Features</h3> <ul> <li><strong>aspects:</strong> priority-ordered aspect invocation (<a href="https://redirect.github.com/aws/aws-cdk/issues/32097">#32097</a>) (<a href="https://github.com/aws/aws-cdk/commit/8ccdff4ee083d66f73259223ba75ba0b8a0752a0">8ccdff4</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/21341">#21341</a></li> <li><strong>cognito:</strong> new <code>cloudFrontEndpoint</code> method for user pool domain without custom resource (<a href="https://redirect.github.com/aws/aws-cdk/issues/31402">#31402</a>) (<a href="https://github.com/aws/aws-cdk/commit/deeb2ad0bc38101a9f1fa8162ad5d6008900a98d">deeb2ad</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31342">#31342</a></li> <li><strong>cognito:</strong> support for ALLOW_USER_AUTH explicit auth flow (<a href="https://redirect.github.com/aws/aws-cdk/issues/32273">#32273</a>) (<a href="https://github.com/aws/aws-cdk/commit/c5bcfdc57aa763539b31f4e7f6f115f707c401a4">c5bcfdc</a>)</li> <li><strong>elasticloadbalancingv2:</strong> ip address type for both network and application target group (<a href="https://redirect.github.com/aws/aws-cdk/issues/32189">#32189</a>) (<a href="https://github.com/aws/aws-cdk/commit/7cc5f305c839048454240f8d6db1614e2dfa4c53">7cc5f30</a>)</li> <li><strong>events:</strong> add filter rules for prefixEqualsIgnoreCase, suffixEqualsIgnoreCase, wildcard, and anythingBut* matches (<a href="https://redirect.github.com/aws/aws-cdk/issues/32063">#32063</a>) (<a href="https://github.com/aws/aws-cdk/commit/0ce71fc50cffffc04d9d1bc9c98c9c04e77bfe1f">0ce71fc</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/28462">#28462</a></li> <li><strong>lambda-nodejs:</strong> add bun support (<a href="https://redirect.github.com/aws/aws-cdk/issues/31770">#31770</a>) (<a href="https://github.com/aws/aws-cdk/commit/aed8ad10c3d86497be34b2889466f770910d36ef">aed8ad1</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31753">#31753</a> <a href="https://redirect.github.com/aws/aws-cdk/issues/31753">#31753</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aws/aws-cdk/blob/v2.173.1/CHANGELOG.v2.md">aws-cdk-lib's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws/aws-cdk/compare/v2.173.0...v2.173.1">2.173.1</a> (2024-12-14)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>cli:</strong> getting credentials via SSO fails when the region is set in the profile (<a href="https://redirect.github.com/aws/aws-cdk/issues/32520">#32520</a>) (<a href="https://github.com/aws/aws-cdk/commit/01fec04ea8c0e33a406e6727801f8bc133a21196">01fec04</a>)</li> </ul> <h2><a href="https://github.com/aws/aws-cdk/compare/v2.172.0...v2.173.0">2.173.0</a> (2024-12-11)</h2> <h3>Features</h3> <ul> <li><strong>cognito:</strong> user pool feature plans (<a href="https://redirect.github.com/aws/aws-cdk/issues/32367">#32367</a>) (<a href="https://github.com/aws/aws-cdk/commit/39c22ded8f7f9b6f08c77113330d6169662094f2">39c22de</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32369">#32369</a></li> <li><strong>dynamodb:</strong> add precision timestamp for kinesis stream (<a href="https://redirect.github.com/aws/aws-cdk/issues/31863">#31863</a>) (<a href="https://github.com/aws/aws-cdk/commit/625c431334730cb7e5d429d39c5a586cc53771a8">625c431</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31761">#31761</a></li> <li><strong>dynamodb:</strong> add warm-throughput to L2 constructs (<a href="https://redirect.github.com/aws/aws-cdk/issues/32390">#32390</a>) (<a href="https://github.com/aws/aws-cdk/commit/496bc78a25fc6ad31e22bd93f698f21df1fc44c0">496bc78</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32127">#32127</a></li> <li><strong>route53:</strong> added EvaluateTargetHealth to Route53 Alias targets (<a href="https://redirect.github.com/aws/aws-cdk/issues/9481">#9481</a>) (<a href="https://redirect.github.com/aws/aws-cdk/issues/30664">#30664</a>) (<a href="https://github.com/aws/aws-cdk/commit/c23be8c24457e03001c16d3a8804ab558e62e899">c23be8c</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/30739">#30739</a></li> <li><strong>route53:</strong> added L2 construct for Route53's health checks (<a href="https://redirect.github.com/aws/aws-cdk/issues/30739">#30739</a>) (<a href="https://github.com/aws/aws-cdk/commit/7fdd974d08d7a6aa3c8bd8aac0fb99dcdd7d0381">7fdd974</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/9481">#9481</a> <a href="https://redirect.github.com/aws/aws-cdk/issues/30664">#30664</a></li> <li><strong>stepfunctions-tasks:</strong> support dynamic values for Glue Job Worker Type (<a href="https://redirect.github.com/aws/aws-cdk/issues/32453">#32453</a>) (<a href="https://github.com/aws/aws-cdk/commit/7df954ca4279fa9734181264af7e55ff1463cbd4">7df954c</a>)</li> <li>update L1 CloudFormation resource definitions (<a href="https://redirect.github.com/aws/aws-cdk/issues/32446">#32446</a>) (<a href="https://github.com/aws/aws-cdk/commit/093c54042acff6e362e6cf7eb30254f879b94966">093c540</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>autoscaling:</strong> <code>AutoScalingGroup</code> requireImdsv2 with launchTemplate or mixedInstancesPolicy throws unclear error (<a href="https://redirect.github.com/aws/aws-cdk/issues/32220">#32220</a>) (<a href="https://github.com/aws/aws-cdk/commit/06cdaacbd3385df51e4632aa8d943ce647855e82">06cdaac</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/27586">#27586</a> <a href="https://redirect.github.com/aws/aws-cdk/issues/27586">#27586</a></li> <li><strong>cli:</strong> assuming a role from the INI file fails in non-commercial regions (<a href="https://redirect.github.com/aws/aws-cdk/issues/32456">#32456</a>) (<a href="https://github.com/aws/aws-cdk/commit/70282420238a094a7e604f8f6ff25b2f761dc5df">7028242</a>)</li> <li><strong>cloudformation-include:</strong> string arrays inside unknown properties cannot be parsed (<a href="https://redirect.github.com/aws/aws-cdk/issues/32461">#32461</a>) (<a href="https://github.com/aws/aws-cdk/commit/0c2f98b00f70bae8995f0a593e1853e93b3fb706">0c2f98b</a>)</li> <li><strong>cloudwatch:</strong> <code>period</code> of each metric in <code>usingMetrics</code> for <code>MathExpression</code> is ignored (<a href="https://redirect.github.com/aws/aws-cdk/issues/30986">#30986</a>) (<a href="https://github.com/aws/aws-cdk/commit/59e96a36f559d51467b00e92102bd9450f38a139">59e96a3</a>), closes <a href="https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts/issues/L606-L608">/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts#L606-L608</a> <a href="https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts/issues/L566">/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts#L566</a></li> <li><strong>elasticloadbalancingv2:</strong> cannot create UDP listener for dual-stack NLB (<a href="https://redirect.github.com/aws/aws-cdk/issues/32184">#32184</a>) (<a href="https://github.com/aws/aws-cdk/commit/e9c6e23ec49405c2f24b7a78ffb427dff6b72822">e9c6e23</a>), closes <a href="https://redirect.github.com/aws//redirect.github.com/aws/aws-cdk/pull/32184/issues/issuecomment-2510536270">aws/aws-cdk#32184</a></li> <li><strong>lambda:</strong> improve validation errors for lambda functions (<a href="https://redirect.github.com/aws/aws-cdk/issues/32323">#32323</a>) (<a href="https://github.com/aws/aws-cdk/commit/2607eb3a905f735b96713dda4f32d28d10d686fd">2607eb3</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32324">#32324</a></li> <li><strong>rds:</strong> serverlessV2MaxCapacity can be set to 0.5, which is invalid (<a href="https://redirect.github.com/aws/aws-cdk/issues/32232">#32232</a>) (<a href="https://github.com/aws/aws-cdk/commit/3fe229d0eb48fe405e00bf3717face3c4cfc2cc1">3fe229d</a>), closes <a href="https://github.com/aws//docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html/issues/cfn-rds-dbcluster-serverlessv2">/docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html#cfn-rds-dbcluster-serverlessv2</a></li> <li><strong>stepfunctions-task:</strong> elasticloadbalancingv2 service policy (<a href="https://redirect.github.com/aws/aws-cdk/issues/32419">#32419</a>) (<a href="https://github.com/aws/aws-cdk/commit/2677fce46275c9bdb54c1c6379b04f805c2ec9b2">2677fce</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32417">#32417</a> <a href="https://github.com/aws//github.com/aws/aws-cdk/blame/2607eb3a905f735b96713dda4f32d28d10d686fd/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts/issues/L93-L97">/github.com/aws/aws-cdk/blame/2607eb3a905f735b96713dda4f32d28d10d686fd/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts#L93-L97</a></li> <li><strong>synthetics:</strong> canary name can be up to 255 characters (<a href="https://redirect.github.com/aws/aws-cdk/issues/32385">#32385</a>) (<a href="https://github.com/aws/aws-cdk/commit/231e1bf98597bcaf90a75632f9e217fbf33d585a">231e1bf</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/32376">#32376</a></li> </ul> <h2><a href="https://github.com/aws/aws-cdk/compare/v2.171.1...v2.172.0">2.172.0</a> (2024-12-06)</h2> <h3>⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES</h3> <ul> <li><strong>apigateway:</strong> We will be removing deprecated <code>APIGatewayV2</code> constructs from <code>aws-apigateway</code> module.</li> </ul> <p><em>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license</em></p> <h3>Features</h3> <ul> <li><strong>aspects:</strong> priority-ordered aspect invocation (<a href="https://redirect.github.com/aws/aws-cdk/issues/32097">#32097</a>) (<a href="https://github.com/aws/aws-cdk/commit/8ccdff4ee083d66f73259223ba75ba0b8a0752a0">8ccdff4</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/21341">#21341</a> <a href="https://github.com/aws//github.com/aws/aws-cdk/blob/8b495f9ec157c0b00674715f62b1bbcabf2096ac/packages/aws-cdk-lib/core/lib/private/synthesis.ts/issues/L217">/github.com/aws/aws-cdk/blob/8b495f9ec157c0b00674715f62b1bbcabf2096ac/packages/aws-cdk-lib/core/lib/private/synthesis.ts#L217</a></li> <li><strong>cognito:</strong> new <code>cloudFrontEndpoint</code> method for user pool domain without custom resource (<a href="https://redirect.github.com/aws/aws-cdk/issues/31402">#31402</a>) (<a href="https://github.com/aws/aws-cdk/commit/deeb2ad0bc38101a9f1fa8162ad5d6008900a98d">deeb2ad</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31342">#31342</a> <a href="https://github.com/aws//github.com/go-to-k/aws-cdk/blob/fcbdc769e681f1f915cdc8cd7aa3a565d807884d/packages/aws-cdk-lib/aws-route53-targets/lib/userpool-domain.ts/issues/L14">/github.com/go-to-k/aws-cdk/blob/fcbdc769e681f1f915cdc8cd7aa3a565d807884d/packages/aws-cdk-lib/aws-route53-targets/lib/userpool-domain.ts#L14</a></li> <li><strong>cognito:</strong> support for ALLOW_USER_AUTH explicit auth flow (<a href="https://redirect.github.com/aws/aws-cdk/issues/32273">#32273</a>) (<a href="https://github.com/aws/aws-cdk/commit/c5bcfdc57aa763539b31f4e7f6f115f707c401a4">c5bcfdc</a>)</li> <li><strong>elasticloadbalancingv2:</strong> ip address type for both network and application target group (<a href="https://redirect.github.com/aws/aws-cdk/issues/32189">#32189</a>) (<a href="https://github.com/aws/aws-cdk/commit/7cc5f305c839048454240f8d6db1614e2dfa4c53">7cc5f30</a>)</li> <li><strong>events:</strong> add filter rules for prefixEqualsIgnoreCase, suffixEqualsIgnoreCase, wildcard, and anythingBut* matches (<a href="https://redirect.github.com/aws/aws-cdk/issues/32063">#32063</a>) (<a href="https://github.com/aws/aws-cdk/commit/0ce71fc50cffffc04d9d1bc9c98c9c04e77bfe1f">0ce71fc</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/28462">#28462</a></li> <li><strong>lambda-nodejs:</strong> add bun support (<a href="https://redirect.github.com/aws/aws-cdk/issues/31770">#31770</a>) (<a href="https://github.com/aws/aws-cdk/commit/aed8ad10c3d86497be34b2889466f770910d36ef">aed8ad1</a>), closes <a href="https://redirect.github.com/aws/aws-cdk/issues/31753">#31753</a> <a href="https://redirect.github.com/aws/aws-cdk/issues/31753">#31753</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws/aws-cdk/commit/c23be8c24457e03001c16d3a8804ab558e62e899"><code>c23be8c</code></a> feat(route53): added EvaluateTargetHealth to Route53 Alias targets (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/9481">#9481</a>) (#...</li> <li><a href="https://github.com/aws/aws-cdk/commit/7df954ca4279fa9734181264af7e55ff1463cbd4"><code>7df954c</code></a> feat(stepfunctions-tasks): support dynamic values for Glue Job Worker Type (#...</li> <li><a href="https://github.com/aws/aws-cdk/commit/0c2f98b00f70bae8995f0a593e1853e93b3fb706"><code>0c2f98b</code></a> fix(cloudformation-include): string arrays inside unknown properties cannot b...</li> <li><a href="https://github.com/aws/aws-cdk/commit/c2087898496002b38b59dc61ec3dc84b9acd5916"><code>c208789</code></a> chore(ec2): add Amazon MQ interface vpc endpoint (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/32464">#32464</a>)</li> <li><a href="https://github.com/aws/aws-cdk/commit/59e96a36f559d51467b00e92102bd9450f38a139"><code>59e96a3</code></a> fix(cloudwatch): <code>period</code> of each metric in <code>usingMetrics</code> for `MathExpressio...</li> <li><a href="https://github.com/aws/aws-cdk/commit/4937ee1175e497ce5b166fc7ac87ca6f53c7b0e5"><code>4937ee1</code></a> chore(lambda): inline code size limit is 4MB (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/30773">#30773</a>)</li> <li><a href="https://github.com/aws/aws-cdk/commit/2677fce46275c9bdb54c1c6379b04f805c2ec9b2"><code>2677fce</code></a> fix(stepfunctions-task): elasticloadbalancingv2 service policy (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/32419">#32419</a>)</li> <li><a href="https://github.com/aws/aws-cdk/commit/7fdd974d08d7a6aa3c8bd8aac0fb99dcdd7d0381"><code>7fdd974</code></a> feat(route53): added L2 construct for Route53's health checks (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/30739">#30739</a>)</li> <li><a href="https://github.com/aws/aws-cdk/commit/625c431334730cb7e5d429d39c5a586cc53771a8"><code>625c431</code></a> feat(dynamodb): add precision timestamp for kinesis stream (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/31863">#31863</a>)</li> <li><a href="https://github.com/aws/aws-cdk/commit/784c834af6e32a64d0ec9d420dd2f0db8119c996"><code>784c834</code></a> chore(eks): nodegroup add missing AL2023 AMI type (<a href="https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk-lib/issues/32418">#32418</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aws/aws-cdk/commits/v2.173.1/packages/aws-cdk-lib">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aws-cdk-lib&package-manager=npm_and_yarn&previous-version=2.167.1&new-version=2.173.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kris Szlapa <[email protected]> Co-authored-by: Anthony Brown <[email protected]>
1 parent d5e5f05 commit b87bea3

File tree

8 files changed

+7535
-2823
lines changed

8 files changed

+7535
-2823
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nodejs 20.18.0
1+
nodejs 22.12.0
22
python 3.12.7
33
poetry 1.8.3
44
shellcheck 0.10.0

package-lock.json

Lines changed: 7529 additions & 2805 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"check-licenses": "license-checker --failOn GPL --failOn LGPL --start ../.."
1111
},
1212
"dependencies": {
13-
"aws-cdk-lib": "^2.167.1",
13+
"aws-cdk-lib": "^2.173.1",
1414
"cdk-nag": "^2.34.15",
1515
"constructs": "^10.4.2",
1616
"source-map-support": "^0.5.21"

packages/cdk/resources/CognitoFunctions.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {LambdaFunction} from "./LambdaFunction"
33
import {ITableV2} from "aws-cdk-lib/aws-dynamodb"
44
import {IManagedPolicy} from "aws-cdk-lib/aws-iam"
55
import {Secret} from "aws-cdk-lib/aws-secretsmanager"
6-
import {Runtime} from "aws-cdk-lib/aws-lambda"
76
import {NodejsFunction} from "aws-cdk-lib/aws-lambda-nodejs"
87
import {SharedSecrets} from "./SharedSecrets"
98
import {NagSuppressions} from "cdk-nag"
@@ -48,7 +47,6 @@ export class CognitoFunctions extends Construct {
4847

4948
// Create the token Lambda function
5049
const tokenLambda = new LambdaFunction(this, "TokenResources", {
51-
runtime: Runtime.NODEJS_20_X,
5250
serviceName: props.serviceName,
5351
stackName: props.stackName,
5452
lambdaName: `${props.stackName}-token`,
@@ -102,7 +100,6 @@ export class CognitoFunctions extends Construct {
102100
}
103101

104102
mockTokenLambda = new LambdaFunction(this, "MockTokenResources", {
105-
runtime: Runtime.NODEJS_20_X,
106103
serviceName: props.serviceName,
107104
stackName: props.stackName,
108105
lambdaName: `${props.stackName}-mock-token`,

packages/cdk/resources/LambdaFunction.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ServicePrincipal
77
} from "aws-cdk-lib/aws-iam"
88
import {NodejsFunction} from "aws-cdk-lib/aws-lambda-nodejs"
9-
import {CfnFunction, LayerVersion, Runtime} from "aws-cdk-lib/aws-lambda"
9+
import {CfnFunction, LayerVersion} from "aws-cdk-lib/aws-lambda"
1010
import {Fn, RemovalPolicy} from "aws-cdk-lib"
1111
import {Key} from "aws-cdk-lib/aws-kms"
1212
import {
@@ -27,7 +27,6 @@ export interface LambdaFunctionProps {
2727
readonly serviceName: string
2828
readonly stackName: string
2929
readonly lambdaName: string
30-
readonly runtime: Runtime
3130
readonly additionalPolicies?: Array<IManagedPolicy>
3231
readonly packageBasePath: string
3332
readonly entryPoint: string
@@ -133,7 +132,6 @@ export class LambdaFunction extends Construct {
133132

134133
const lambdaFunction = new NodejsFunction(this, props.lambdaName, {
135134
...lambdaOptions,
136-
runtime: props.runtime,
137135
role: lambdaRole,
138136
environment: props.lambdaEnvironmentVariables,
139137
logGroup: lambdaLogGroup,

packages/cdk/resources/LambdaFunction/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface DefaultLambdaOptionsParams {
2626
function getDefaultLambdaOptions(options: DefaultLambdaOptionsParams): NodejsFunctionProps {
2727
const defaultOptions: NodejsFunctionProps = {
2828
functionName: options.functionName,
29-
runtime: Runtime.NODEJS_20_X,
29+
runtime: Runtime.NODEJS_22_X,
3030
entry: join(baseDir, options.packageBasePath, options.entryPoint),
3131
projectRoot: baseDir,
3232
memorySize: 256,

packages/cdk/resources/api/apiFunctions.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {LambdaFunction} from "../LambdaFunction"
33
import {SharedSecrets} from "../SharedSecrets"
44
import {ITableV2} from "aws-cdk-lib/aws-dynamodb"
55
import {IManagedPolicy} from "aws-cdk-lib/aws-iam"
6-
import {Runtime} from "aws-cdk-lib/aws-lambda"
76
import {NodejsFunction} from "aws-cdk-lib/aws-lambda-nodejs"
87
import {Secret} from "aws-cdk-lib/aws-secretsmanager"
98
import {NagSuppressions} from "cdk-nag"
@@ -100,7 +99,6 @@ export class ApiFunctions extends Construct {
10099

101100
// Single Lambda for both real and mock scenarios
102101
const trackerUserInfoLambda = new LambdaFunction(this, "TrackerUserInfo", {
103-
runtime: Runtime.NODEJS_20_X,
104102
serviceName: props.serviceName,
105103
stackName: props.stackName,
106104
lambdaName: `${props.stackName}-TrkUsrNfoUnified`,
@@ -117,7 +115,6 @@ export class ApiFunctions extends Construct {
117115

118116
// Prescription Search Lambda Function
119117
const prescriptionSearchLambda = new LambdaFunction(this, "PrescriptionSearch", {
120-
runtime: Runtime.NODEJS_20_X,
121118
serviceName: props.serviceName,
122119
stackName: props.stackName,
123120
lambdaName: `${props.stackName}-prescSearch`,

packages/cdk/tests/functionConstruct.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {Template, Match} from "aws-cdk-lib/assertions"
77
import {describe, test, beforeAll} from "@jest/globals"
88

99
import {LambdaFunction} from "../resources/LambdaFunction"
10-
import {Runtime} from "aws-cdk-lib/aws-lambda"
1110

1211
describe("functionConstruct works correctly", () => {
1312
let stack: Stack
@@ -28,7 +27,6 @@ describe("functionConstruct works correctly", () => {
2827
serviceName: "testServiceName",
2928
stackName: "testServiceName-testStack",
3029
lambdaName: "testLambda",
31-
runtime: Runtime.NODEJS_20_X,
3230
additionalPolicies: [
3331
],
3432
packageBasePath: "packages/cdk",
@@ -111,7 +109,7 @@ describe("functionConstruct works correctly", () => {
111109
test("it has the correct lambda", () => {
112110
template.hasResourceProperties("AWS::Lambda::Function", {
113111
Handler: "index.handler",
114-
Runtime: "nodejs20.x",
112+
Runtime: "nodejs22.x",
115113
FunctionName: "testServiceName-testLambda",
116114
MemorySize: 256,
117115
Architectures: ["x86_64"],
@@ -150,7 +148,6 @@ describe("functionConstruct works correctly with environment variables", () => {
150148
serviceName: "testServiceName",
151149
stackName: "testServiceName-testStack",
152150
lambdaName: "testLambda",
153-
runtime: Runtime.NODEJS_20_X,
154151
additionalPolicies: [],
155152
packageBasePath: "packages/cdk",
156153
entryPoint: "tests/src/dummyLambda.ts",
@@ -163,7 +160,7 @@ describe("functionConstruct works correctly with environment variables", () => {
163160

164161
test("environment variables are added correctly", () => {
165162
template.hasResourceProperties("AWS::Lambda::Function", {
166-
Runtime: "nodejs20.x",
163+
Runtime: "nodejs22.x",
167164
FunctionName: "testServiceName-testLambda",
168165
Environment: {Variables: {foo: "bar"}}
169166
})
@@ -193,7 +190,6 @@ describe("functionConstruct works correctly with additional policies", () => {
193190
serviceName: "testServiceName",
194191
stackName: "testServiceName-testStack",
195192
lambdaName: "testLambda",
196-
runtime: Runtime.NODEJS_20_X,
197193
additionalPolicies: [testPolicy],
198194
packageBasePath: "packages/cdk",
199195
entryPoint: "tests/src/dummyLambda.ts",

0 commit comments

Comments
 (0)