Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gregorypierce/d10eecf5762e6d5d2f821ddf8c26e680 to your computer and use it in GitHub Desktop.

Select an option

Save gregorypierce/d10eecf5762e6d5d2f821ddf8c26e680 to your computer and use it in GitHub Desktop.
// setup the alias record that will point to this API
//
new route53.ARecord( this, "domain_alias_record", {
recordName: props.subdomainPrefix + "." + props.domainName,
zone: props.hostedZone,
target: route53.RecordTarget.fromAlias(new route53Targets.ApiGateway(this.api))
});
console.log("API: "+ props.name);
console.log("DomainName: " + props.subdomainPrefix + "." + props.domainName );
console.log("BasePath: " + basePath );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment