UNPKG

@cdkx/web-application

Version:

Static web application hosting related constructs

12 lines (11 loc) 546 B
/// <amd-module name="@cdkx/web-application/facades/add-cname-records" /> import { IHostedZone } from '@aws-cdk/aws-route53'; import { DOMAIN_NAME_REGISTRAR } from '../constants'; import { IDistribution } from '@aws-cdk/aws-cloudfront'; import { Construct } from '@aws-cdk/core'; export declare function addCnameRecords(scope: Construct, { distribution, aliases, domainNameRegistrar, hostedZone, }: { distribution: IDistribution; aliases: string[]; domainNameRegistrar?: DOMAIN_NAME_REGISTRAR; hostedZone?: IHostedZone; }): void;