Interface DomainNameProps

All Superinterfaces:
DomainNameOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DomainNameProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.938Z") @Stability(Stable) public interface DomainNameProps extends software.amazon.jsii.JsiiSerializable, DomainNameOptions
Example:

 Object acm;
 DomainName.Builder.create(this, "domain-name")
         .domainName("example.com")
         .certificate(acm.Certificate.fromCertificateArn(this, "cert", "arn:aws:acm:us-east-1:1111111:certificate/11-3336f1-44483d-adc7-9cd375c5169d"))
         .mtls(MTLSConfig.builder()
                 .bucket(new Bucket(this, "bucket"))
                 .key("truststore.pem")
                 .version("version")
                 .build())
         .build();
 
  • Method Details

    • getMapping

      @Stability(Stable) @Nullable default IRestApi getMapping()
      If specified, all requests to this domain will be mapped to the production deployment of this API.

      If you wish to map this domain to multiple APIs with different base paths, don't specify this option and use addBasePathMapping.

      Default: - you will have to call `addBasePathMapping` to map this domain to API endpoints.

    • builder

      @Stability(Stable) static DomainNameProps.Builder builder()
      Returns:
      a DomainNameProps.Builder of DomainNameProps