github aws/aws-cdk v2.1.0

latest releases: v2.164.1, v2.164.0, v2.163.1...
2 years ago

Features

Bug Fixes

  • aws-cdk: cdk diff always fails on diff (#17862) (6bb4a46), closes #4721
  • aws-ec2: imported VPC subnets never recognized as PRIVATE_ISOLATED (#17496) (ba6a8ef)
  • aws-elasticloadbalancingv2: Set stickiness.enabled unless target type is lambda (#17271) (168a98f), closes #17261
  • cli: S3 asset uploads are rejected by commonly referenced encryption SCP (introduces bootstrap stack v9) (#17668) (8191f1f), closes #11265
  • codepipeline: cannot trigger on all tags anymore in EcrSourceAction (#17270) (39fe11b), closes aws#13818 aws#13818
  • codepipeline: cross-env pipeline cannot be created in Stage (#17730) (f17f29e), closes #17643
  • core: bundling skipped with --exclusively option and stacks under stage (#17210) (cda6601), closes #12898 #15346
  • docdb: secret rotation ignores excluded characters in password (#17609) (1fe2215), closes #17347 #17575
  • dynamodb: add missing DynamoDB operations to enum (#17738) (f38e0ac)
  • dynamodb: changing waitForReplicationToFinish fails deployment (#17842) (36b8fdb), closes #16983
  • ecs-patterns: removeDefaultDesiredCount feature flag not expired properly (#17865) (7fb639a)
  • lambda: recognizeVersionProps featureFlag not defaulting correctly (#17866) (f19fc39), closes #17810
  • lambda-nodejs: bundling fails with a file dependency in nodeModules (#17851) (5737c33), closes #17830
  • lambda-nodejs: bundling with nodeModules fails with paths containing spaces (#17632) (986f291), closes #17631
  • pipelines: stack outputs used in stackSteps not recognized (#17311) (5e4a219), closes #17272
  • stepfunctions: prefixes not appended to states in parallel branches (#17806) (a1da772), closes #17354

Alpha modules (2.1.0-alpha.0)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • apigatewayv2-authorizers: The default value for the prop authorizerName
    in HttpJwtAuthorizerProps has changed.
  • apigatewayv2-authorizers: HttpJwtAuthorizer now takes the
    construct id and the target jwt issuer as part of its constructor.
  • apigatewayv2-authorizers: HttpLambdaAuthorizer now takes
    the construct id and the target lambda function handler as part of
    its constructor.
  • apigatewayv2-authorizers: The default value for the prop
    authorizerName in HttpUserPoolAuthorizerProps has changed.
  • apigatewayv2: The HttpIntegration and WebSocketIntegration
    classes require an "id" parameter to be provided during its initialization.
  • apigatewayv2-integrations: The LambdaWebSocketIntegration is now
    renamed to WebSocketLambdaIntegration. The new class accepts the
    handler to the target lambda function directly in its constructor.
  • apigatewayv2-integrations: HttpProxyIntegration and
    HttpProxyIntegrationProps are now renamed to HttpUrlIntegration
    and HttpUrlIntegrationProps respectively. The new class accepts the
    target url directly in its constructor.
  • apigatewayv2-integrations: LambdaProxyIntegration and
    LambdaProxyIntegrationProps are now renamed to
    HttpLambdaIntegration and HttpLambdaIntegrationProps respectively.
    The new class accepts the lambda function handler directly in its
    constructor.
  • apigatewayv2-integrations: HttpAlbIntegration now accepts the
    ELB listener directly in its constructor.
  • apigatewayv2-integrations: HttpNlbIntegration now accepts the
    ELB listener directly in its constructor.
  • apigatewayv2-integrations: HttpServiceDiscoveryIntegration now
    accepts the service discovery Service directly in its constructor.
  • apigatewayv2-authorizers: UserPoolAuthorizerProps is now
    renamed to HttpUserPoolAuthorizerProps.
  • apigatewayv2: The interface IHttpRouteIntegration is replaced by
    the abstract class HttpRouteIntegration.
  • apigatewayv2: The interface IWebSocketRouteIntegration is now
    replaced by the abstract class WebSocketRouteIntegration.
  • apigatewayv2: Previously, we allowed the usage of integration
    classes to be used with routes defined in multiple HttpApi instances
    (or WebSocketApi instances). This is now disallowed, and separate
    instances must be created for each instance of HttpApi or
    WebSocketApi.

Features

Bug Fixes

  • apigatewayv2: integration class does not render an integration resource (#17729) (3b5b97a), closes #13213
  • apprunner: startCommand and environment are ignored in imageConfiguration (#16939) (d911c58), closes #16812
  • appsync: add caching config to AppSync resolvers (#17815) (52b535b)
  • appsync: remove 'id' suffix to union definition key (#17787) (86e7780), closes #17771
  • assert: support multiline strings with stringLike() (#17692) (37596e6)

Miscellaneous Chores

  • apigatewayv2: integration api re-organization (#17752) (29039e8)
  • apigatewayv2-authorizers: re-organize authorizer api (#17772) (719f33e)

Don't miss a new aws-cdk release

NewReleases is sending notifications on new releases.