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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인