Issue of apigatewayv2 on new Jakarta region (ap-southeast-3)

0

I am having issue on creating API Gateway on new region, Jakarta. By running cli to test listing all API on Jakarta, it tuns out to be failed as below.

$ aws apigatewayv2 get-domain-names --region ap-southeast-3

An error occurred (BadRequestException) when calling the GetDomainNames operation: {"message": "1 validation error detected: Value \'arn:aws:lambda:ap-southeast-3:xxxxxxxxxxxx:function:\' at \'functionName\' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_\\.]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?"}

While I use the same cli but different region, it works as I expected. Is there any configuration on IAM user that I need to look into? I already have Administrator role but the issue still persists.

1 回答
1

The root cause is that in the ap-southeast-3 region, API Gateway does not support v2 APIs (WebSocket and HTTP APIs).If you make v1 API calls such as aws apigateway get-domain-names --region ap-southeast-3, it works just fine. You can find the same in the console.

AWS
Taka_M
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则