-
-
Save gregorypierce/337af82b095ba7239a0a8064c07479a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create the API that the Lamnda function will be attached for | |
// setup as a regional api | |
// | |
this.api = new apigw.RestApi( this, "spec_restapi", { | |
restApiName: props.name, | |
deploy: true, | |
deployOptions: { | |
stageName: props.stageName, | |
tracingEnabled: true, | |
}, | |
endpointTypes: [apigw.EndpointType.EDGE] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment