Skip to content

Commit 2af7863

Browse files
authored
docs(apigateway): set integrationHttpMethod for vpc link integration (#28299)
As written in #6404, a VPC link integration fails to deploy unless we set `integrationHttpMethod` prop explicitly. In this PR we fix the sample code accordingly. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 97130bd commit 2af7863

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/aws-cdk-lib/aws-apigateway/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,7 @@ const link = new apigateway.VpcLink(this, 'link', {
14531453

14541454
const integration = new apigateway.Integration({
14551455
type: apigateway.IntegrationType.HTTP_PROXY,
1456+
integrationHttpMethod: 'ANY',
14561457
options: {
14571458
connectionType: apigateway.ConnectionType.VPC_LINK,
14581459
vpcLink: link,

0 commit comments

Comments
 (0)