DomainsConfig

class aws_cdk.aws_route53resolver.DomainsConfig(*, domain_file_url=None, domains=None)

Bases: object

(experimental) Domains configuration.

Parameters:
  • domain_file_url (Optional[str]) – (experimental) 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. Default: - use domains

  • domains (Optional[Sequence[str]]) – (experimental) A list of domains. Default: - use domainFileUrl

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_route53resolver as route53resolver

domains_config = route53resolver.DomainsConfig(
    domain_file_url="domainFileUrl",
    domains=["domains"]
)

Attributes

domain_file_url

(experimental) 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.

Default:
  • use domains

Stability:

experimental

domains

(experimental) A list of domains.

Default:
  • use domainFileUrl

Stability:

experimental