@liflig/cdk
    Preparing search index...

    Type Alias ApiGatewayDnsProps

    type ApiGatewayDnsProps = {
        hostedZone: route53.IHostedZone;
        subdomain: string;
        ttl?: cdk.Duration;
    }
    Index

    Properties

    hostedZone: route53.IHostedZone

    Hosted Zone for the external facing domain. This is where routes will be created, to redirect consumers to the API-GW. For example a HZ for platform.example.no.

    subdomain: string

    Only the subdomain prefix, which should be the name of the service. Example: Subdomain product would give the end result of an API-GW with product.platform.example.no.

    ttl?: cdk.Duration

    The Time To Live (TTL) for the public DNS A record that will expose the API-GW. This is how long DNS servers will cache the record.

    A long TTL (hours) is beneficial to DNS servers, but makes developers (you) wait longer when doing changes.

    5 minutes