If I try to deploy with config.api.endpoint_type = 'PRIVATE'
then it appears that the CloudFormation stack deploy fails because Private REST API doesn't have a resource policy attached to it (Service: AmazonApiGateway; Status Code: 400; Error Code: BadRequestException; Request ID: **********)
. I can’t find anything in the documentation suggesting how I’d apply the required ResourcePolicy.
Any assistance / guidance would be greatly appreciated.