- Newest
- Most votes
- Most comments
Hello,
Warm Greetings!
As per the documentation[1] and [2], EndpointConfiguration property has the type as EndpointConfiguration itself which in return is a list. Hence, tried the below code in overrides.ts file :
======================
import { AmplifyApiRestResourceStackTemplate, AmplifyProjectInfo } from '@aws-amplify/cli-extensibility-helper';
export function override(resources: AmplifyApiRestResourceStackTemplate, amplifyProjectInfo: AmplifyProjectInfo) {
// Change the endpoint type
resources.restApi.endpointConfiguration = { types :["REGIONAL"] };
}
Hope the information provided above is helpful.
Additionally, for resource level troubleshooting, I would request you to raise a premium support case and a Support Engineer can look into the override.ts file configuration in question.
[+] https://console.aws.amazon.com/support/home#/case/create
Have a nice day!
Relevant content
- asked a year ago
- asked 2 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago