#[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 that supports TLS version 1.0 to TLS version 1.2
- Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
- Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
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 that supports TLS version 1.0 to TLS version 1.2
- Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
- Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
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
impl StructuralPartialEq for DomainEndpointOptions
Auto Trait Implementations§
impl Freeze for DomainEndpointOptions
impl RefUnwindSafe for DomainEndpointOptions
impl Send for DomainEndpointOptions
impl Sync for DomainEndpointOptions
impl Unpin for DomainEndpointOptions
impl UnwindSafe for DomainEndpointOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more