sparse-intern-71089
07/03/2020, 8:02 PMbillowy-army-68599
apiGatewayId
just needs to be a unique field for the cloudfront distribution. You can't use the arn
here. Try using the API gateway name insteadgifted-student-18589
07/04/2020, 2:08 PMapiGatewayId
gifted-student-18589
07/04/2020, 2:08 PMgifted-student-18589
07/04/2020, 2:10 PMgifted-student-18589
07/04/2020, 2:11 PMThe parameter origin name cannot contain a colon.
gifted-student-18589
07/04/2020, 2:11 PMgifted-student-18589
07/04/2020, 2:25 PMgifted-student-18589
07/04/2020, 2:38 PMgifted-student-18589
07/04/2020, 2:39 PMhttps://
before, which is logicalgifted-student-18589
07/04/2020, 2:39 PMapi
response 😄gifted-student-18589
07/04/2020, 2:40 PMapi.url
represents the whole URL, so now I’m searching for a property that will give me the domain immediately (I cannot perform any string operations on the api.url
since it’s not stringgifted-student-18589
07/04/2020, 4:39 PMgifted-student-18589
07/04/2020, 4:39 PMgifted-student-18589
07/05/2020, 6:04 AMparse
comes from:
import { parse } from "url";
gifted-student-18589
07/05/2020, 6:04 AM