Struct aws_sdk_securityhub::model::AwsElasticsearchDomainElasticsearchClusterConfigDetails
source · [−]#[non_exhaustive]pub struct AwsElasticsearchDomainElasticsearchClusterConfigDetails { /* private fields */ }
Expand description
details about the configuration of an OpenSearch cluster.
Implementations
sourceimpl AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl AwsElasticsearchDomainElasticsearchClusterConfigDetails
sourcepub fn dedicated_master_count(&self) -> i32
pub fn dedicated_master_count(&self) -> i32
The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourcepub fn dedicated_master_enabled(&self) -> bool
pub fn dedicated_master_enabled(&self) -> bool
Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.
sourcepub fn dedicated_master_type(&self) -> Option<&str>
pub fn dedicated_master_type(&self) -> Option<&str>
The hardware configuration of the computer that hosts the dedicated master node. For example, m3.medium.elasticsearch
. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourcepub fn instance_count(&self) -> i32
pub fn instance_count(&self) -> i32
The number of data nodes to use in the Elasticsearch domain.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type for your data nodes. For example, m3.medium.elasticsearch
.
sourcepub fn zone_awareness_config(
&self
) -> Option<&AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails>
pub fn zone_awareness_config(
&self
) -> Option<&AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails>
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
sourcepub fn zone_awareness_enabled(&self) -> bool
pub fn zone_awareness_enabled(&self) -> bool
Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
sourceimpl AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl AwsElasticsearchDomainElasticsearchClusterConfigDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsElasticsearchDomainElasticsearchClusterConfigDetails
.
Trait Implementations
sourceimpl Clone for AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl Clone for AwsElasticsearchDomainElasticsearchClusterConfigDetails
sourcefn clone(&self) -> AwsElasticsearchDomainElasticsearchClusterConfigDetails
fn clone(&self) -> AwsElasticsearchDomainElasticsearchClusterConfigDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<AwsElasticsearchDomainElasticsearchClusterConfigDetails> for AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl PartialEq<AwsElasticsearchDomainElasticsearchClusterConfigDetails> for AwsElasticsearchDomainElasticsearchClusterConfigDetails
sourcefn eq(
&self,
other: &AwsElasticsearchDomainElasticsearchClusterConfigDetails
) -> bool
fn eq(
&self,
other: &AwsElasticsearchDomainElasticsearchClusterConfigDetails
) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(
&self,
other: &AwsElasticsearchDomainElasticsearchClusterConfigDetails
) -> bool
fn ne(
&self,
other: &AwsElasticsearchDomainElasticsearchClusterConfigDetails
) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsElasticsearchDomainElasticsearchClusterConfigDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl Send for AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl Sync for AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl Unpin for AwsElasticsearchDomainElasticsearchClusterConfigDetails
impl UnwindSafe for AwsElasticsearchDomainElasticsearchClusterConfigDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more