Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const ApiDNS = (): dns.ARecordProps => ({
recordName: site(props),
target: {aliasTarget: new target.ApiGateway(restapi)},
ttl: cdk.Duration.seconds(60),
zone,
})
return iaac(ApiDNS)
const SiteDNS = (): dns.ARecordProps => ({
recordName: site(props),
target: {aliasTarget: new target.ApiGateway(restapi)},
ttl: cdk.Duration.seconds(60),
zone,
})
return iaac(SiteDNS)