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 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen