Struct aws_sdk_opensearch::types::DomainEndpointOptions  
source · #[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 a custom endpoint for an OpenSearch Service 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>True to require that all traffic to the domain arrive over HTTPS.
tls_security_policy: Option<TlsSecurityPolicy>Specify the TLS security policy to apply to the HTTPS endpoint of the domain. The policy 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>Whether to enable a custom endpoint for the domain.
custom_endpoint: Option<String>The fully qualified URL for the custom endpoint.
custom_endpoint_certificate_arn: Option<String>The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
Implementations§
source§impl DomainEndpointOptions
 
impl DomainEndpointOptions
sourcepub fn enforce_https(&self) -> Option<bool>
 
pub fn enforce_https(&self) -> Option<bool>
True to require that all traffic to the domain arrive over HTTPS.
sourcepub fn tls_security_policy(&self) -> Option<&TlsSecurityPolicy>
 
pub fn tls_security_policy(&self) -> Option<&TlsSecurityPolicy>
Specify the TLS security policy to apply to the HTTPS endpoint of the domain. The policy 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>
Whether to enable a custom endpoint for the domain.
sourcepub fn custom_endpoint(&self) -> Option<&str>
 
pub fn custom_endpoint(&self) -> Option<&str>
The fully qualified URL for the custom endpoint.
sourcepub fn custom_endpoint_certificate_arn(&self) -> Option<&str>
 
pub fn custom_endpoint_certificate_arn(&self) -> Option<&str>
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
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 ==.