Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/aws-cdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.135.0
Choose a base ref
...
head repository: aws/aws-cdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.136.0
Choose a head ref

Commits on Dec 10, 2021

  1. fix(glue): remove batchDeletePartition from grantRead() permissio…

    …ns (#17941)
    
    It is convention in the CDK to expose the underlying `grant()` API to make it simple for users to grant custom permissions to their resource. 
    
    In addition, this PR removes 'glue:BatchDeletePartition' from `readPermissions`, which was previously erroneously added.
    
    closes #17935 and #15116.
    
    BREAKING CHANGE: the grantRead API previously included 'glue:BatchDeletePartition', and now it does not.
    
    
     
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    kaizencc authored Dec 10, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    3d64f9b View commit details
  2. fix(logs): log retention fails with OperationAbortedException (#17688)

    Fixes: #17546
    
    This adds to the fix in #16083 that was addressing the issue where the LogRetention Lambda can be executed concurrently and create a race condition where multiple invocations are trying to create or modify the same log group.
    
    The previous fix addressed the issue if it occurred during log group creation, in the `createLogGroupSafe` method, but did not account for the same problem happening when modifying a log group's retention period in the `setRetentionPolicy` method. This fix applies the same logic from the last fix to the other method.
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    horsmand authored Dec 10, 2021
    Copy the full SHA
    95b8da9 View commit details
  3. chore: update contract for registerContextProvider (#17954)

    We're trialling open context providers internally. Not ready yet to call this a public API but we will maintain firmer guarantees on this function going forward.
    
    Issues already uncovered by doing this that the more general open framework will have to deal with:
    
    * `SdkProvider` would need to be open and stable
    * What if the provider doesn't need account/region?
    * Schema validation in query and response
    * Side channel instructions to the context framework
    * (not to mention: how will the code get on the user's machine?)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    rix0rrr authored Dec 10, 2021
    Copy the full SHA
    203c42b View commit details
  4. feat(aws-applicationautoscaling): enabling autoscaling for ElastiCach…

    …e Redis cluster (#17919)
    
    Following the recently released support for autoscaling in ElastiCache Redis cluster, I'd like to use CDK in order to manage the infrastructure. The only required change is to introduce a new enum value for 'elasticache' key ([cloudformation doc](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-servicenamespace)), however to improve dev experience I've introduced three new `PredefinedMetricType` following [cloudformation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predefinedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-predefinedmetricspecification-predefinedmetrictype)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    astrohome authored Dec 10, 2021
    Copy the full SHA
    7f54ed6 View commit details
  5. Copy the full SHA
    8f63ec4 View commit details
  6. Copy the full SHA
    2b26796 View commit details
  7. feat(cli): Hotswapping Support for S3 Bucket Deployments (#17638)

    This PR adds hotswap support for S3 Bucket Deployments. 
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    comcalvi authored Dec 10, 2021
    Copy the full SHA
    1df478b View commit details
  8. fix(cli): hotswapping StateMachines with a name fails (#17892)

    Before, when the `stateMachineName` property was used, the value of `stateMachineName` was passed directly to the SDK where an ARN was required. Now, when the `stateMachineName` property is used, we construct the ARN from its value, and pass that ARN to the SDK.
    
    Closes #17716
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    comcalvi authored Dec 10, 2021
    Copy the full SHA
    de67aae View commit details

Commits on Dec 11, 2021

  1. feat(iotevents): add IoT Events input L2 Construct (#17847)

    This is proposed by #17711.
    
    This PR was created for implemeting `Input` L2 Construct. Implementing it is needed before `DetectorModel`. The reason is described in here: #17711 (comment)
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    yamatatsu authored Dec 11, 2021
    Copy the full SHA
    9f03dc4 View commit details
  2. fix(aws-autoscaling): notificationTargetArn should be optional in Lif…

    …ecycleHook (#16187)
    
    This makes the notificationTargetArn optional in LifecycleHook. CloudFormation docs specify it as optional [here](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html). Closes #14641. 
    To achieve this, the `role` parameter was made optional. To avoid breaking users, a role is provided if users specify a `notificationTarget` (which they currently all do, as it is a required property) and is not provided otherwise.
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    comcalvi authored Dec 11, 2021
    Copy the full SHA
    4e7a275 View commit details

Commits on Dec 13, 2021

  1. feat(aws-ecs): expose environment from containerDefinition (#17889)

    Closes #17867
    
    * Assigned props.environment to a public readonly member
    * Added integration test that confirms the environment can be appended after the task is instantiated
    
    Made 2 cosmetic, but no obvious changes. Environment values are specified:
    
    name: value
    name2: value
    
    But in the test and the README.md files the sample values were:
    
    name: something
    value: something else
    
    This is using the string 'value" as a key - which, as someone reading the code for the first time, was confusing. So I changed the sample values to more clearly display what's a key and what's a value.
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    biffgaut authored Dec 13, 2021
    Copy the full SHA
    4937cd0 View commit details
  2. feat(lambda): add cloudwatch lambda insights arm support (#17665)

    Adding builtin support for the new ARM64 CloudWatch insights Lambda
    layers which were [announced](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-cloudwatch-lambda-insights-functions-graviton2/)
    yesterday.
    
    also fixes #17133
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    corymhall authored Dec 13, 2021
    Copy the full SHA
    02749b4 View commit details
  3. chore: stop using mergify commit_message (#17983)

    `commit_message` is deprecated and replaced by `commit_message_template`.
    Romain Marcadier authored Dec 13, 2021
    Copy the full SHA
    da07cb1 View commit details
  4. feat(aws-s3): add support for BucketOwnerEnforced to S3 ObjectOwnersh…

    …ipType (#17961)
    
    closes #17926
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    JonBlauvelt authored Dec 13, 2021
    Copy the full SHA
    93fafc5 View commit details
  5. feat(cfnspec): cloudformation spec v51.0.0 (#17955)

    Closes #17943.
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    robertd authored Dec 13, 2021
    Copy the full SHA
    c6b7a49 View commit details
  6. feat(ec2): add high memory instances u-6tb1, u-9tb1, u-12tb1, u-18tb1…

    …, and u-24tb1 (#17964)
    
    `u-6tb1`,`u-9tb1`, `u-12tb1` blog post:
    https://aws.amazon.com/blogs/aws/now-available-amazon-ec2-high-memory-instances-with-6-9-and-12-tb-of-memory-perfect-for-sap-hana/
    
    `u-18tb1` `u-24tb1` blog post:
    https://aws.amazon.com/blogs/aws/ec2-high-memory-update-new-18-tb-and-24-tb-instances/
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    robertd authored Dec 13, 2021
    Copy the full SHA
    5497525 View commit details
  7. fix(custom-resources): assumedRole from AwsCustomResource invocation …

    …leaked to next execution (#15776)
    
    Fixes #15425
    
    Credit to @nicolai-shape for proposing the fix itself.
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    theipster authored Dec 13, 2021
    Copy the full SHA
    e138188 View commit details
  8. Copy the full SHA
    8b52196 View commit details
  9. Copy the full SHA
    e057c8f View commit details
  10. chore(rds): add MariaDB 10.5.13, 10.4.22, 10.3.32, 10.2.41 and Aurora…

    … MySQL 3.01.0 (#17959)
    
    Add new RDS versions:
    
    **MariaDbEngineVersion 10.5.13, 10.4.22, 10.3.32 and 10.2.41**
    [Announcement](https://aws.amazon.com/about-aws/whats-new/2021/12/amazon-rds-mariadb-supports-new-minor-versions/)
    
    **AuroraMysqlEngineVersion 3.01.0**
    [Announcement](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-aurora-mysql-8-0/)
    Version informations retrieved from CLI command: `aws rds describe-db-engine-versions --region us-east-1 --engine aurora-mysql --engine-version 8.0`
    
    Deployment tested successfully:
    ```ts
    new rds.DatabaseCluster(this, 'DatabaseCluster', {
      engine: rds.DatabaseClusterEngine.auroraMysql({ version: rds.AuroraMysqlEngineVersion.VER_3_01_0 }),
      instanceProps: {
        instanceType: ec2.InstanceType.of(ec2.InstanceClass.R5, ec2.InstanceSize.XLARGE),
        vpc,
      },
      removalPolicy: RemovalPolicy.DESTROY,
    });
    ```
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    jumic authored Dec 13, 2021
    Copy the full SHA
    afcaede View commit details
  11. feat(apigateway): add option to set the base path when adding a domai…

    …n name to a Rest API (#17915)
    
    If a domain name has an empty base path mapping, API Gateway does not allow the
    creation of additional base path mappings. The problem is that `addDomainName`
    always creates an empty base path mapping, preventing users to add their own
    afterwards. 
    
    Add a property to define a base path mapping at the same time as adding the
    domain name.
    
    Fixes #9581.
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    otaviomacedo authored Dec 13, 2021
    Copy the full SHA
    9af5b4d View commit details

Commits on Dec 14, 2021

  1. feat(aws-applicationautoscaling): Allow autoscaling with "M out of N"…

    … datapoints (#17441)
    
    This PR closes #17433. It adds a `datapointsToAlarm` property to the `StepScalingPolicy` construct which allows auto-scaling activities to trigger when only a portion of the data points in the evaluation periods are breaching.
    
    Motivation: Some metrics may have a certain amount of noise/randomness and in these cases it may make more sense to not require that all data points must be breaching for auto-scaling activity to trigger.
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    stephenwiebe authored Dec 14, 2021
    Copy the full SHA
    c21320d View commit details
  2. fix(appmesh): adding support with gateway route priority (#17694)

    Adding the Gateway Route `Priority` support. This is not a new feature but it was missed from the implementation.
    
    The implementation method is mimicking how Route's `Priority` is implemented: 
     - [route-spec.ts](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-appmesh/lib/route-spec.ts)
     - [route.ts](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-appmesh/lib/route.ts)
    
    Fixes #16821
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    Seiya6329 authored Dec 14, 2021
    Copy the full SHA
    a61576f View commit details
  3. chore(appsync): fixed indentation of the query template (#17975)

    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    yamatatsu authored Dec 14, 2021
    Copy the full SHA
    a4461a7 View commit details
  4. chore: flip disttag to latest-1 for cdk package (#18003)

    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    rix0rrr authored Dec 14, 2021
    Copy the full SHA
    a459fa4 View commit details
  5. fix(cli): asset publishing broken cross account (#18007)

    In #17668, cross-account S3 asset publishing was broken.
    
    The reason is that the `account()` function was always broken, using the
    default account instead of the target account. However, previously this
    function was only called in an irrecoverable situation anyway, and its
    failure would be rare.
    
    The recent change also calls this function for logging purposes in
    a happy-case scenario, but then triggers an error during the logging.
    
    Fix the invocation to use the right account.
    
    Fixes #17988.
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    rix0rrr authored Dec 14, 2021
    Copy the full SHA
    2fc6895 View commit details
  6. fix(aws-lambda-nodejs): use closest lockfile when autodetecting (#16629)

    fixes #15847
    
    A bug in the automatic lockfile finding logic causes lockfiles higher in the directory tree to be used over lower/closer ones. This is because the code traverses the tree once per lockfile type in series, stopping when it finds one: https://github.com/aws/aws-cdk/blob/58fda9104ad884026d578dc0602f7d64dd533f6d/packages/%40aws-cdk/aws-lambda-nodejs/lib/function.ts#L137-L139
    
    This updates the code to traverse the tree once looking for all the lockfile types at the same time and stop when one or more is found. If multiple are found at the same level, an error is thrown (per #15847 (comment)).
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    yo1dog authored Dec 14, 2021
    Copy the full SHA
    c4ecd96 View commit details
  7. chore: upgrade test dependencies on urllib3 & pillow (#17985)

    The current pinned versions of urllib3 and Pillow have known security
    vulnerabilities. Upgrading those to fixed versions to remove the
    security advisory alerts against the repository.
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    Romain Marcadier authored Dec 14, 2021
    Copy the full SHA
    2d2c109 View commit details
  8. chore(ubergen): tell users about experimental package (#18012)

    When ubergen generate a barebones README for an experimental package's
    stable variant, add in a paragraph that directs users to the
    experimental library so they have an easier time finding it.
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    rix0rrr authored Dec 14, 2021
    Copy the full SHA
    c633529 View commit details
  9. feat(amplify): Add Amplify asset deployment resource (#16922)

    This change adds a custom resource that allows users
    to publish S3 assets to AWS Amplify.
    
    fixes #16208
    
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    samkio authored Dec 14, 2021
    Copy the full SHA
    499ba85 View commit details
  10. feat(apigatewayv2): Lambda authorizer for WebSocket API (#16886)

    closes #13869
    
    By this PR, you will be able to enable WebSocket authorizer as the below code:
    
    ```ts
        const integration = new LambdaWebSocketIntegration({
          handler,
        });
        const authorizer = new WebSocketLambdaAuthorizer('Authorizer', authHandler);
        new WebSocketApi(stack, 'WebSocketApi', {
          connectRouteOptions: {
            integration,
            authorizer,
          },
        });
    ```
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    tmokmss authored Dec 14, 2021
    Copy the full SHA
    67cce37 View commit details
  11. fix(appsync): ttl property of CachingConfig is not required (#17981)

    According to the current CloudFormaton spec for [AWS::AppSync::Resolver CachingConfig][1], the `Ttl` property is not required. But if it's not provided, the deploy will fail with the message:
    
    >  TTL value cannot be smaller than 1 second and larger than 3600 seconds. (Service: AWSAppSync; Status Code: 400; Error Code: BadRequestException
    
    The AppSync team has confirmed that the property is indeed required and they will push a change to the spec. This change is proactively making the property required on the CDK.
    
    Fixes #17925.
    
    BREAKING CHANGE: The `CachingConfig#ttl` property is now required. 
    
    [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html#cfn-appsync-resolver-cachingconfig-ttl
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    otaviomacedo authored Dec 14, 2021
    Copy the full SHA
    73e5fec View commit details
  12. feat(codecommit): allow initializing a Repository with contents (#17968)

    This repo introduces new properties to the constructor signature of the codecommit L2 Repository.
    It allows users to upload code when creating a codecommit repository by leveraging the aws-s3-assets lib.
    The user is able to upload whole directories at the moment.
    
    The behaviour has a unit tests, and an integration test, which is passing (verified manually as well).
    
    Closes #17967, provides a possible fix to #16958
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    LukvonStrom authored Dec 14, 2021
    Copy the full SHA
    54b6cc6 View commit details

Commits on Dec 15, 2021

  1. fix(rds): unable to use tokens as port in DatabaseInstance (#17995)

    In `DatabaseInstance` the port number can be specified using data type number.
    If a token value (e.g. CloudFormation Parameter) was used here, the token was not resolved correctly.
    
    The conversion of property `port` has been corrected by using method `Tokenization.stringifyNumber()`.
    
    Fixes #17948.
    
    ----
    
    *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
    jumic authored Dec 15, 2021
    Copy the full SHA
    0745193 View commit details
  2. chore(release): 1.136.0

    AWS CDK Team committed Dec 15, 2021
    Copy the full SHA
    5901ff2 View commit details
  3. Copy the full SHA
    ae13a75 View commit details
Showing with 10,096 additions and 942 deletions.
  1. +12 −4 .mergify.yml
  2. +45 −0 CHANGELOG.md
  3. +7 −0 allowed-breaking-changes.txt
  4. +72 −57 ...es/@aws-cdk-containers/ecs-service-extensions/lib/extensions/assign-public-ip/lambda/Pipfile.lock
  5. +10 −0 packages/@aws-cdk/aws-amplify/README.md
  6. +76 −0 packages/@aws-cdk/aws-amplify/lib/asset-deployment-handler/common.ts
  7. +136 −0 packages/@aws-cdk/aws-amplify/lib/asset-deployment-handler/handler.ts
  8. +35 −0 packages/@aws-cdk/aws-amplify/lib/asset-deployment-handler/index.ts
  9. +111 −1 packages/@aws-cdk/aws-amplify/lib/branch.ts
  10. +10 −1 packages/@aws-cdk/aws-amplify/package.json
  11. +741 −0 packages/@aws-cdk/aws-amplify/test/asset-deployment-handler/index.test.ts
  12. +63 −0 packages/@aws-cdk/aws-amplify/test/branch.test.ts
  13. +223 −0 packages/@aws-cdk/aws-amplify/test/integ.app-asset-deployment.expected.json
  14. +23 −0 packages/@aws-cdk/aws-amplify/test/integ.app-asset-deployment.ts
  15. +1 −0 packages/@aws-cdk/aws-amplify/test/test-asset/index.html
  16. +18 −1 packages/@aws-cdk/aws-apigateway/lib/domain-name.ts
  17. +73 −0 packages/@aws-cdk/aws-apigateway/test/domains.test.ts
  18. +1 −1 packages/@aws-cdk/aws-apigateway/test/integrations/lambda.test.ts
  19. +42 −7 packages/@aws-cdk/aws-apigatewayv2-authorizers/README.md
  20. +1 −0 packages/@aws-cdk/aws-apigatewayv2-authorizers/lib/index.ts
  21. +1 −0 packages/@aws-cdk/aws-apigatewayv2-authorizers/lib/websocket/index.ts
  22. +89 −0 packages/@aws-cdk/aws-apigatewayv2-authorizers/lib/websocket/lambda.ts
  23. +46 −0 packages/@aws-cdk/aws-apigatewayv2-authorizers/test/websocket/lambda.test.ts
  24. +4 −0 packages/@aws-cdk/aws-apigatewayv2-integrations/test/websocket/integ.lambda.expected.json
  25. +10 −3 packages/@aws-cdk/aws-apigatewayv2/README.md
  26. +1 −1 packages/@aws-cdk/aws-apigatewayv2/lib/http/authorizer.ts
  27. +176 −0 packages/@aws-cdk/aws-apigatewayv2/lib/websocket/authorizer.ts
  28. +1 −0 packages/@aws-cdk/aws-apigatewayv2/lib/websocket/index.ts
  29. +21 −2 packages/@aws-cdk/aws-apigatewayv2/lib/websocket/route.ts
  30. +26 −0 packages/@aws-cdk/aws-apigatewayv2/test/websocket/authorizer.test.ts
  31. +48 −0 packages/@aws-cdk/aws-applicationautoscaling/README.md
  32. +5 −0 packages/@aws-cdk/aws-applicationautoscaling/lib/scalable-target.ts
  33. +22 −0 packages/@aws-cdk/aws-applicationautoscaling/lib/step-scaling-policy.ts
  34. +15 −0 packages/@aws-cdk/aws-applicationautoscaling/lib/target-tracking-scaling-policy.ts
  35. +1 −0 packages/@aws-cdk/aws-applicationautoscaling/test/scalable-target.test.ts
  36. +56 −0 packages/@aws-cdk/aws-applicationautoscaling/test/step-scaling-policy.test.ts
  37. +31 −2 packages/@aws-cdk/aws-appmesh/lib/gateway-route-spec.ts
  38. +1 −0 packages/@aws-cdk/aws-appmesh/lib/gateway-route.ts
  39. +4 −4 packages/@aws-cdk/aws-appmesh/lib/route-spec.ts
  40. +78 −0 packages/@aws-cdk/aws-appmesh/test/gateway-route.test.ts
  41. +1 −2 packages/@aws-cdk/aws-appsync/lib/caching-config.ts
  42. +7 −7 packages/@aws-cdk/aws-appsync/lib/key.ts
  43. +14 −14 packages/@aws-cdk/aws-appsync/test/integ.graphql.expected.json
  44. +17 −0 packages/@aws-cdk/aws-autoscaling-hooktargets/lib/common.ts
  45. +1 −0 packages/@aws-cdk/aws-autoscaling-hooktargets/lib/index.ts
  46. +13 −5 packages/@aws-cdk/aws-autoscaling-hooktargets/lib/lambda-hook.ts
  47. +19 −4 packages/@aws-cdk/aws-autoscaling-hooktargets/lib/queue-hook.ts
  48. +19 −4 packages/@aws-cdk/aws-autoscaling-hooktargets/lib/topic-hook.ts
  49. +224 −9 packages/@aws-cdk/aws-autoscaling-hooktargets/test/hooks.test.ts
  50. +33 −9 packages/@aws-cdk/aws-autoscaling/lib/lifecycle-hook-target.ts
  51. +37 −10 packages/@aws-cdk/aws-autoscaling/lib/lifecycle-hook.ts
  52. +6 −6 packages/@aws-cdk/aws-autoscaling/test/integ.amazonlinux2.expected.json
  53. +9 −9 packages/@aws-cdk/aws-autoscaling/test/integ.asg-w-classic-loadbalancer.expected.json
  54. +6 −6 packages/@aws-cdk/aws-autoscaling/test/integ.custom-scaling.expected.json
  55. +9 −9 packages/@aws-cdk/aws-autoscaling/test/integ.external-role.expected.json
  56. +788 −0 packages/@aws-cdk/aws-autoscaling/test/integ.role-target-hook.expected.json
  57. +79 −0 packages/@aws-cdk/aws-autoscaling/test/integ.role-target-hook.ts
  58. +144 −19 packages/@aws-cdk/aws-autoscaling/test/lifecyclehooks.test.ts
  59. +2 −2 packages/@aws-cdk/aws-cloudformation/test/resource.test.ts
  60. +2 −0 packages/@aws-cdk/aws-cloudfront/lib/experimental/edge-function.ts
  61. +18 −1 packages/@aws-cdk/aws-codecommit/README.md
  62. +104 −0 packages/@aws-cdk/aws-codecommit/lib/code.ts
  63. +1 −0 packages/@aws-cdk/aws-codecommit/lib/index.ts
  64. +9 −0 packages/@aws-cdk/aws-codecommit/lib/repository.ts
  65. +3 −0 packages/@aws-cdk/aws-codecommit/package.json
  66. BIN packages/@aws-cdk/aws-codecommit/test/asset-test.zip
  67. +1 −0 packages/@aws-cdk/aws-codecommit/test/asset-test/test.md
  68. +88 −2 packages/@aws-cdk/aws-codecommit/test/codecommit.test.ts
  69. +64 −0 packages/@aws-cdk/aws-codecommit/test/integ.codecommit-code-asset-zip.expected.json
  70. +13 −0 packages/@aws-cdk/aws-codecommit/test/integ.codecommit-code-asset-zip.ts
  71. +64 −0 packages/@aws-cdk/aws-codecommit/test/integ.codecommit-code-asset.expected.json
  72. +13 −0 packages/@aws-cdk/aws-codecommit/test/integ.codecommit-code-asset.ts
  73. +100 −0 packages/@aws-cdk/aws-ec2/lib/instance-types.ts
  74. +1 −1 packages/@aws-cdk/aws-ec2/test/instance.test.ts
  75. +2 −1 packages/@aws-cdk/aws-ecs/README.md
  76. +16 −1 packages/@aws-cdk/aws-ecs/lib/container-definition.ts
  77. +33 −1 packages/@aws-cdk/aws-ecs/test/container-definition.test.ts
  78. +479 −0 packages/@aws-cdk/aws-ecs/test/fargate/integ.add-environment-variable.expected.json
  79. +37 −0 packages/@aws-cdk/aws-ecs/test/fargate/integ.add-environment-variable.ts
  80. +7 −7 packages/@aws-cdk/aws-events-targets/test/lambda/lambda.test.ts
  81. +4 −2 packages/@aws-cdk/aws-glue/lib/table.ts
  82. +9 −9 packages/@aws-cdk/aws-glue/test/integ.connection.expected.json
  83. +1 −1 packages/@aws-cdk/aws-glue/test/integ.security-configuration.expected.json
  84. +6 −6 packages/@aws-cdk/aws-glue/test/integ.table.expected.json
  85. +67 −17 packages/@aws-cdk/aws-glue/test/table.test.ts
  86. +31 −8 packages/@aws-cdk/aws-iotevents/README.md
  87. +2 −0 packages/@aws-cdk/aws-iotevents/lib/index.ts
  88. +71 −0 packages/@aws-cdk/aws-iotevents/lib/input.ts
  89. +4 −2 packages/@aws-cdk/aws-iotevents/package.json
  90. +78 −0 packages/@aws-cdk/aws-iotevents/test/input.test.ts
  91. +17 −0 packages/@aws-cdk/aws-iotevents/test/integ.detector-model.expected.json
  92. +18 −0 packages/@aws-cdk/aws-iotevents/test/integ.detector-model.ts
  93. +11 −6 packages/@aws-cdk/aws-lambda-nodejs/lib/function.ts
  94. +20 −5 packages/@aws-cdk/aws-lambda-nodejs/lib/util.ts
  95. +44 −1 packages/@aws-cdk/aws-lambda-nodejs/test/util.test.ts
  96. +2 −2 packages/@aws-cdk/aws-lambda-python/test/bundling.test.ts
  97. +18 −120 packages/@aws-cdk/aws-lambda-python/test/integ.function.pipenv.expected.json
  98. +0 −8 packages/@aws-cdk/aws-lambda-python/test/integ.function.pipenv.ts
  99. +18 −120 packages/@aws-cdk/aws-lambda-python/test/integ.function.poetry.expected.json
  100. +0 −8 packages/@aws-cdk/aws-lambda-python/test/integ.function.poetry.ts
  101. +10 −10 packages/@aws-cdk/aws-lambda-python/test/integ.function.requirements.removed.expected.json
  102. +3 −3 packages/@aws-cdk/aws-lambda-python/test/integ.function.requirements.removed.ts
  103. +2 −2 packages/@aws-cdk/aws-lambda-python/test/lambda-handler-pipenv/Pipfile
  104. +61 −50 packages/@aws-cdk/aws-lambda-python/test/lambda-handler-pipenv/Pipfile.lock
  105. +73 −60 packages/@aws-cdk/aws-lambda-python/test/lambda-handler-poetry/poetry.lock
  106. +3 −3 packages/@aws-cdk/aws-lambda-python/test/lambda-handler-poetry/pyproject.toml
  107. +3 −4 packages/@aws-cdk/aws-lambda-python/test/lambda-handler-project/shared/requirements.txt
  108. +3 −3 packages/@aws-cdk/aws-lambda-python/test/lambda-handler/requirements.txt
  109. +13 −0 packages/@aws-cdk/aws-lambda/README.md
  110. +5 −0 packages/@aws-cdk/aws-lambda/lib/alias.ts
  111. +21 −0 packages/@aws-cdk/aws-lambda/lib/function-base.ts
  112. +8 −5 packages/@aws-cdk/aws-lambda/lib/function.ts
  113. +65 −12 packages/@aws-cdk/aws-lambda/lib/lambda-insights.ts
  114. +8 −3 packages/@aws-cdk/aws-lambda/lib/lambda-version.ts
  115. +3 −0 packages/@aws-cdk/aws-lambda/lib/singleton-lambda.ts
  116. +2 −2 packages/@aws-cdk/aws-lambda/test/function.test.ts
  117. +253 −4 packages/@aws-cdk/aws-lambda/test/integ.lambda-insights-mapping.expected.json
  118. +19 −4 packages/@aws-cdk/aws-lambda/test/integ.lambda-insights-mapping.ts
  119. +308 −2 packages/@aws-cdk/aws-lambda/test/lambda-insights.test.ts
  120. +1 −1 packages/@aws-cdk/aws-lambda/test/python-lambda-handler/requirements.txt
  121. +12 −12 packages/@aws-cdk/aws-lambda/test/singleton-lambda.test.ts
  122. +3 −0 packages/@aws-cdk/aws-lex/.eslintrc.js
  123. +19 −0 packages/@aws-cdk/aws-lex/.gitignore
  124. +29 −0 packages/@aws-cdk/aws-lex/.npmignore
  125. +201 −0 packages/@aws-cdk/aws-lex/LICENSE
  126. +2 −0 packages/@aws-cdk/aws-lex/NOTICE
  127. +31 −0 packages/@aws-cdk/aws-lex/README.md
  128. +2 −0 packages/@aws-cdk/aws-lex/jest.config.js
  129. +2 −0 packages/@aws-cdk/aws-lex/lib/index.ts
  130. +110 −0 packages/@aws-cdk/aws-lex/package.json
  131. +8 −0 packages/@aws-cdk/aws-lex/rosetta/default.ts-fixture
  132. 0 packages/@aws-cdk/{aws-iotevents/test/iotevents.test.ts → aws-lex/test/lex.test.ts}
  133. +32 −10 packages/@aws-cdk/aws-logs/lib/log-retention-provider/index.ts
  134. +201 −3 packages/@aws-cdk/aws-logs/test/log-retention-provider.test.ts
  135. +6 −0 packages/@aws-cdk/aws-rds/lib/cluster-engine.ts
  136. +8 −0 packages/@aws-cdk/aws-rds/lib/instance-engine.ts
  137. +1 −1 packages/@aws-cdk/aws-rds/lib/instance.ts
  138. +13 −0 packages/@aws-cdk/aws-rds/test/cluster-engine.test.ts
  139. +37 −0 packages/@aws-cdk/aws-rds/test/instance.test.ts
  140. +12 −2 packages/@aws-cdk/aws-s3/README.md
  141. +7 −0 packages/@aws-cdk/aws-s3/lib/bucket.ts
  142. +26 −0 packages/@aws-cdk/aws-s3/test/bucket.test.ts
  143. +2 −2 packages/@aws-cdk/aws-stepfunctions-tasks/test/lambda/invoke-function.test.ts
  144. +2 −2 packages/@aws-cdk/aws-stepfunctions-tasks/test/lambda/run-lambda-task.test.ts
  145. +88 −0 packages/@aws-cdk/cfnspec/CHANGELOG.md
  146. +1 −1 packages/@aws-cdk/cfnspec/cfn.version
  147. +1,581 −24 packages/@aws-cdk/cfnspec/spec-source/000_CloudFormationResourceSpecification.json
  148. +0 −15 packages/@aws-cdk/cfnspec/spec-source/1000_Evidently_Project_DataDeliveryObject_S3_patch.json
  149. +0 −15 packages/@aws-cdk/cfnspec/spec-source/1001_Evidently_Project_DataDelivery_patch.json
  150. +15 −0 packages/@aws-cdk/cfnspec/spec-source/1002_Lex_BotAlias_TextLogDestination_patch.json
  151. +2 −0 packages/@aws-cdk/cloudformation-include/package.json
  152. +3 −3 packages/@aws-cdk/custom-resources/lib/aws-custom-resource/runtime/index.ts
  153. +158 −0 packages/@aws-cdk/custom-resources/test/aws-custom-resource/runtime/index.test.ts
  154. +148 −70 packages/@aws-cdk/region-info/build-tools/fact-tables.ts
  155. +11 −5 packages/@aws-cdk/region-info/build-tools/generate-static-data.ts
  156. +5 −2 packages/@aws-cdk/region-info/lib/fact.ts
  157. +3 −2 packages/@aws-cdk/region-info/lib/region-info.ts
  158. +108 −0 packages/@aws-cdk/region-info/test/__snapshots__/region-info.test.js.snap
  159. +7 −0 packages/@aws-cdk/region-info/test/region-info.test.ts
  160. +1 −0 packages/aws-cdk-lib/package.json
  161. +1 −0 packages/aws-cdk/README.md
  162. +2 −0 packages/aws-cdk/lib/api/hotswap-deployments.ts
  163. +5 −0 packages/aws-cdk/lib/api/hotswap/evaluate-cloudformation-template.ts
  164. +2 −2 packages/aws-cdk/lib/api/hotswap/lambda-functions.ts
  165. +122 −0 packages/aws-cdk/lib/api/hotswap/s3-bucket-deployments.ts
  166. +12 −8 packages/aws-cdk/lib/api/hotswap/stepfunctions-state-machines.ts
  167. +33 −19 packages/aws-cdk/lib/context-providers/index.ts
  168. +4 −0 packages/aws-cdk/lib/context-providers/provider.ts
  169. +28 −0 packages/aws-cdk/lib/plugin.ts
  170. +9 −1 packages/aws-cdk/lib/util/asset-publishing.ts
  171. +3 −3 packages/aws-cdk/test/api/cloud-executable.test.ts
  172. +8 −1 packages/aws-cdk/test/api/hotswap/hotswap-test-setup.ts
  173. +738 −0 packages/aws-cdk/test/api/hotswap/s3-bucket-hotswap-deployments.test.ts
  174. +11 −10 packages/aws-cdk/test/api/hotswap/state-machine-hotswap-deployments.test.ts
  175. +49 −9 packages/aws-cdk/test/context-providers/generic.test.ts
  176. +13 −0 packages/cdk-assets/lib/aws.ts
  177. +1 −1 packages/cdk-assets/lib/private/handlers/files.ts
  178. +16 −0 packages/cdk-assets/test/fake-listener.ts
  179. +6 −2 packages/cdk-assets/test/files.test.ts
  180. +2 −1 packages/cdk-assets/test/mock-aws.ts
  181. +3 −17 packages/cdk-assets/test/progress.test.ts
  182. +3 −0 packages/cdk/package.json
  183. +1 −0 packages/decdk/package.json
  184. +1 −0 packages/monocdk/package.json
  185. +2 −1 tools/@aws-cdk/pkglint/lib/library-creation.ts
  186. +15 −0 tools/@aws-cdk/pkglint/lib/readme-contents.ts
  187. +4 −1 tools/@aws-cdk/ubergen/bin/ubergen.ts
  188. +1 −1 version.v1.json
16 changes: 12 additions & 4 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,9 @@ pull_request_rules:
queue:
name: default
method: squash
commit_message: title+body
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- base!=release
- -title~=(WIP|wip)
@@ -40,7 +42,9 @@ pull_request_rules:
queue:
name: default
method: squash
commit_message: title+body
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- base!=release
- -title~=(WIP|wip)
@@ -62,7 +66,9 @@ pull_request_rules:
queue:
name: default
method: merge
commit_message: title+body
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
@@ -106,7 +112,9 @@ pull_request_rules:
queue:
name: default
method: squash
commit_message: title+body
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,51 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.136.0](https://github.com/aws/aws-cdk/compare/v1.135.0...v1.136.0) (2021-12-15)


### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

* **appsync:** The `CachingConfig#ttl` property is now required.

[1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html#cfn-appsync-resolver-cachingconfig-ttl
* **glue:** the grantRead API previously included 'glue:BatchDeletePartition', and now it does not.




### Features

* **amplify:** Add Amplify asset deployment resource ([#16922](https://github.com/aws/aws-cdk/issues/16922)) ([499ba85](https://github.com/aws/aws-cdk/commit/499ba857e75aa54aa90606f22b984692c8271152)), closes [#16208](https://github.com/aws/aws-cdk/issues/16208)
* **apigateway:** add option to set the base path when adding a domain name to a Rest API ([#17915](https://github.com/aws/aws-cdk/issues/17915)) ([9af5b4d](https://github.com/aws/aws-cdk/commit/9af5b4dba57e816754673fc11a1246d6d4215c5e))
* **apigatewayv2:** Lambda authorizer for WebSocket API ([#16886](https://github.com/aws/aws-cdk/issues/16886)) ([67cce37](https://github.com/aws/aws-cdk/commit/67cce37f8ea3e6096e44a926fe61441dfcbc685b)), closes [#13869](https://github.com/aws/aws-cdk/issues/13869)
* **aws-applicationautoscaling:** Allow autoscaling with "M out of N" datapoints ([#17441](https://github.com/aws/aws-cdk/issues/17441)) ([c21320d](https://github.com/aws/aws-cdk/commit/c21320d32a22b9bd5f202acbdd2626ba4d90fbca)), closes [#17433](https://github.com/aws/aws-cdk/issues/17433)
* **aws-applicationautoscaling:** enabling autoscaling for ElastiCache Redis cluster ([#17919](https://github.com/aws/aws-cdk/issues/17919)) ([7f54ed6](https://github.com/aws/aws-cdk/commit/7f54ed667607025666c714299036a6ca770065c9))
* **aws-ecs:** expose environment from containerDefinition ([#17889](https://github.com/aws/aws-cdk/issues/17889)) ([4937cd0](https://github.com/aws/aws-cdk/commit/4937cd0d0057d7d389809f4c4ef56fc6020a954f)), closes [#17867](https://github.com/aws/aws-cdk/issues/17867)
* **aws-s3:** add support for BucketOwnerEnforced to S3 ObjectOwnershipType ([#17961](https://github.com/aws/aws-cdk/issues/17961)) ([93fafc5](https://github.com/aws/aws-cdk/commit/93fafc5c93f0a8a0a05f4c261df3918256f71e5e)), closes [#17926](https://github.com/aws/aws-cdk/issues/17926)
* **cfnspec:** cloudformation spec v51.0.0 ([#17955](https://github.com/aws/aws-cdk/issues/17955)) ([c6b7a49](https://github.com/aws/aws-cdk/commit/c6b7a496122ef2e03ccc267e2cccf03ab439fdc7)), closes [#17943](https://github.com/aws/aws-cdk/issues/17943)
* **cli:** Hotswapping Support for S3 Bucket Deployments ([#17638](https://github.com/aws/aws-cdk/issues/17638)) ([1df478b](https://github.com/aws/aws-cdk/commit/1df478b9777afcdb5401df6c4a1a9708849dca42))
* **codecommit:** allow initializing a Repository with contents ([#17968](https://github.com/aws/aws-cdk/issues/17968)) ([54b6cc6](https://github.com/aws/aws-cdk/commit/54b6cc677f2b1c0ffd6a183fe6b935ad1012cf63)), closes [#17967](https://github.com/aws/aws-cdk/issues/17967) [#16958](https://github.com/aws/aws-cdk/issues/16958)
* **ec2:** add d3 and d3en instances ([#17782](https://github.com/aws/aws-cdk/issues/17782)) ([8b52196](https://github.com/aws/aws-cdk/commit/8b52196d9971f0925acedf067150e1c465be7a1e)), closes [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html/issues/cfn-ec2)
* **ec2:** add high memory instances u-6tb1, u-9tb1, u-12tb1, u-18tb1, and u-24tb1 ([#17964](https://github.com/aws/aws-cdk/issues/17964)) ([5497525](https://github.com/aws/aws-cdk/commit/54975259fc2425e43cbdcb99f82341d7c0d0aa47))
* **ec2:** add im4gn and is4gen instances ([#17780](https://github.com/aws/aws-cdk/issues/17780)) ([e057c8f](https://github.com/aws/aws-cdk/commit/e057c8fffd32d5e0ad70880f96a2adc5e1b28eea)), closes [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html/issues/cfn-ec2)
* **iotevents:** add IoT Events input L2 Construct ([#17847](https://github.com/aws/aws-cdk/issues/17847)) ([9f03dc4](https://github.com/aws/aws-cdk/commit/9f03dc4c5b75225942037fb6c8fa7d6abf35fe11)), closes [/github.com/aws/aws-cdk/issues/17711#issuecomment-986153267](https://github.com/aws//github.com/aws/aws-cdk/issues/17711/issues/issuecomment-986153267)
* **lambda:** add cloudwatch lambda insights arm support ([#17665](https://github.com/aws/aws-cdk/issues/17665)) ([02749b4](https://github.com/aws/aws-cdk/commit/02749b43d5169b973e543100c5a7b0c2df04ce2b)), closes [#17133](https://github.com/aws/aws-cdk/issues/17133)


### Bug Fixes

* **appmesh:** adding support with gateway route priority ([#17694](https://github.com/aws/aws-cdk/issues/17694)) ([a61576f](https://github.com/aws/aws-cdk/commit/a61576fd43fdcca44e364fc6bfa017c8aef3fc07)), closes [#16821](https://github.com/aws/aws-cdk/issues/16821)
* **appsync:** `ttl` property of `CachingConfig` is not required ([#17981](https://github.com/aws/aws-cdk/issues/17981)) ([73e5fec](https://github.com/aws/aws-cdk/commit/73e5fec36cb149cf666320afbe63308c968c62dd))
* **aws-autoscaling:** notificationTargetArn should be optional in LifecycleHook ([#16187](https://github.com/aws/aws-cdk/issues/16187)) ([4e7a275](https://github.com/aws/aws-cdk/commit/4e7a2758eec6999aee5432b3e9e6bbe7626a2d6b)), closes [#14641](https://github.com/aws/aws-cdk/issues/14641)
* **aws-lambda-nodejs:** use closest lockfile when autodetecting ([#16629](https://github.com/aws/aws-cdk/issues/16629)) ([c4ecd96](https://github.com/aws/aws-cdk/commit/c4ecd9636087332d8ae9bc5e120d890e8c677f35)), closes [#15847](https://github.com/aws/aws-cdk/issues/15847) [40aws-cdk/aws-lambda-nodejs/lib/function.ts#L137-L139](https://github.com/40aws-cdk/aws-lambda-nodejs/lib/function.ts/issues/L137-L139) [/github.com/aws/aws-cdk/issues/15847#issuecomment-903830384](https://github.com/aws//github.com/aws/aws-cdk/issues/15847/issues/issuecomment-903830384)
* **cli:** asset publishing broken cross account ([#18007](https://github.com/aws/aws-cdk/issues/18007)) ([2fc6895](https://github.com/aws/aws-cdk/commit/2fc68954cfbc3c65694e767b00a2318f9cc4a501)), closes [#17668](https://github.com/aws/aws-cdk/issues/17668) [#17988](https://github.com/aws/aws-cdk/issues/17988)
* **cli:** hotswapping StateMachines with a name fails ([#17892](https://github.com/aws/aws-cdk/issues/17892)) ([de67aae](https://github.com/aws/aws-cdk/commit/de67aae18cfed2694e9002a10e739a56f294040f)), closes [#17716](https://github.com/aws/aws-cdk/issues/17716)
* **custom-resources:** assumedRole from AwsCustomResource invocation leaked to next execution ([#15776](https://github.com/aws/aws-cdk/issues/15776)) ([e138188](https://github.com/aws/aws-cdk/commit/e13818854c89591606ac74496969b841f6a1fa8e)), closes [#15425](https://github.com/aws/aws-cdk/issues/15425)
* **glue:** remove `batchDeletePartition` from `grantRead()` permissions ([#17941](https://github.com/aws/aws-cdk/issues/17941)) ([3d64f9b](https://github.com/aws/aws-cdk/commit/3d64f9b8c07e83d4a085e3eaf69629a866bc20d0)), closes [#17935](https://github.com/aws/aws-cdk/issues/17935) [#15116](https://github.com/aws/aws-cdk/issues/15116)
* **logs:** log retention fails with OperationAbortedException ([#17688](https://github.com/aws/aws-cdk/issues/17688)) ([95b8da9](https://github.com/aws/aws-cdk/commit/95b8da94a1880d8c34cab80c9b484307260047d9)), closes [#17546](https://github.com/aws/aws-cdk/issues/17546)
* **rds:** unable to use tokens as port in `DatabaseInstance` ([#17995](https://github.com/aws/aws-cdk/issues/17995)) ([0745193](https://github.com/aws/aws-cdk/commit/0745193e4c18ecb118ba3330a380f7474b527a2b)), closes [#17948](https://github.com/aws/aws-cdk/issues/17948)

## [1.135.0](https://github.com/aws/aws-cdk/compare/v1.134.0...v1.135.0) (2021-12-10)


7 changes: 7 additions & 0 deletions allowed-breaking-changes.txt
Original file line number Diff line number Diff line change
@@ -86,3 +86,10 @@ removed:@aws-cdk/aws-stepfunctions-tasks.EmrCreateClusterProps.autoTerminationPo
# Changed property securityGroupId to optional because either securityGroupId or
# securityGroupName is required. Therefore securityGroupId is no longer mandatory.
weakened:@aws-cdk/cloud-assembly-schema.SecurityGroupContextQuery

# refactor autoscaling lifecycle hook target bind() methods to make role optional by
# having bind() methods create the role if it isn't passed to them
incompatible-argument:@aws-cdk/aws-autoscaling-hooktargets.FunctionHook.bind
incompatible-argument:@aws-cdk/aws-autoscaling-hooktargets.QueueHook.bind
incompatible-argument:@aws-cdk/aws-autoscaling-hooktargets.TopicHook.bind
incompatible-argument:@aws-cdk/aws-autoscaling.ILifecycleHookTarget.bind
Loading