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): 1.94.0 #13612

Merged
merged 16 commits into from
Mar 16, 2021
Merged

chore(release): 1.94.0 #13612

merged 16 commits into from
Mar 16, 2021

Commits on Mar 11, 2021

  1. fix(lambda): fromDockerBuild output is located under /asset (#13539)

    Ensure `imagePath` ends with `/.` so that the content at that location
    is copied.
    
    See https://docs.docker.com/engine/reference/commandline/cp/
    
    Closes #13439
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    jogold committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    77449f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4dcce2 View commit details
    Browse the repository at this point in the history
  3. feat(appmesh): add missing route match features (#13350)

    Adds route priority, header matching and matching by scheme and method.
    
    Closes #11645
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    misterjoshua committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    b71efd9 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. fix(appmesh): Move Client Policy from Virtual Service to backend stru…

    …cture (#12943)
    
    @sshver:
     
    > Client Policies are inherently not related to the Virtual Service. It should be thought of as the client (the VN) telling envoy what connections they want to allow to the server (the Virtual Service). The server shouldn't be the one to define what policies are used to enforce connections with itself.
    
    ## Description of changes
    I refactored the client policy from Virtual Service to a separate backend structure. This mirrors how our API is designed. Also ran `npm run lint -- --fix` and removed some comments to fix lint warnings.
    
    ```ts
    /* Old backend defaults */
    backendsDefaultClientPolicy: appmesh.ClientPolicy.fileTrust({
      certificateChain: 'path-to-certificate',
    }),
    
    /* result of this PR */
    backendDefaults: {
      clientPolicy: appmesh.ClientPolicy.fileTrust({
        certificateChain: 'path-to-certificate',
      }),
    },
    ```
    
    ```ts
    /* Old Virtual Service with client policy */
    const service1 = new appmesh.VirtualService(stack, 'service-1', {
      virtualServiceName: 'service1.domain.local',
      virtualServiceProvider: appmesh.VirtualServiceProvider.none(mesh),
      clientPolicy: appmesh.ClientPolicy.fileTrust({
        certificateChain: 'path-to-certificate',
        ports: [8080, 8081],
      }),
    });
    
    /* result of this PR; client policy is defined in the Virtual Node */
    const service1 = new appmesh.VirtualService(stack, 'service-1', {
      virtualServiceName: 'service1.domain.local',
      virtualServiceProvider: appmesh.VirtualServiceProvider.none(mesh),
    });
    
    const node = new appmesh.VirtualNode(stack, 'test-node', {
      mesh,
      serviceDiscovery: appmesh.ServiceDiscovery.dns('test'),
    });
    
    node.addBackend({
      virtualService: service1,
      clientPolicy: appmesh.ClientPolicy.fileTrust({
        certificateChain: 'path-to-certificate',
        ports: [8080, 8081],
      }),
    });
    ```
    
    BREAKING CHANGE: Backend, backend default and Virtual Service client policies structures are being altered
    * **appmesh**: you must use the backend default interface to define backend defaults in `VirtualGateway`.
      The property name also changed from `backendsDefaultClientPolicy` to `backendDefaults`
    * **appmesh**:  you must use the backend default interface to define backend defaults in `VirtualNode`,
      (the property name also changed from `backendsDefaultClientPolicy` to `backendDefaults`),
      and the `Backend` class to define a backend
    * **appmesh**: you can no longer attach a client policy to a `VirtualService`
    
    Resolves #11996
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    alexbrjo committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    d3f4284 View commit details
    Browse the repository at this point in the history
  2. fix(cloudwatch): cannot create Alarms from labeled metrics that start…

    … with a digit (#13560)
    
    fixes #13434
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    BLasan committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    278029f View commit details
    Browse the repository at this point in the history
  3. chore(aws-cdk-readme): replace deprecated method used in aws-chatbot …

    …README.md (#13521)
    
    Currently addLambdaInvokeCommandPermissions method used to get the permissions,
    which is a deprecated method now.
    Use addToPolicy method to get necessary permissions
    
    fix: #13444
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    BLasan committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    4769b31 View commit details
    Browse the repository at this point in the history
  4. fix(autoscaling): AutoScaling on percentile metrics doesn't work (#13366

    )
    
    AutoScaling on percentile metrics did not work because the
    `MetricAggregationType` was trying to be derived from the metric, and it can
    only be MIN, MAX or AVG.
    
    Figure out what the metric aggregation type does, default it to
    AVERAGE if no other suitable value can be determined, and also make
    it and the evaluation periods configurable while we're at it.
    
    Fixes #13144.
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    rix0rrr committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    46114bb View commit details
    Browse the repository at this point in the history
  5. chore(docs): fix typos across the board (#13435)

    Fix bunch of docstring, docs and param typos. 
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    robertd committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    81cf548 View commit details
    Browse the repository at this point in the history
  6. fix(region-info): ap-northeast-3 data not correctly registered (#13564)

    The region information for ap-northeast-3 was not correctly registered
    as the region was missing from the `AWS_REGIONS` list in the
    `aws-entities.ts` file.
    
    This addresses the gap, and adds a validation at the beginning of
    `generate-static-data.ts` to ensure no "new" region is introduced here
    without also being introduced in the `AWS_REGIONS` list.
    
    Fixes #13561
    
    Credits to @robertd who had a draft PR with similar changes, which I
    only saw once it was too late. I've retro-fitted all the good ideas they had
    which I did not have on first intention - so thank you @robertd.
    
    Co-Authored-By: @robertd 
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    RomainMuller committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    64da84b View commit details
    Browse the repository at this point in the history
  7. feat(aws-elasticloadbalancingv2): add protocol version for ALB Target…

    …Groups (#13570)
    
    Fixes #12869
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    ChristopheBougere committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    165a3d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. docs(aws-events): Fix typo in docs (#13554)

    Fix minor typo in aws-events docs.
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    Yunchao committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    5d56940 View commit details
    Browse the repository at this point in the history
  2. fix: use NodeJS 14 for all packaged custom resources (#13488)

    NodeJS 10 is reaching end of life soon, it's time to move to NodeJS 14.
    
    Fixes #13225 
    Fixes #13534
    Fixes #13484
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    rix0rrr committed Mar 15, 2021
    1 Configuration menu
    Copy the full SHA
    20a2820 View commit details
    Browse the repository at this point in the history
  3. feat(ecs-patterns): Add ECS deployment circuit breaker support to hig…

    …her-level constructs (#12719)
    
    Fixes #12534
    Fixes #12360
    
    This change adds the option to set the `circuitBreaker` on the higher-level constructs such as ApplicationLoadBalancedFargateService
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    ridha committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    e80a98a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. chore(region-info): metadata service is in eu-south-1, af-south-1 (#1…

    …3598)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    RomainMuller committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    0ec302f View commit details
    Browse the repository at this point in the history
  2. fix(ec2): Security Groups support all protocols (#13593)

    Satisfies #13497 to close #13403
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    hollanddd committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    8c6b3eb View commit details
    Browse the repository at this point in the history
  3. chore(release): 1.94.0

    AWS CDK Team committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    64dea7c View commit details
    Browse the repository at this point in the history