@Stability(value=Stable) public static final class DomainNameProps.Builder extends Object implements software.amazon.jsii.Builder<DomainNameProps>
DomainNameProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DomainNameProps.Builder |
basePath(String basePath)
Sets the value of
DomainNameOptions.getBasePath() |
DomainNameProps |
build()
Builds the configured instance.
|
DomainNameProps.Builder |
certificate(ICertificate certificate)
Sets the value of
DomainNameOptions.getCertificate() |
DomainNameProps.Builder |
domainName(String domainName)
Sets the value of
DomainNameOptions.getDomainName() |
DomainNameProps.Builder |
endpointType(EndpointType endpointType)
Sets the value of
DomainNameOptions.getEndpointType() |
DomainNameProps.Builder |
mapping(IRestApi mapping)
Sets the value of
DomainNameProps.getMapping() |
DomainNameProps.Builder |
mtls(MTLSConfig mtls)
Sets the value of
DomainNameOptions.getMtls() |
DomainNameProps.Builder |
securityPolicy(SecurityPolicy securityPolicy)
Sets the value of
DomainNameOptions.getSecurityPolicy() |
@Stability(value=Stable) public DomainNameProps.Builder mapping(IRestApi mapping)
DomainNameProps.getMapping()mapping - 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.this@Stability(value=Stable) public DomainNameProps.Builder certificate(ICertificate certificate)
DomainNameOptions.getCertificate()certificate - The reference to an AWS-managed certificate for use by the edge-optimized endpoint for the domain name. This parameter is required.
For "EDGE" domain names, the certificate
needs to be in the US East (N. Virginia) region.this@Stability(value=Stable) public DomainNameProps.Builder domainName(String domainName)
DomainNameOptions.getDomainName()domainName - The custom domain name for your API. This parameter is required.
Uppercase letters are not supported.this@Stability(value=Stable) public DomainNameProps.Builder basePath(String basePath)
DomainNameOptions.getBasePath()basePath - The base path name that callers of the API must provide in the URL after the domain name (e.g. `example.com/base-path`). If you specify this property, it can't be an empty string.this@Stability(value=Stable) public DomainNameProps.Builder endpointType(EndpointType endpointType)
DomainNameOptions.getEndpointType()endpointType - The type of endpoint for this DomainName.this@Stability(value=Stable) public DomainNameProps.Builder mtls(MTLSConfig mtls)
DomainNameOptions.getMtls()mtls - The mutual TLS authentication configuration for a custom domain name.this@Stability(value=Stable) public DomainNameProps.Builder securityPolicy(SecurityPolicy securityPolicy)
DomainNameOptions.getSecurityPolicy()securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this domain name.this@Stability(value=Stable) public DomainNameProps build()
build in interface software.amazon.jsii.Builder<DomainNameProps>DomainNamePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.