interface DomainsConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53Resolver.DomainsConfig |
Java | software.amazon.awscdk.services.route53resolver.DomainsConfig |
Python | aws_cdk.aws_route53resolver.DomainsConfig |
TypeScript (source) | @aws-cdk/aws-route53resolver » DomainsConfig |
Obtainable from
Firewall
.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 from '@aws-cdk/aws-route53resolver';
const domainsConfig: route53resolver.DomainsConfig = {
domainFileUrl: 'domainFileUrl',
domains: ['domains'],
};
Properties
Name | Type | Description |
---|---|---|
domain | string | The 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.