Interface DomainNameProps

All Superinterfaces:
All Known Implementing Classes:

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

 Object acm;
 DomainName.Builder.create(this, "domain-name")
         .certificate(acm.Certificate.fromCertificateArn(this, "cert", "arn:aws:acm:us-east-1:1111111:certificate/11-3336f1-44483d-adc7-9cd375c5169d"))
                 .bucket(new Bucket(this, "bucket"))
  • 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()
      a DomainNameProps.Builder of DomainNameProps