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.42.0 #22054

Merged
merged 24 commits into from
Sep 15, 2022
Merged

chore(release): 2.42.0 #22054

merged 24 commits into from
Sep 15, 2022

Commits on Sep 7, 2022

  1. fix(route53): vpc region in template overridden by stack region (#20530)

    Fixes #20496 
    
    This PR implements the proposed change in #20496 - When a region is set in the vpc it is used in the CloudFormation template. Otherwise the region from the respective stack is used.
    
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
    	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    daschaa authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    aedc888 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    dc8abdf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab76681 View commit details
    Browse the repository at this point in the history
  3. fix(elbv2): connections not created for chained listener actions (#21939

    )
    
    When you add an action to a listener the `bind` method is called, and one of the things that is typically done is to configure security group ingress. When you chain actions together, i.e.
    
    ```ts
    listener.addAction('first-action', {
      action: ListenerAction.authenticateOidc({
        next: ListenerAction.forward([secondAction]),
        ...,
      }),
    });
    ```
    
    Bind is never called for the second action (i.e. `next`) which means the security group ingress rules are not created.
    
    This PR updates the `ListenerAction.bind` method to call `bind` for any `next` action that is configured.
    
    fixes #12994
    
    
    ----
    
    ### All Submissions:
    
    * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    corymhall authored Sep 8, 2022
    Configuration menu
    Copy the full SHA
    46cf825 View commit details
    Browse the repository at this point in the history
  4. feat(neptune): add engine version 1.2.0.0 (#21908)

    - add engine version 1.2.0.0
    - introduce a new enum for parameter group family
    - update parameter groups to support specifying parameter group family
    
    closes #21877
    
    
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    humanzz authored Sep 8, 2022
    Configuration menu
    Copy the full SHA
    be65da6 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. fix(lambda-python): bundling artifacts are written to the entry path (#…

    …21967)
    
    When performing function bundling sometimes the bundling steps will write files. Currently all these commands are run from the `entry` which is the actually source code location. This leads to contaminating the source code with bundling artifacts.
    
    This PR re-orders the bundling steps to first move the `entry` to the `outputDir` and then perform the bundling steps there.
    
    I've also updated all of the integration tests to use the new integration test framework and assertions.
    
    fixes #19231
    
    
    ----
    
    ### All Submissions:
    
    * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    corymhall authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    bc4427c View commit details
    Browse the repository at this point in the history
  2. feat(cognito): add SAML user pool identity provider (#21879)

    Adds a construct for a SAML user pool identity provider.
    
    I based much of this off of #20241, as the OIDC and SAML identity pool providers share e.g. the length limitations on provider names.
    
    For the integration test, you have to specify a valid SAML metadata URL or XML document, or the stack won't be created. I used a sample URL from the [samling](https://fujifish.github.io/samling/samling.html) project, but this could be changed if anyone has a better suggestion.
    
    ----
    
    ### All Submissions:
    
    * [X] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [X] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [X] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    ktfleming authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    76d446b View commit details
    Browse the repository at this point in the history
  3. feat(lambda-event-sources): add filters to SQS, DynamoDB, and Kinesis…

    … event sources (#21917)
    
    ## Description
    
    Adds the ability to create filters for SQS, DynamoDB and Kinesis, enabling filter criteria settings for event sources
    
    ## Use Cases
    
    With this PR will be possible, for example, to filter events from a DynamoDB Stream allowing only INSERT events to be transmitted as shown in the example below
    
    ```typescript
        const fn = new NodejsFunction(this, 'Fn');
        const table = new dynamodb.Table(this, 'T', {
          partitionKey: {
            name: 'id',
            type: dynamodb.AttributeType.STRING,
          },
          stream: dynamodb.StreamViewType.NEW_IMAGE,
        });
    
        fn.addEventSource(new sources.DynamoEventSource(table, {
          startingPosition: lambda.StartingPosition.LATEST,
          filters: [
             lambda.FilterCriteria.filter({
                eventName: FilterRule.isEqual('INSERT'),
             }),
          ],
        }));
    ```
    
    Closes #17874 
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    marciocadev authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    7ba5659 View commit details
    Browse the repository at this point in the history
  4. feat(redshift-alpha): directly add parameters to a parameter group or…

    … indirectly through a cluster (#20944)
    
    Closes [#20656](#20656)
    
    
    This PR enables users to directly add parameters to a `ClusterParameterGroup` or indirectly through a `Cluster`. There are a few reasons why this would not succeed, such as the parameter already existing or trying to add parameters to an Imported Parameter Group and/or Cluster. With this in mind, the methods return a  `AddParameterResultStatus` which let's developers handle failure cases more elegantly.
    
    Ex. On `SUCCESS` or `SAME_VALUE_FAILURE` do nothing, but on `CONFLICTING_VALUE_FAILURE` or `IMPORTED_RESOURCE_FAILURE` throw some sort of error indicating what you need the developer to do in their application to resolve the issue.
    
    This is very useful in the case of vending constructs that take in a Redshift Cluster as an input. See #20656 for more context.
    
    I don't think this is significant enough to be called out in the README with an example, but happy to add one if necessary.
    
    
    ----
    
    ### All Submissions:
    
    * [X] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [X] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [X] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    dontirun authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    0ad307b View commit details
    Browse the repository at this point in the history
  5. fix(init-templates): csharp and fsharp app init fails when path conta…

    …ins space (#21049)
    
    When running `cdk init --language=csharp` or `cdk init --language=fsharp` with one or more spaces in the path to the project, `init` will fail. This fix adds in handling for spaces and other special characters in the file path for both windows systems and posix systems. 
    
    This PR moves the temporary hook directory to the same directory as the source directory so that it can use the local `os.ts` file and other dependencies. `ShellOptions` was also removed because it wasn't used.
    
    Tests have been added for posix and manual testing was performed on a windows machine.
    
    Closes issue #18803.
    
    ----
    
    ### All Submissions:
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    TheRealAmazonKendra authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    79c9ca1 View commit details
    Browse the repository at this point in the history
  6. fix(lambda-event-sources): cannot add sqs event source to an imported…

    … function (#21970)
    
    If an SQS event sources is added to an imported function it will throw an error if the function is not imported with an IAM role.
    
    This PR updates the logic to only attempt to add permissions to the principal if the role exists, otherwise it will add a warning indicating that permissions were not added.
    
    fixes #12607
    
    
    ----
    
    ### All Submissions:
    
    * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    corymhall authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    c33bb81 View commit details
    Browse the repository at this point in the history
  7. docs(lambda-event-sources): document different defaults for maxBatchi…

    …ngWindow (#21981)
    
    Fixes #21974
    
    
    ----
    
    ### All Submissions:
    
    * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    kaizencc authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    38f8d89 View commit details
    Browse the repository at this point in the history
  8. feat(neptune): introduce cluster grant method for granular actions (#…

    …21926)
    
    - neptune engine version 1.2.0.0 introduced more granular access control https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html
    - introduce grant method to facilitate working with different actions
    
    #21877 
    ----
    
    This PR is split from #21908 as per the discussion with @TheRealAmazonKendra 
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    humanzz authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    42e559d View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2022

  1. fix(elasticloadbalancingv2): securityGroup property is not required i…

    …n fromApplicationListenerAttributes (#21934)
    
    ### Problem
    
    The static method `fromApplicationListenerAttributes` was describe with `securityGroup` property optional on documentation but this will throw an error because `securityGroup` is required
    
    ### Solution
    
    This PR makes the `securityGroup` property mandatory
    
    Fixes #21930 
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    marciocadev authored Sep 11, 2022
    Configuration menu
    Copy the full SHA
    e501ac9 View commit details
    Browse the repository at this point in the history
  2. docs(backup): add information about currently supported events (#21987)

    Some of the listed events are no longer supported and don't do anything. Note this fact and refer readers to a page in the AWS Backup guide that lists the currently-supported events.
    
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    Jerry Kindall authored Sep 11, 2022
    Configuration menu
    Copy the full SHA
    dc07f52 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. chore: update version in lambda layer and fix tests impacted by update (

    #21994)
    
    The EKS and StepFunctions Tasks tests were failing as a result of this upgrade due to the change in the template url
    for awscdkawseksKubectlProviderNestedStackawscdkawseksKubectlProviderNestedStackResourceA7AEBA6B
    The object key for this asset was changed.
    
    Each of the failing tests have also been updated to use the new integ test construct.
    
    ----
    
    ### All Submissions:
    
    * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    TheRealAmazonKendra authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    6b7ad6b View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. docs: improve Lambda import names (#22014)

    In the `aws-lambda-nodejs`, `aws-lambda-python`, and `aws-lambda-go`
    package `README`s, the code examples use `lambda` as the name to import
    the package. This makes the code examples confusing because
    `rosetta/default.ts-fixture` masks the `import` statement from readers
    and may confuse them as to why their `lambda` import doesn't work when
    they use `lambda.NodejsFunction` (or similar). The imports are changed
    to `nodejs`, `python`, and `go`. While the last (`go`) is in fact a
    keyword in its own language, so too is `lambda` in Python. This matches
    the pattern used by other packages' examples (`aws-route53-patterns` for
    example uses `patterns` as the name for its import in docs).
    
    This change should make the docs more clear to new users, who likely
    started using Lambda using `lambda.Function` and already have a `lambda`
    import that won't do what they want.
    
    Closes #22003
    
    ----
    
    ### All Submissions:
    
    * [X] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    laurelmay authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    c0255f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. chore: npm-check-updates && yarn upgrade (#22037)

    Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
    aws-cdk-automation authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    ebca8c6 View commit details
    Browse the repository at this point in the history
  2. fix(apigateway): Add contextOwnerAccountId log pattern (#21989)

    Closes: #21731  
    
    As mentioned in the referenced PR the `contextAccountId` doc string contained the wrong docstring as it in fact returns the 
    callers account id.
    
    Implemented a the fix as per the ticket recommendation.
    
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    jmortlock authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    c24027b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f03e8c View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. fix(aws-lambda): fail fast if a reserved environment variable is spec…

    …ified (#22039)
    
    I've found myself several times without thinking specifying `AWS_REGION` as an environment variable explicitly when writing a lambda function that needed to know the region, and only found it was problemattic and unnecessary at cloudformation deployment time.
    
    This change adds a simple error to enable faster failures during development when a developer specifies a reserved environment variable name - it's purely a convenience change to help avoiding wasting time waiting for a deployment and rollback in an edge case where the developer is making a clear error.
    
    This does not reference any existing issue.
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    joelcox22 authored Sep 15, 2022
    Configuration menu
    Copy the full SHA
    950ccd5 View commit details
    Browse the repository at this point in the history
  2. feat(ssm): reference existing SSM list parameters (#21880)

    This PR fixes some issues with how SSM parameter types are implemented.
    Currently this module models a single type of parameter (`ParameterType`
    enum) and that type is used to represent _both_ [CloudFormation SSM
    Parameter types](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types)
    For example,
    
    ```ts
    new cdk.CfnParameter(this, 'Param', {
      type: 'AWS::SSM::Parameter::Value<String>', // type
    });
    ```
    
    _and_ the [AWS::SSM::Parameter.type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-type)
    For example,
    
    ```ts
    new ssm.CfnParameter(this, 'Param', {
      type: 'String',
    });
    ```
    
    This overloading caused the issue in the referenced issue as well as
    making it more confusing for the user. For example, You can specify a type when
    creating a `StringParameter`, but you shouldn't need to since the only
    valid values are `String | StringList` and these are modeled as two
    separate classes `StringParameter & StringListParameter`.
    
    To address this, the PR introduces a new enum `ParameterValueType` to
    model the CloudFormation SSM Parameter Types. This enum is only used in
    the `valueForXXX` and `fromXXX` methods since those return a CFN
    parameter.
    
    - Deprecated `ssm.StringParameter.valueForTypedStringParameter` since it
      uses the old overloaded `ParameterType`.
      - Introduce a new `ssm.StringParameter.valueForTypedStringParameterV2`
        that uses the new `ParameterValueType` enum
    - Add `ssm.StringListParameter.valueForTypedListParameter`
    - Add `ssm.StringListParameter.fromListParameterAttributes`
    - Deprecated `StringParameterProps.type` since the value should only be
      `String`.
    
    fix #12477, #14364
    
    
    ----
    
    ### All Submissions:
    
    * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    corymhall authored Sep 15, 2022
    Configuration menu
    Copy the full SHA
    8f7ee2b View commit details
    Browse the repository at this point in the history
  3. Allow multiple clientAuthentication methods in MSK (IAM + TLS) (#22041)

    This PR adds a method (`saslTls `) to have both IAM And TLS for the ClientAuthentication given that this is already supported since October 2021 as feature in the Console as well as in the CloudFormation level. It addresses this issue: #16980 
    
    ----
    
    ### All Submissions:
    
    * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
    
    ### Adding new Unconventional Dependencies:
    
    * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
    
    ### New Features
    
    * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
    	* [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    gmuslia authored Sep 15, 2022
    Configuration menu
    Copy the full SHA
    77ea83c View commit details
    Browse the repository at this point in the history
  4. chore(release): 2.42.0

    AWS CDK Team committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    cac4216 View commit details
    Browse the repository at this point in the history