@Stability(value=Stable)
public static interface CfnDomain.DomainEndpointOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The
AWS::Elasticsearch::Domainresource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types in the Amazon OpenSearch Service Developer Guide .
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.elasticsearch.*;
DomainEndpointOptionsProperty domainEndpointOptionsProperty = DomainEndpointOptionsProperty.builder()
.customEndpoint("customEndpoint")
.customEndpointCertificateArn("customEndpointCertificateArn")
.customEndpointEnabled(false)
.enforceHttps(false)
.tlsSecurityPolicy("tlsSecurityPolicy")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDomain.DomainEndpointOptionsProperty.Builder
A builder for
CfnDomain.DomainEndpointOptionsProperty |
static class |
CfnDomain.DomainEndpointOptionsProperty.Jsii$Proxy
An implementation for
CfnDomain.DomainEndpointOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDomain.DomainEndpointOptionsProperty.Builder |
builder() |
default String |
getCustomEndpoint()
The fully qualified URL for your custom endpoint.
|
default String |
getCustomEndpointCertificateArn()
The AWS Certificate Manager ARN for your domain's SSL/TLS certificate.
|
default Object |
getCustomEndpointEnabled()
True to enable a custom endpoint for the domain.
|
default Object |
getEnforceHttps()
True to require that all traffic to the domain arrive over HTTPS.
|
default String |
getTlsSecurityPolicy()
The minimum TLS version required for traffic to the domain.
|
@Stability(value=Stable) @Nullable default String getCustomEndpoint()
Required if you enabled a custom endpoint for the domain.
@Stability(value=Stable) @Nullable default String getCustomEndpointCertificateArn()
Required if you enabled a custom endpoint for the domain.
@Stability(value=Stable) @Nullable default Object getCustomEndpointEnabled()
If enabled, you must also provide values for CustomEndpoint and CustomEndpointCertificateArn .
@Stability(value=Stable) @Nullable default Object getEnforceHttps()
@Stability(value=Stable) @Nullable default String getTlsSecurityPolicy()
Policy-Min-TLS-1-0-2019-07Policy-Min-TLS-1-2-2019-07@Stability(value=Stable) static CfnDomain.DomainEndpointOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.