Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-apigatewayv2

Package Overview
Dependencies
Maintainers
5
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-apigatewayv2 - npm Package Versions

1
22

1.135.0

Diff

Changelog

Source

1.135.0 (2021-12-10)

⚠ 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

  • apigateway: dataTraceEnabled does not default to false (#17906) (cc3bb1f)
  • 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: empty caching config is created when not provided (#17947) (3a9f206)
  • appsync: remove 'id' suffix to union definition key (#17787) (86e7780), closes #17771
  • assert: support multiline strings with stringLike() (#17692) (37596e6)
  • assets: remove the original-path metadata (#17901) (2b759ca), closes #17706
  • aws-cdk-migration: Construct imports not rewritten (#17931) (f02fcb4), closes #17826
  • 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
  • codepipeline: default cross-region S3 buckets allow public access (#17722) (0b80db5), closes #16411
  • cognito: remove invalid SES region check (#17868) (450f7ca), closes #17795
  • 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
  • iam: AWS Managed Policy ARNs are not deduped (#17623) (ed4a4b4), closes #17552
  • 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
  • s3-deployment: updating memoryLimit or vpc results in stack update failure (#17530) (2ba40d1), closes #7128
  • stepfunctions: prefixes not appended to states in parallel branches (#17806) (a1da772), closes #17354

Miscellaneous Chores

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

Changelog

Source

1.134.0 (2021-11-23)

Features

Bug Fixes

aws-cdk-team
published 1.133.0 •

Changelog

Source

1.133.0 (2021-11-19)

Features

Bug Fixes

  • apigateway: SAM CLI asset metadata missing from SpecRestApi (#17293) (841cf99), closes #14593
  • assets: SAM asset metadata missing from log retention and custom resource provider functions (#17551) (a90e959)
  • autoscaling: add timezone property to Scheduled Action (#17330) (3154a58)
  • aws-codebuild: add @aws-cdk/asserts to package deps (#17435) (9c77e94)
  • aws-lambda-event-sources: Function.addEventSource fails for ManagedKafkaEventSource typed parameters (#17490) (a474ee8)
  • aws-logs: include new policy.ts exports in index.ts exports (#17403) (a391468)
  • cli: improve asset publishing times by up to 30% (#17409) (40d6a48), closes #17266
  • cli: skip bundling for the 'watch' command (#17455) (af61b7f), closes #17391
  • cloudwatch: render agnostic alarms in legacy style (#17538) (7c50ef8)
  • ec2: Duplicate EIP when NatGatewayProps.eipAllocationIds is provided (#17235) (050f6fa)
  • eks: Allow specifying subnets in Pinger (#17429) (6acee52)
  • iot: unable to add the same lambda function to two TopicRule Actions (#17521) (eda1640), closes #17508
  • kinesis: add required rights to trigger Lambda from Kinesis. Fixes issue #17312. (#17358) (0bfc15c)
  • lambda: SAM CLI asset metadata missing from image Functions (#17368) (f52d9bf)
  • NestedStack: add asset metadata to NestedStack resources for local tooling (#17343) (4ba40dc)
  • redshift: tableNameSuffix evaluation (#17213) (f7c3217), closes #17064
  • sns-subscriptions: enable cross region subscriptions to sqs and lambda (#17273) (3cd8d48), closes #7044 #13707
  • ssm: fix service principals for all regions since ap-east-1 (#17047) (5900548), closes #16188
aws-cdk-team
published 1.132.0 •

Changelog

Source

1.132.0 (2021-11-09)

Features

Bug Fixes

  • codecommit: notifyOnPullRequestMerged method has a typo in its name (#17348) (cac5726)
  • opensearch: domain doesn't handle tokens in capacity configuration (#17131) (2627939), closes #15014
aws-cdk-team
published 1.131.0 •

Changelog

Source

1.131.0 (2021-11-07)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • apigatewayv2-authorizers: userPoolClient property in UserPoolAuthorizerProps is now renamed to userPoolClients.

Features

Bug Fixes

  • aws-eks: proxy support and allow assigning a security group to all cluster handler functions (#17200) (7bbd10d), closes #12469
  • cli: wmic not found on modern Windows systems (#17070) (332ce4d), closes #16419
  • cli: cdk ls --long outputs less-friendly stack IDs for nested assemblies (#17263) (864c50e), closes #14379
  • cli: no longer disable rollback by default for hotswap deployments (#17317) (e32b616), closes #17267
  • cognito: ambiguous error message when same trigger is added twice (#16917) (4ae78b0)
  • ec2: functions addIngressRule and addEgressRule detect unresolved tokens as duplicates (#17221) (d4952c3), closes #17201
  • lambda-nodejs: yarn berry goes into immutable mode in CI (#17086) (cc8dd69), closes #17082
  • pipelines: additionalInputs not working (#17279) (9e81dc7), closes #17224
  • s3: enforce that fromBucketAttributes supplies a valid bucket name (#16915) (30ac0cc)

Reverts

aws-cdk-team
published 1.130.0 •

Changelog

Source

1.130.0 (2021-10-29)

Features

Bug Fixes

  • cli: downgrade bootstrap stack error message needs a hint for new-style synthesis (#16237) (e55301b)
  • core: DefaultSynthesizer deployments are never skipped (#17099) (c74b012), closes #16959
  • core: SecretValue.secretsManager fails for tokenized secret-id (#16230) (5831456), closes #16166
  • custom-resources: invalid service name leads to unhelpful error message (#16718) (354686b), closes #7312
  • custom-resources: Role Session Name can exceed maximum size (#16680) (3617b70)
  • elasticloadbalancingv2: always set stickiness (#17111) (0a23953), closes #16620
  • lambda-event-sources: dynamo batch size cannot be a CfnParameter (#16540) (56974ac), closes #16221
  • logs: Apply tags to log retention Lambda (#17029) (a6aaa64), closes #15032
  • rds: using both Instance imports & exports for Postgres fails deployment (#17060) (ab627c6), closes #16757
  • redshift: cluster uses key ARN instead of key ID (#17108) (bdf30c6), closes #17032
aws-cdk-team
published 1.129.0 •

Changelog

Source

1.129.0 (2021-10-21)

Features

Bug Fixes

  • apigatewayv2: unable to retrieve domain url for default stage (#16854) (c6db91e), closes #16638
  • cfn-diff: correctly handle Date strings in diff (#16591) (86f2714), closes #16444
  • ecs: imported services don't have account & region set correctly (#16997) (dc6f743), closes #11199 #11199 #15944
  • events: PhysicalName.GENERATE_IF_NEEDED does not work for EventBus (#17008) (707fa00), closes #14337
  • lambda: docker image function fails when insightsVersion is specified (#16781) (d0e15cc), closes #16642
  • lambda-layer-node-proxy-agent: Replace use of package.json with Dockerfile command npm install [package]@[version] (#17078) (a129046)
  • opensearch: add validation to domainName property (#17017) (3ec6832), closes #17016
  • pipelines: additionalInputs fails for deep directory (#17074) (403d3ce), closes #16936
aws-cdk-team
published 1.128.0 •

Changelog

Source

1.128.0 (2021-10-14)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • assertions: Starting this release, the assertions module will be published to Maven with the name 'assertions' instead of 'cdk-assertions'.

Features

  • apigatewayv2-integrations: http api - support for request parameter mapping (#15630) (0452aed)
  • cli: hotswap deployments for ECS Services (#16864) (ad7288f)
  • codepipeline: add support for string user parameters to the Lambda invoke action (#16946) (e19ea31), closes #16776
  • lambda: docker platform for architecture (#16858) (5c258a3)
  • lambda-event-sources: self managed kafka: support sasl/plain authentication (#16712) (d4ad93f)
  • stepfunctions-tasks: AWS SDK service integrations (#16746) (ae840ff), closes #16780

Bug Fixes

Miscellaneous Chores

aws-cdk-team
published 1.127.0 •

Changelog

Source

1.127.0 (2021-10-08)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • assertions: Match.absentProperty() becomes Match.absent(), and its type changes from string to Matcher.

Features

Bug Fixes

  • assertions: hasResourceProperties is incompatible with Match.not and Match.absent (#16678) (6f0a507), closes #16626
  • cloudfront: EdgeFunctions cannot be created when IDs contain spaces (#16845) (b0752c5), closes #16832
  • cloudwatch: alarms with accountId fails in regions that don't support cross-account alarms (#16875) (54472a0), closes #16874
  • iam: not possible to represent Principal: * (#16843) (6829a2a)
  • lambda: currentVersion fails when architecture specified (#16849) (8a0d369), closes #16814
  • s3: auto-delete fails when bucket has been deleted manually (#16645) (7b4fa72), closes #16619

Miscellaneous Chores

  • assertions: replace absentProperty() with absent() and support it as a Matcher type (#16653) (c980185)
aws-cdk-team
published 1.126.0 •

Changelog

Source

1.126.0 (2021-10-05)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • assertions: The templateMatches() API previously performed an exact match. The default behavior has been updated to be "object-like".

Features

  • assertions: matcher support for templateMatches() API (#16789) (0fb2179)
  • apprunner: support the Service L2 construct (#15810) (3cea941), closes #14813
  • aws-ec2: userdata cfn-signal signal resource which is different than the attached resource (#16264) (f24a1ae)
  • backup: expose method to add statements to the vault policy (#16597) (3ff1537)
  • cfnspec: cloudformation spec v42.0.0 (#16639) (2157acd)
  • cloudfront: support Behavior-specific viewer protocol policy for CloudFrontWebDistribution (#16389) (5c028c5), closes #7086
  • cloudwatch: support cross-environment search expressions (#16539) (c165138), closes #9039
  • eks: connectAutoScalingGroupCapacity on imported clusters (#14650) (7f7be08)
  • eks: add warning to fargateProfile (#16631) (41fdebb), closes #16349
  • stepfunctions-tasks: add step concurrency level to EmrCreateCluster (#15242) (1deea90), closes #15223
  • allow stale bot trigger manually (#16586) (fc8cfee)

Bug Fixes

Reverts

  • aws-eks: "fix(aws-eks): Support for http proxy in EKS onEvent lambda" (#16651) (376c837)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc