Dan Van Brunt
09/17/2021, 3:10 PMApi
what is the equivalent to get the RestApi Id? …. I need to get the https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#aws-resource-apigateway-restapi-return-values
I need to be able to do this in CDK/SST
!Sub "${ApiGatewayRestApi}.execute-api.${AWS::Region}.<http://amazonaws.com|amazonaws.com>"
When we use api.url
it includes the protocol https://
which we do not want.
Is it api.id
?thdxr
09/17/2021, 5:23 PMsst.Api.httpApiArn
is that what you're looking for?thdxr
09/17/2021, 5:23 PMthdxr
09/17/2021, 5:24 PMapi.httpApi.apiId
Dan Van Brunt
09/17/2021, 5:24 PM