#[non_exhaustive]pub struct DomainEndpointOptions {
pub enforce_https: Option<bool>,
pub tls_security_policy: Option<TlsSecurityPolicy>,
pub custom_endpoint_enabled: Option<bool>,
pub custom_endpoint: Option<String>,
pub custom_endpoint_certificate_arn: Option<String>,
}
Expand description
Options to configure endpoint for the Elasticsearch domain.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enforce_https: Option<bool>
Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
tls_security_policy: Option<TlsSecurityPolicy>
Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
It can be one of the following values:
- Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLSv1.0 and higher.
- Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLSv1.2
custom_endpoint_enabled: Option<bool>
Specify if custom endpoint should be enabled for the Elasticsearch domain.
custom_endpoint: Option<String>
Specify the fully qualified domain for your custom endpoint.
custom_endpoint_certificate_arn: Option<String>
Specify ACM certificate ARN for your custom endpoint.
Implementations§
source§impl DomainEndpointOptions
impl DomainEndpointOptions
sourcepub fn enforce_https(&self) -> Option<bool>
pub fn enforce_https(&self) -> Option<bool>
Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
sourcepub fn tls_security_policy(&self) -> Option<&TlsSecurityPolicy>
pub fn tls_security_policy(&self) -> Option<&TlsSecurityPolicy>
Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
It can be one of the following values:
- Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLSv1.0 and higher.
- Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLSv1.2
sourcepub fn custom_endpoint_enabled(&self) -> Option<bool>
pub fn custom_endpoint_enabled(&self) -> Option<bool>
Specify if custom endpoint should be enabled for the Elasticsearch domain.
sourcepub fn custom_endpoint(&self) -> Option<&str>
pub fn custom_endpoint(&self) -> Option<&str>
Specify the fully qualified domain for your custom endpoint.
sourcepub fn custom_endpoint_certificate_arn(&self) -> Option<&str>
pub fn custom_endpoint_certificate_arn(&self) -> Option<&str>
Specify ACM certificate ARN for your custom endpoint.
source§impl DomainEndpointOptions
impl DomainEndpointOptions
sourcepub fn builder() -> DomainEndpointOptionsBuilder
pub fn builder() -> DomainEndpointOptionsBuilder
Creates a new builder-style object to manufacture DomainEndpointOptions
.
Trait Implementations§
source§impl Clone for DomainEndpointOptions
impl Clone for DomainEndpointOptions
source§fn clone(&self) -> DomainEndpointOptions
fn clone(&self) -> DomainEndpointOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainEndpointOptions
impl Debug for DomainEndpointOptions
source§impl PartialEq for DomainEndpointOptions
impl PartialEq for DomainEndpointOptions
source§fn eq(&self, other: &DomainEndpointOptions) -> bool
fn eq(&self, other: &DomainEndpointOptions) -> bool
self
and other
values to be equal, and is used
by ==
.