examples icon indicating copy to clipboard operation
examples copied to clipboard

Endpoint Configuration type EDGE is not supported in this region: cn-north-1

Open tteat opened this issue 4 years ago • 4 comments

image

tteat avatar Jun 28 '20 02:06 tteat

@tteat

Origin answer: https://stackoverflow.com/questions/54486891/endpoint-configuration-type-edge-is-not-supported-in-this-region/57022864#57022864

When importing a Body using Swagger, CFN ignores the EndpointConfiguration field. To work around this, try adding the endpointConfigurationTypes to the Parameters as per the below example:

ApiGatewayApi:
    Type: AWS::ApiGateway::RestApi
    Properties:
      Parameters:
        endpointConfigurationTypes: REGIONAL
        ignore: documentation
      BodyS3Location:
        Bucket: BATS::SAM::CodeS3Bucket
        Key:xxxxxx
      EndpointConfiguration:
        Types:
        - REGIONAL

wchaws avatar Sep 25 '20 09:09 wchaws

@wchaws thanks

myfreax avatar May 17 '21 13:05 myfreax

@wchaws I fixed endpoint issue. I follow this docs create ApiGateway. But now ApiGateway return http status code 403. Can you help me?

myfreax avatar May 17 '21 15:05 myfreax

@wchaws I fixed endpoint issue. I follow this docs create ApiGateway. But now ApiGateway return http status code 403. Can you help me?

the issue has you resolved this?

goforu avatar Apr 11 '22 05:04 goforu