How to attach vpc link to get method in api gateway via cloudformation
How to attach vpc link to get method in api gateway via cloudformation I am trying to create a api gateway via cloudformation which use a vpc link to an internal beanstalk network load balancer: Here is my code to create vpc link: VpcLink: Type: AWS::ApiGateway::VpcLink Properties: Description: vpc link Name: channel-vpc-link TargetArns: - !ImportValue channel-dns-arn and here is my api gtw code: GetMethod: Type: AWS::ApiGateway::Method DependsOn: VpcLink Properties: AuthorizationType: NONE HttpMethod: GET #RequestParameters: # method.request.path.proxy: true Integration: Type: HTTP IntegrationHttpMethod: GET Uri: Fn::Join: - '' - - "http://" - ${stageVariables.channelUrl} - "/channels" - "/stories" IntegrationResponses: - StatusCode: 200 ResponseParameters: method.response.header.Access-Control-Allow-Origin: "'*'...