#[non_exhaustive]pub struct AwsOpenSearchServiceDomainClusterConfigDetails {
pub instance_count: i32,
pub warm_enabled: bool,
pub warm_count: i32,
pub dedicated_master_enabled: bool,
pub zone_awareness_config: Option<AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>,
pub dedicated_master_count: i32,
pub instance_type: Option<String>,
pub warm_type: Option<String>,
pub zone_awareness_enabled: bool,
pub dedicated_master_type: Option<String>,
}
Expand description
Details about the configuration of an OpenSearch cluster.
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.instance_count: i32
The number of data nodes to use in the OpenSearch domain.
warm_enabled: bool
Whether UltraWarm is enabled.
warm_count: i32
The number of UltraWarm instances.
dedicated_master_enabled: bool
Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
zone_awareness_config: Option<AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
dedicated_master_count: i32
The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
instance_type: Option<String>
The instance type for your data nodes.
warm_type: Option<String>
The type of UltraWarm instance.
zone_awareness_enabled: bool
Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
dedicated_master_type: Option<String>
The hardware configuration of the computer that hosts the dedicated master node.
If this attribute is specified, then DedicatedMasterEnabled
must be true
.
Implementations
sourceimpl AwsOpenSearchServiceDomainClusterConfigDetails
impl AwsOpenSearchServiceDomainClusterConfigDetails
sourcepub fn instance_count(&self) -> i32
pub fn instance_count(&self) -> i32
The number of data nodes to use in the OpenSearch domain.
sourcepub fn warm_enabled(&self) -> bool
pub fn warm_enabled(&self) -> bool
Whether UltraWarm is enabled.
sourcepub fn warm_count(&self) -> i32
pub fn warm_count(&self) -> i32
The number of UltraWarm instances.
sourcepub fn dedicated_master_enabled(&self) -> bool
pub fn dedicated_master_enabled(&self) -> bool
Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
sourcepub fn zone_awareness_config(
&self
) -> Option<&AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>
pub fn zone_awareness_config(
&self
) -> Option<&AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
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 instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type for your data nodes.
sourcepub fn zone_awareness_enabled(&self) -> bool
pub fn zone_awareness_enabled(&self) -> bool
Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
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.
If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourceimpl AwsOpenSearchServiceDomainClusterConfigDetails
impl AwsOpenSearchServiceDomainClusterConfigDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsOpenSearchServiceDomainClusterConfigDetails
Trait Implementations
sourceimpl Clone for AwsOpenSearchServiceDomainClusterConfigDetails
impl Clone for AwsOpenSearchServiceDomainClusterConfigDetails
sourcefn clone(&self) -> AwsOpenSearchServiceDomainClusterConfigDetails
fn clone(&self) -> AwsOpenSearchServiceDomainClusterConfigDetails
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<AwsOpenSearchServiceDomainClusterConfigDetails> for AwsOpenSearchServiceDomainClusterConfigDetails
impl PartialEq<AwsOpenSearchServiceDomainClusterConfigDetails> for AwsOpenSearchServiceDomainClusterConfigDetails
sourcefn eq(&self, other: &AwsOpenSearchServiceDomainClusterConfigDetails) -> bool
fn eq(&self, other: &AwsOpenSearchServiceDomainClusterConfigDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsOpenSearchServiceDomainClusterConfigDetails) -> bool
fn ne(&self, other: &AwsOpenSearchServiceDomainClusterConfigDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsOpenSearchServiceDomainClusterConfigDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsOpenSearchServiceDomainClusterConfigDetails
impl Send for AwsOpenSearchServiceDomainClusterConfigDetails
impl Sync for AwsOpenSearchServiceDomainClusterConfigDetails
impl Unpin for AwsOpenSearchServiceDomainClusterConfigDetails
impl UnwindSafe for AwsOpenSearchServiceDomainClusterConfigDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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