@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.160Z") @Stability(value=Stable) public interface DomainNameProps extends software.amazon.jsii.JsiiSerializable, DomainNameOptions
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DomainNameProps.Builder
A builder for
DomainNameProps |
static class |
DomainNameProps.Jsii$Proxy
An implementation for
DomainNameProps |
| Modifier and Type | Method and Description |
|---|---|
static DomainNameProps.Builder |
builder() |
default IRestApi |
getMapping()
If specified, all requests to this domain will be mapped to the production deployment of this API.
|
getBasePath, getCertificate, getDomainName, getEndpointType, getMtls, getSecurityPolicy@Stability(value=Stable) @Nullable default IRestApi getMapping()
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.
@Stability(value=Stable) static DomainNameProps.Builder builder()
builder in interface DomainNameOptionsDomainNameProps.Builder of DomainNamePropsCopyright © 2022. All rights reserved.