#[non_exhaustive]pub struct AwsOpenSearchServiceDomainClusterConfigDetails { /* private fields */ }
Expand description
Details about the configuration of an OpenSearch cluster.
Implementations§
source§impl 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.
For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
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
.
source§impl AwsOpenSearchServiceDomainClusterConfigDetails
impl AwsOpenSearchServiceDomainClusterConfigDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsOpenSearchServiceDomainClusterConfigDetails
.
Trait Implementations§
source§impl Clone for AwsOpenSearchServiceDomainClusterConfigDetails
impl Clone for AwsOpenSearchServiceDomainClusterConfigDetails
source§fn clone(&self) -> AwsOpenSearchServiceDomainClusterConfigDetails
fn clone(&self) -> AwsOpenSearchServiceDomainClusterConfigDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AwsOpenSearchServiceDomainClusterConfigDetails> for AwsOpenSearchServiceDomainClusterConfigDetails
impl PartialEq<AwsOpenSearchServiceDomainClusterConfigDetails> for AwsOpenSearchServiceDomainClusterConfigDetails
source§fn eq(&self, other: &AwsOpenSearchServiceDomainClusterConfigDetails) -> bool
fn eq(&self, other: &AwsOpenSearchServiceDomainClusterConfigDetails) -> bool
self
and other
values to be equal, and is used
by ==
.