@aws-cdk_aws-route53resolver-alpha.DomainsConfig

interface DomainsConfig ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Route53Resolver.Alpha.DomainsConfig
Gogithub.com/aws/aws-cdk-go/awscdkroute53resolveralpha/v2#DomainsConfig
Javasoftware.amazon.awscdk.services.route53resolver.alpha.DomainsConfig
Pythonaws_cdk.aws_route53resolver_alpha.DomainsConfig
TypeScript (source)@aws-cdk/aws-route53resolver-alpha ยป DomainsConfig

Obtainable from FirewallDomains.bind()

Domains configuration.

Example

// 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

NameTypeDescription
domainFileUrl?๐Ÿ”นstringThe fully qualified URL or URI of the file stored in Amazon S3 that contains the list of domains to import.
domains?๐Ÿ”นstring[]A list of domains.

domainFileUrl?๐Ÿ”น

Type: string (optional, default: use domains)

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

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.


domains?๐Ÿ”น

Type: string[] (optional, default: use domainFileUrl)

A list of domains.