Is it possible to create a API Gateway custom doma...
# sst
j
Is it possible to create a API Gateway custom domain via the SST Api method that would replace the serverless
create_domain --stage [stage]
command? Seem to be able to do it but it creates
EndpointType
as
REGIONAL
instead of
EDGE
@Frank
I have a stack setup that runs first in the pipeline that creates all the resources need for both the SST and Serverless part of our project.
f
Hey @Jack Fraser, the
sst.Api
construct uses API Gateway HTTP API behind the scene.
You were probably using the API Gateway REST API with Serverless Framework.
In that case,
sst.ApiGatewayV1Api
might be what you are looking for.
Just curious, do u need ur Api to be of EDGE type?