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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDomainNameProps
static final class
An implementation forDomainNameProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainNameProps.Builder
builder()
default IRestApi
If specified, all requests to this domain will be mapped to the production deployment of this API.Methods inherited from interface software.amazon.awscdk.services.apigateway.DomainNameOptions
getBasePath, getCertificate, getDomainName, getEndpointType, getMtls, getSecurityPolicy
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
- Returns:
- a
DomainNameProps.Builder
ofDomainNameProps
-