@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:23.597Z") @Stability(value=Experimental) public interface EndpointOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
import software.amazon.awscdk.services.certificatemanager.*;
Certificate certificate;
EndpointOptions endpointOptions = EndpointOptions.builder()
.certificate(certificate)
// the properties below are optional
.certificateName("certificateName")
.endpointType(EndpointType.EDGE)
.ownershipCertificate(certificate)
.securityPolicy(SecurityPolicy.TLS_1_0)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EndpointOptions.Builder
A builder for
EndpointOptions |
static class |
EndpointOptions.Jsii$Proxy
An implementation for
EndpointOptions |
| Modifier and Type | Method and Description |
|---|---|
static EndpointOptions.Builder |
builder() |
ICertificate |
getCertificate()
(experimental) The ACM certificate for this domain name.
|
default String |
getCertificateName()
(experimental) The user-friendly name of the certificate that will be used by the endpoint for this domain name.
|
default EndpointType |
getEndpointType()
(experimental) The type of endpoint for this DomainName.
|
default ICertificate |
getOwnershipCertificate()
(experimental) A public certificate issued by ACM to validate that you own a custom domain.
|
default SecurityPolicy |
getSecurityPolicy()
(experimental) The Transport Layer Security (TLS) version + cipher suite for this domain name.
|
@Stability(value=Experimental) @NotNull ICertificate getCertificate()
Certificate can be both ACM issued or imported.
@Stability(value=Experimental) @Nullable default String getCertificateName()
Default: - No friendly certificate name
@Stability(value=Experimental) @Nullable default EndpointType getEndpointType()
Default: EndpointType.REGIONAL
@Stability(value=Experimental) @Nullable default ICertificate getOwnershipCertificate()
This parameter is required
only when you configure mutual TLS authentication and you specify an ACM imported or private CA certificate
for certificate. The ownership certificate validates that you have permissions to use the domain name.
Default: - only required when configuring mTLS
@Stability(value=Experimental) @Nullable default SecurityPolicy getSecurityPolicy()
Default: SecurityPolicy.TLS_1_2
@Stability(value=Experimental) static EndpointOptions.Builder builder()
EndpointOptions.Builder of EndpointOptionsCopyright © 2022. All rights reserved.