Struct aws_sdk_opensearch::types::InstanceTypeDetails
source · #[non_exhaustive]pub struct InstanceTypeDetails {
pub instance_type: Option<OpenSearchPartitionInstanceType>,
pub encryption_enabled: Option<bool>,
pub cognito_enabled: Option<bool>,
pub app_logs_enabled: Option<bool>,
pub advanced_security_enabled: Option<bool>,
pub warm_enabled: Option<bool>,
pub instance_role: Option<Vec<String>>,
pub availability_zones: Option<Vec<String>>,
}
Expand description
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
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_type: Option<OpenSearchPartitionInstanceType>
The instance type.
encryption_enabled: Option<bool>
Whether encryption at rest and node-to-node encryption are supported for the instance type.
cognito_enabled: Option<bool>
Whether Amazon Cognito access is supported for the instance type.
app_logs_enabled: Option<bool>
Whether logging is supported for the instance type.
advanced_security_enabled: Option<bool>
Whether fine-grained access control is supported for the instance type.
warm_enabled: Option<bool>
Whether UltraWarm is supported for the instance type.
instance_role: Option<Vec<String>>
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
availability_zones: Option<Vec<String>>
The supported Availability Zones for the instance type.
Implementations§
source§impl InstanceTypeDetails
impl InstanceTypeDetails
sourcepub fn instance_type(&self) -> Option<&OpenSearchPartitionInstanceType>
pub fn instance_type(&self) -> Option<&OpenSearchPartitionInstanceType>
The instance type.
sourcepub fn encryption_enabled(&self) -> Option<bool>
pub fn encryption_enabled(&self) -> Option<bool>
Whether encryption at rest and node-to-node encryption are supported for the instance type.
sourcepub fn cognito_enabled(&self) -> Option<bool>
pub fn cognito_enabled(&self) -> Option<bool>
Whether Amazon Cognito access is supported for the instance type.
sourcepub fn app_logs_enabled(&self) -> Option<bool>
pub fn app_logs_enabled(&self) -> Option<bool>
Whether logging is supported for the instance type.
sourcepub fn advanced_security_enabled(&self) -> Option<bool>
pub fn advanced_security_enabled(&self) -> Option<bool>
Whether fine-grained access control is supported for the instance type.
sourcepub fn warm_enabled(&self) -> Option<bool>
pub fn warm_enabled(&self) -> Option<bool>
Whether UltraWarm is supported for the instance type.
sourcepub fn instance_role(&self) -> &[String]
pub fn instance_role(&self) -> &[String]
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_role.is_none()
.
sourcepub fn availability_zones(&self) -> &[String]
pub fn availability_zones(&self) -> &[String]
The supported Availability Zones for the instance type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none()
.
source§impl InstanceTypeDetails
impl InstanceTypeDetails
sourcepub fn builder() -> InstanceTypeDetailsBuilder
pub fn builder() -> InstanceTypeDetailsBuilder
Creates a new builder-style object to manufacture InstanceTypeDetails
.
Trait Implementations§
source§impl Clone for InstanceTypeDetails
impl Clone for InstanceTypeDetails
source§fn clone(&self) -> InstanceTypeDetails
fn clone(&self) -> InstanceTypeDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceTypeDetails
impl Debug for InstanceTypeDetails
source§impl PartialEq for InstanceTypeDetails
impl PartialEq for InstanceTypeDetails
source§fn eq(&self, other: &InstanceTypeDetails) -> bool
fn eq(&self, other: &InstanceTypeDetails) -> bool
self
and other
values to be equal, and is used
by ==
.