Skip to content
v2.275.0

Experimental

@aws-cdk/aws-route53resolver-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

DomainsConfig Struct ​

Domains configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';
const domainsConfig: route53resolver_alpha.DomainsConfig = {
  domainFileUrl: 'domainFileUrl',
  domains: ['domains'],
};

Properties ​

domainFileUrloptionalstringdomain_file_urloptionalstrdomainFileUrloptionalStringDomainFileUrloptionalstringDomainFileUrloptional*string#
The fully qualified URL or URI of the file stored in Amazon S3 that contains the list of domains to import.

Default: use domains

The file must be a text file and must contain a single domain per line. The content type of the S3 object must be plain/text.

domainsoptionalstring[]domainsoptionaltyping.List[str]domainsoptionalList<String>Domainsoptionalstring[]Domainsoptional*[]*string#
A list of domains.

Default: use domainFileUrl