How to use the @aws-cdk/aws-route53-targets.ApiGateway function in @aws-cdk/aws-route53-targets

To help you get started, we’ve selected a few @aws-cdk/aws-route53-targets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fogfish / aws-cdk-pure / hoc / src / gateway.ts View on Github external
const ApiDNS  = (): dns.ARecordProps => ({
    recordName: site(props),
    target: {aliasTarget: new target.ApiGateway(restapi)},
    ttl: cdk.Duration.seconds(60),
    zone,
  })
  return iaac(ApiDNS)
github fogfish / aws-cdk-pure / hoc / src / staticweb.ts View on Github external
const SiteDNS  = (): dns.ARecordProps => ({
    recordName: site(props),
    target: {aliasTarget: new target.ApiGateway(restapi)},
    ttl: cdk.Duration.seconds(60),
    zone,
  })
  return iaac(SiteDNS)

@aws-cdk/aws-route53-targets

The CDK Construct Library for AWS Route53 Alias Targets

Apache-2.0
Latest version published 1 year ago

Package Health Score

67 / 100
Full package analysis