Interface CfnDomain.DomainEndpointOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.DomainEndpointOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnDomain
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomain.DomainEndpointOptionsPropertystatic final classAn implementation forCfnDomain.DomainEndpointOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe fully qualified URL for your custom endpoint.default StringThe Certificate Manager ARN for your domain's SSL/TLS certificate.default ObjectTrue to enable a custom endpoint for the domain.default ObjectTrue to require that all traffic to the domain arrive over HTTPS.default StringThe minimum TLS version required for traffic to the domain.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomEndpoint
The fully qualified URL for your custom endpoint.Required if you enabled a custom endpoint for the domain.
- See Also:
-
getCustomEndpointCertificateArn
The Certificate Manager ARN for your domain's SSL/TLS certificate.Required if you enabled a custom endpoint for the domain.
- See Also:
-
getCustomEndpointEnabled
True to enable a custom endpoint for the domain.If enabled, you must also provide values for
CustomEndpointandCustomEndpointCertificateArn.Returns union: either
BooleanorIResolvable- See Also:
-
getEnforceHttps
True to require that all traffic to the domain arrive over HTTPS.Returns union: either
BooleanorIResolvable- See Also:
-
getTlsSecurityPolicy
The minimum TLS version required for traffic to the domain. Valid values are TLS 1.3 (recommended) or 1.2:.Policy-Min-TLS-1-0-2019-07Policy-Min-TLS-1-2-2019-07
- See Also:
-
builder
-