Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 2.156.0 #31334

Merged
merged 39 commits into from
Sep 6, 2024
Merged

chore(release): 2.156.0 #31334

merged 39 commits into from
Sep 6, 2024

Commits on Aug 29, 2024

  1. feat(codebuild): support three arm-based compute types, Medium, X-Lar…

    …ge and 2X-Large (#31214)
    
    ### Issue # (if applicable)
    
    Closes #30869.
    
    ### Reason for this change
    Because three new arm-based compute types have become supported due to an update.
    
    Announcement: [AWS CodeBuild now supports three new Arm-based compute types
    ](https://aws.amazon.com/about-aws/whats-new/2024/08/aws-codebuild-three-arm-based-compute-types/)
    
    ### Description of changes
    Modify the validate method to allow Medium, X-Large, and 2X-Large as Arm-based compute types.
    
    
    
    ### Description of how you validated changes
    Modify unit tests and integ tests.
    
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    mazyu36 authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    39492e9 View commit details
    Browse the repository at this point in the history
  2. chore: update cli integ tests to use sdk v3 (#31226)

    ### Checklist
    - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    TheRealAmazonKendra authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2a27711 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. feat(location): support RouteCalculator (#30682)

    ### Issue # (if applicable)
    
    Closes #30681 .
    
    ### Reason for this change
    In [aws-location-alpha](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-location-alpha-readme.html), [route calculator](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_location.CfnRouteCalculator.html) has not been supported yet.
    
    
    
    ### Description of changes
    Add `RouteCalculator` class.
    
    
    
    ### Description of how you validated changes
    Add unit tests and integ tests.
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    mazyu36 authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    574d383 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef25786 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a45230f View commit details
    Browse the repository at this point in the history
  4. feat(events-targets): support for RedshiftDataParameters (#29462)

    ### Issue # (if applicable)
    
    Closes #15712.
    Closes #31017.
    
    ### Reason for this change
    
    `RedshiftDataParameters` allow for a redshift query to be scheduled. This feature adds that in
    
    ### Description of changes
    
    Added in the event target and the parameter into `aws-events`
    
    ### Description of how you validated changes
    
    Added unit tests + integration test
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    Rizxcviii authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    84c6442 View commit details
    Browse the repository at this point in the history
  5. chore: remove sdkv2 from custom resource handlers (#31265)

    Updates the custom resource handlers to only use sdk v3. Most of this is work @colifran's previous PR.
    
    ### Checklist
    - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    TheRealAmazonKendra authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    0ff3f7b View commit details
    Browse the repository at this point in the history
  6. feat(ecs-patterns): dualstack ALB (#30089)

    ### Issue # (if applicable)
    
    Closes #29039.
    
    ### Reason for this change
    
    Both `ApplicationLoadBalancedFargateService` and `ApplicationLoadBalancedEc2Service` don't support specifying dualstack ALB.
    
    ### Description of changes
    
    Added `ipAddressType` to `ApplicationLoadBalancedServiceBaseProps`.
    
    ### Description of how you validated changes
    
    Added both unit and integ tests.
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    badmintoncryer authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    98ea3db View commit details
    Browse the repository at this point in the history
  7. chore(rds): support 5.7.44-rds.20240808 for RDS for MySQL (#31260)

    Add new instance engine.
    
    Ref: [Amazon RDS for MySQL announces Extended Support minor 5.7.44-RDS.20240808](https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-rds-mysql-extended-support-minor-5-7-44-rds-20240808/)
    
    ```sh
    % aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion" --output table --region us-east-1
    --------------------------
    |DescribeDBEngineVersions|
    +------------------------+
    |  5.7.44                |
    |  5.7.44-rds.20240408   |
    |  5.7.44-rds.20240529   |
    |  5.7.44-rds.20240808   | // this
    |  8.0.32                |
    |  8.0.33                |
    |  8.0.34                |
    |  8.0.35                |
    |  8.0.36                |
    |  8.0.37                |
    |  8.0.39                |
    +------------------------+
    ```
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    mazyu36 authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    9c16949 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. chore: update Contributors File (#31277)

    Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
    aws-cdk-automation authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    6907f1e View commit details
    Browse the repository at this point in the history
  2. fix(scheduler): the value of the description property is not reflecte…

    …d to the resource. (#31276)
    
    ### Issue # (if applicable)
    
    Closes #31269 .
    
    ### Reason for this change
    The `description` property is not used in the `Schedule` class.
    As a result, the value of the `description` property is not reflected to the resource.
    
    
    
    ### Description of changes
    Modify to set the value of props to the `description` property.
    
    
    
    ### Description of how you validated changes
    Add a unit test and an integ test.
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    mazyu36 authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    a3332b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. chore(deps): bump tj-actions/changed-files from 45.0.0 to 45.0.1 (#31285

    )
    
    Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 45.0.0 to 45.0.1.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/releases">tj-actions/changed-files's releases</a>.</em></p>
    <blockquote>
    <h2>v45.0.1</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Upgraded to v45 by <a href="https://github.com/tj-actions-bot"><code>@​tj-actions-bot</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2244">tj-actions/changed-files#2244</a></li>
    <li>chore(deps): update dependency <code>@​types/node</code> to v22.5.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2246">tj-actions/changed-files#2246</a></li>
    <li>chore(deps): update dependency ts-jest to v29.2.5 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2248">tj-actions/changed-files#2248</a></li>
    <li>fix(deps): update dependency micromatch to v4.0.8 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2249">tj-actions/changed-files#2249</a></li>
    <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2251">tj-actions/changed-files#2251</a></li>
    <li>chore(deps-dev): bump <code>@​types/node</code> from 22.5.0 to 22.5.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2252">tj-actions/changed-files#2252</a></li>
    <li>chore(deps): update dependency eslint-plugin-jest to v28.8.1 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2255">tj-actions/changed-files#2255</a></li>
    <li>chore(deps): update dependency <code>@​types/node</code> to v22.5.2 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2257">tj-actions/changed-files#2257</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a href="https://github.com/tj-actions/changed-files/compare/v45...v45.0.1">https://github.com/tj-actions/changed-files/compare/v45...v45.0.1</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/tj-actions/changed-files/commit/e9772d140489982e0e3704fea5ee93d536f1e275"><code>e9772d1</code></a> chore(deps): update dependency <code>@​types/node</code> to v22.5.2</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/880354d0c6198f223384e7971cf8e4eb319d12e3"><code>880354d</code></a> chore(deps): update dependency eslint-plugin-jest to v28.8.1</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/8d5497eb10aaffcff15941fd5203c6bef3f516ed"><code>8d5497e</code></a> chore(deps-dev): bump <code>@​types/node</code> from 22.5.0 to 22.5.1 (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2252">#2252</a>)</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/696bea0addf7f44a8d99e728a204a3b0b8e49472"><code>696bea0</code></a> Added missing changes and modified dist assets.</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/bd7d572708b33d884157231d2bd72fa1ce4a4e08"><code>bd7d572</code></a> chore(deps): lock file maintenance</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/305db886e7f6c5d1a4515c3376074243a228b52f"><code>305db88</code></a> Added missing changes and modified dist assets.</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/17107f43d742d4faa6ecb0e261fb75250c89a7f8"><code>17107f4</code></a> fix(deps): update dependency micromatch to v4.0.8</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/2d4c94f4882dbaf95c6fa4becffa9f1bd1475607"><code>2d4c94f</code></a> chore(deps): update dependency ts-jest to v29.2.5</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/bf02379775384401af67d6404d7fabad80698b94"><code>bf02379</code></a> chore(deps): update dependency <code>@​types/node</code> to v22.5.0</li>
    <li><a href="https://github.com/tj-actions/changed-files/commit/0d320382bce2b7e23c664418989dd61f466e7343"><code>0d32038</code></a> Upgraded to v45 (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2244">#2244</a>)</li>
    <li>See full diff in <a href="https://github.com/tj-actions/changed-files/compare/40853de9f8ce2d6cfdc73c1b96f14e22ba44aec4...e9772d140489982e0e3704fea5ee93d536f1e275">compare view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tj-actions/changed-files&package-manager=github_actions&previous-version=45.0.0&new-version=45.0.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>
    dependabot[bot] authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    775c58c View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. docs(prlint): fix wrong path in sample commands (#31295)

    ### Reason for this change
    
    
    
    In the sample commands:
    
    ```console
    cd tools/prlint
    yarn install
    ```
    
    But the correct path is `tools/@aws-cdk/prlint`.
    
    ### Description of changes
    
    
    
    Fix the path.
    
    ### Description of how you validated changes
    
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    go-to-k authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    ef38e06 View commit details
    Browse the repository at this point in the history
  2. fix(stepfunctions-tasks): sageMakerCreateTrainingJob does not correct…

    …ly support empty inputDataConfig (#31210)
    
    ### Issue # (if applicable)
    
    Closes #31132.
    
    ### Reason for this change
    
    `inputDataConfig` is not a required property in the API:
    https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html#sagemaker-CreateTrainingJob-request-InputDataConfig
    
    However in `SageMakerCreateTrainingJob`, it's marked as required. We should make it align with the API.
    
    ### Description of changes
    
    Make the property optional.
    
    ### Description of how you validated changes
    
    unit test and integration test
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    xazhao authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    6d43146 View commit details
    Browse the repository at this point in the history
  3. docs: fix invalid anchor links in DESIGN_GUIDELINES (#31292)

    Fix invalid anchor links in [DESIGN_GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md).
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    mazyu36 authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    f3bc16c View commit details
    Browse the repository at this point in the history
  4. fix(prlint): a review label doesn't appear when a PR is approved if t…

    …here are too many comments (#31290)
    
    ### Issue # (if applicable)
    
    Closes #31294 .
    
    ### Reason for this change
    
    
    
    I've reviewed and approved [this PR](#30920) as a Trusted Community Reviewer.
    
    But it doesn't get the `pr/needs-maintainer-review` label. It seems to be in `CHANGES_REQUESTED` state and `communityApproved` is also false in the job `PR Linter / validate-pr`. (Please see [this comment in the PR](#30920 (comment)).)
    
    I checked [the prlint's log](https://github.com/aws/aws-cdk/blob/main/tools/@aws-cdk/prlint/lint.ts#L377) in [the GitHub Actions output](https://github.com/aws/aws-cdk/actions/runs/10669155243/job/29570426536), and it appears that there is too much history (such as comments) to get all the latest data.
    
    [List reviews for a pull request](https://docs.github.com/en/rest/pulls/reviews?apiVersion=2022-11-28#list-reviews-for-a-pull-request) in GitHub API can get 30 items per page, however, [prlint is not implemented to handle pagination](https://github.com/aws/aws-cdk/blob/main/tools/%40aws-cdk/prlint/lint.ts#L376).
    
    ```ts
      private async assessNeedsReview(
        pr: Pick<GitHubPr, 'mergeable_state' | 'draft' | 'labels' | 'number'>,
      ): Promise<void> {
        const reviews = await this.client.pulls.listReviews(this.prParams);
    ```
    
    Therefore, when there are **more than 30 comments or change requests**, the review label is no longer displayed.
    
    ### Description of changes
    
    
    
    Use pagination for listReviews in the octokit library.
    
    https://github.com/octokit/octokit.js?tab=readme-ov-file#pagination
    
    before
    
    ```ts
    await this.client.pulls.listReviews(this.prParams);
    ```
    
    after 
    
    ```ts
    await this.client.paginate(this.client.pulls.listReviews, this.prParams);
    ```
    
    ### Description of how you validated changes
    
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    go-to-k authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    1c63070 View commit details
    Browse the repository at this point in the history
  5. chore: save the logs (#31274)

    The tests for init are finding the cli's readme instead of the one it would be generating for a new app/library. When run in the cli, it's quite nice to have the README output, when we run the tests and get the cli's entire README it makes our build/test output unreadably long.
    
    This change doesn't get rid of quite all the unnecessary logs but it does decrease the log output by about 30,000 lines.
    
    
    ### Checklist
    - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    TheRealAmazonKendra authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    a6c2ad6 View commit details
    Browse the repository at this point in the history
  6. revert(stepfunctions-tasks): "feat(stepfunctions-tasks): allow Bedroc…

    …kInvokeModel to use JsonPath" (#31308)
    
    Reverts #30298 to resolve #31302
    
    BREAKING CHANGE: Reverting the original PR will come with the following breaking changes
    * **stepfunctions-tasks:** The `BedrockInvokeModel.outputPath` parameter will no longer be an S3Uri
    Leo10Gama authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    842ee15 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. fix(eks): albController incompatibility with AuthenticationMode.API m…

    …ode (#31258)
    
    ### Issue # (if applicable)
    
    This PR improve the compatibility for `albController` with `authenticationMode.API`
    
    related to #30888
    
    We will address Fargate compatibility in #31267
    
    ### Reason for this change
    
    - When `authenticationMode.API` is specified, no aws-auth configMap should be created
    - albController should not depend on `cluster.awsAuth` because that would create aws-auth configmap, which is not required in `API` mode.
    
    
    
    ### Description of changes
    
    
    
    ### Description of how you validated changes
    
    **unit tests**
    - validate the behavior in all conditions of the `authenticationMode`
    
    **integ test**
    - add a new integ test with API mode to ensure successful deployment
    
    
    ## debugger
    
    ```js
    {
      "version": "0.2.0",
      "configurations": [
        {
          "type": "node",
          "request": "launch",
          "name": "Jest",
          "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
          "cwd": "${workspaceFolder}/packages/aws-cdk-lib",
          "args": [
            "--verbose",
            "-i",
            "--no-cache",
            "test/alb-controller.test.ts",
          ],
          "console": "integratedTerminal",
          "internalConsoleOptions": "neverOpen",
          "skipFiles": [
            "<node_internals>/**"
          ],
          "outFiles": [
            "${workspaceFolder}/**/*.(m|c|)js",
            "!**/node_modules/**"
          ],
        }
      ]
    }
    ```
    
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    pahud authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    427cd61 View commit details
    Browse the repository at this point in the history
  2. chore(doc): update ROADMAP.md (#31311)

    ### Issue # (if applicable)
    
    Closes #<issue number here>.
    
    ### Reason for this change
    
    
    
    ### Description of changes
    
    
    
    ### Description of how you validated changes
    
    
    
    ### Checklist
    - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    saiyush authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    47605c2 View commit details
    Browse the repository at this point in the history
  3. chore: remove uses of aws-sdk outside cli (#31275)

    Every use of sdkv2, besides what is used inside the cli has been removed as of this change.
    
    ### Checklist
    - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    TheRealAmazonKendra authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    52c1117 View commit details
    Browse the repository at this point in the history
  4. feat(eks): support alb controller versions 2.7.0-2.8.2 (#31264)

    As #29959 has been stale for a while, I am submitting this PR to follow up.
    
    ### Issue # (if applicable)
    
    Closes #31082
    
    ### Reason for this change
    
    
    
    ### Description of changes
    
    iam policy files were downloaded using this script
    
    ```sh
    #!/bin/bash
    
    versions=("2.7.0" "2.7.1" "2.7.2" "2.8.0" "2.8.1" "2.8.2")
    target_dir="/workspace/aws-cdk/packages/aws-cdk-lib/aws-eks/lib/addons"
    
    for version in "${versions[@]}"; do
        url="https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v${version}/docs/install/iam_policy.json"
        filename="alb-iam_policy-v${version}.json"
        target_file="${target_dir}/${filename}"
    
        echo "Downloading ${url} to ${target_file}"
        curl -s "${url}" -o "${target_file}"
    done
    ```
    helm repo updated using
    
    ```sh
    helm repo add eks https://aws.github.io/eks-charts
    helm repo update
    helm search repo aws-load-balancer-controller --versions --output json
    ```
    
    get the app_version and helm version mapping using
    
    ```sh
    $ helm search repo aws-load-balancer-controller --versions --output json | jq -r '.[] | select(.app_version | startswith("v2")) | "\(.app_version) \(.version)"'
    v2.8.2 1.8.2
    v2.8.1 1.8.1
    v2.8.0 1.8.0
    v2.7.2 1.7.2
    v2.7.1 1.7.1
    v2.7.0 1.7.0
    ```
    
    ### Description of how you validated changes
    
    - [x] parameterized tests in the unit tests
    - [x] using the latest version in the integ test
    
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    pahud authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    a3863a6 View commit details
    Browse the repository at this point in the history
  5. docs(cloudfront): updates to CloudFront ResponseHeadersPolicy XSSProt…

    …ection (#31301)
    
    ### Issue # (if applicable)
    
    Closes #20962
    
    ### Reason for this change
    
    Update the documentation to have a deployable example.
    
    ### Description of changes
    
    Set `modeBlock` to false when `reportUri` is set.
    You cannot specify a ReportUri when ModeBlock is true.
    
    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html
    
    ### Description of how you validated changes
    
    Updated the tests
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    awslukeguan authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    511eab3 View commit details
    Browse the repository at this point in the history
  6. feat(synthetics): syn-nodejs-puppeteer-9.0 as supported runtime (#31272)

    ### Issue # (if applicable)
    
    Closes #31271.
    
    ### Reason for this change
    [Runtime versions using Node.js and Puppeteer](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html) confirms that Synthetics runtime `syn-nodejs-puppeteer-9.0` is available.
    
    ### Description of changes
    Added `syn-nodejs-puppeteer-9.0` as supported runtime.
    
    ### Description of how you validated changes
    N/A
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    ashishdhingra authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    c1d7782 View commit details
    Browse the repository at this point in the history
  7. feat(scheduler): validate schedule name length (#31200)

    ### Issue # (if applicable)
    
    N/A
    
    ### Reason for this change
    
    To catch name too long errors before hitting Cloudformation.
    
    ### Description of changes
    
    I've added a length assertion in the `Schedule` constructor against the schedule name length, the documentation on schedule name already makes it clear that there is a limit though AFAICS this isn't validated.
    
    Also see the Cloudformation doc here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scheduler-schedule.html#cfn-scheduler-schedule-name.
    
    ### Description of how you validated changes
    
    I've added a unit test.
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    LaurenceWarne authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d0f9688 View commit details
    Browse the repository at this point in the history
  8. docs(elasticloadbalancingv2): update confusing AddNetworkTargets port…

    … description (#30208)
    
    ### Reason for this change
    
    The existing `port` description can be confusing as `listener` could easily be mistaken as a reference to a Load Balancers `listener` and imply that the value should match.
    
    Additionally, "traffic" seems more semtantically correct for an NLB than "requests".
    
    ### Description of changes
    
    Updated the `port` description on `AddNetworkTargetsProps`  to match the one used in the `ApplicationTargetGroup` as that uses less ambigous language.
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    domestic-fennec authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ee04fff View commit details
    Browse the repository at this point in the history
  9. feat(docdb): i/o optimized storage type (#30163)

    ### Issue # (if applicable)
    
    Closes #30165.
    
    ### Reason for this change
    
    Document DB can use I/O optimized storage type but CDK cannot configure that.
    
    ### Description of changes
    
    Add `storageType` to `ClusterProps`.
    
    ### Description of how you validated changes
    
    Add both unit and integ tests.
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    badmintoncryer authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    7ed221c View commit details
    Browse the repository at this point in the history
  10. feat(neptune-alpha): specify port for the cluster (#31137)

    ### Issue # (if applicable)
    
    Closes #31074.
    
    ### Reason for this change
    
    Cloudformation supports for setting port number for the Neptune cluster but AWS CDK cannot do this.
    
    ### Description of changes
    
    Add `port` prop to `DatabaseClusterProps`.
    
    ### Description of how you validated changes
    
    Added both unit and integ tests.
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    badmintoncryer authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    130b62b View commit details
    Browse the repository at this point in the history
  11. chore: add option unacknowledged to cdk notices (#31250)

    ### Issue # (if applicable)
    
    Closes #23078
    
    ### Reason for this change
    
    `cdk notices` will show all the notices the cdk version is affected by.
    The additional command `cdk notices --unacknowledged` will show the notices the customer hasn't acknowledge with `cdk acknowledge <NUMBER>`.
    
    The output will display the number of unacknowledged notices, with the following line as the last statement:
    `There are <NUMBER> unacknowledged notice(s).`
    Customer or automation tools can use this command to filter for the number of unacknowledged notices.
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    awslukeguan authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    cd58b50 View commit details
    Browse the repository at this point in the history
  12. chore(kinesisfirehose-alpha): add ca-west-1 Firehose CIDR block (#31206)

    ### Issue # (if applicable)
    
    Closes #29874
    
    ### Description of changes
    
    Add missing CIDR block for `ca-west-1` + update snapshots. 
    
    CIDRs pulled from [here](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-rs).
    
    ### Description of how you validated changes
    
    integ tests
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    paulhcsun authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    125ca2f View commit details
    Browse the repository at this point in the history
  13. chore(vpcv2): set repo to private false in package json (#31316)

    ### Issue # (if applicable)
    
    Closes .
    
    ### Reason for this change
    
    vpcv2 is released and should no longer be flagged as private repo
    
    ### Description of changes
    
    set private:false in package.json
    
    ### Description of how you validated changes
    
    yarn build
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    shikha372 authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    87510f9 View commit details
    Browse the repository at this point in the history
  14. chore(custom-resources): update python runtime for custom resources (#…

    …31166)
    
    ### Issue # (if applicable)
    
    Closes #31245
    
    ### Reason for this change
    
    Support latest python runtime that's available everywhere
    
    ### Description of changes
    
    Update custom resource handler runtime to python 3.11
    
    ### Description of how you validated changes
    
    There were initially 40+ failed integration tests due to this change, all these tests are re-ran by deploying and verifying (no `dry-run` flag used). Now all existing tests are passing.  
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    GavinZZ authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    03ebca8 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. fix(stepfunctions-tasks): add back BedrockInvokeModel to use JsonPath (

    …#31325)
    
    Reverts #31308
    
    After discussion with the team, we are working on the "roll-forward fix" PR for this issue and not going ahead with this revert
    #31305
    
    Reverting to resolve the existing conflicts.
    shikha372 authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    5b059b9 View commit details
    Browse the repository at this point in the history
  2. fix(custom-resources): remove presigned url from cloudwatch logs (#31322

    )
    
    ### Issue # (if applicable)
    
    Closes #31320
    
    ### Reason for this change
    
    Presigned url is still logged despite a previous PR to fix it. #29406
    
    ### Description of changes
    
    Verified that the `events:` no longer display the response url.
    
    ### Description of how you validated changes
    
    Re-run all failed integration tests
    
    ### Checklist
    - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    GavinZZ authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    b5e4496 View commit details
    Browse the repository at this point in the history
  3. feat(bedrock): add Stable Image Ultra, Stable Diffusion 3 Large, and …

    …Stable Image Core model identifiers (#31327)
    
    Add new foundation model.
    
    Ref:
    * https://aws.amazon.com/about-aws/whats-new/2024/09/stability-ais-text-to-image-models-amazon-bedrock/
    * https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    mazyu36 authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    586cb04 View commit details
    Browse the repository at this point in the history
  4. feat(cloudfront): s3 origin access control L2 construct (#31254)

    ### Issue # (if applicable)
    
    Closes #21771 .
    
    ### Reason for this change
    
    L2 support for setting up OAC for S3 origins.
    
    See [RFC 617](https://github.com/aws/aws-cdk-rfcs/blob/main/text/0617-cloudfront-oac-l2.md) for more details.
    
    ### Description of changes
    
    - New L2 construct `OriginAccessControl`
    - Deprecation of `CloudFrontWebDistribution` — replaced by existing `Distribution` construct
    - Deprecation of `S3Origin` — replaced by new constructs `S3BucketOrigin` and `S3StaticWebsiteOrigin`
    - README updates
    
    ### Description of how you validated changes
    
    Added unit tests and integration tests
    
    Internal tracking: V1491594161
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    gracelu0 authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    30675f0 View commit details
    Browse the repository at this point in the history
  5. fix(stepfunctions-tasks): fix bedrock input/output path in step-funct… (

    #31305)
    
    ### Issue # (if applicable)
    
    Closes #31302.
    
    ### Reason for this change
    
    PR#30298 introduced a breaking change in the stepfunctions-tasks which was encoding the input/output path from the `TaskStateBaseProps` to be used to input a S3 URI, which is not always the case and customer might be using the JSON string as it is.
    
    ### Description of changes
    
    To keep the functionality from the original ask of issue #29229 ,added another props to specify S3 URI as an input to the stepfunctions-tasks.
    
    Introduced a feature flag to keep the existing behaviour for the customers and not introduce a breaking change.
    
    ### Description of how you validated changes
    
    Updated integ test and deployed in account
    
    Integ Test Results:
    `aws stepfunctions start-execution --state-machine-arn <deployed state machine arn> `: should return execution arn
    
    A5-zEnXPmmPWTJx
    {
        "executionArn": "arn:aws:states:us-east-1:XXXX:execution:StateMachine2E01A3A5-zEnXPmmPWTJx:516f2e60-9507-46cb-95e6-4d9453429b08",
        "startDate": "2024-09-04T15:43:33.200000-07:00"
    }
    
    `aws stepfunctions describe-execution --execution-arn <exection-arn generated before> `: should return status as SUCCEEDED
    
    
    
    ### Checklist
    - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    shikha372 authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a190935 View commit details
    Browse the repository at this point in the history
  6. chore(release): 2.156.0

    AWS CDK Team committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    323240d View commit details
    Browse the repository at this point in the history
  7. chore: update CHANGELOG.v2.md

    Leonardo Gama committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    1018b08 View commit details
    Browse the repository at this point in the history