Interface DomainsConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DomainsConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.404Z") @Stability(Experimental) public interface DomainsConfig extends software.amazon.jsii.JsiiSerializable
(experimental) Domains configuration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53resolver.*;
 DomainsConfig domainsConfig = DomainsConfig.builder()
         .domainFileUrl("domainFileUrl")
         .domains(List.of("domains"))
         .build();
 
  • Method Details

    • getDomainFileUrl

      @Stability(Experimental) @Nullable default String getDomainFileUrl()
      (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`

    • getDomains

      @Stability(Experimental) @Nullable default List<String> getDomains()
      (experimental) A list of domains.

      Default: - use `domainFileUrl`

    • builder

      @Stability(Experimental) static DomainsConfig.Builder builder()
      Returns:
      a DomainsConfig.Builder of DomainsConfig