Struct aws_sdk_kafka::types::BrokerNodeGroupInfo
source · #[non_exhaustive]pub struct BrokerNodeGroupInfo {
pub broker_az_distribution: Option<BrokerAzDistribution>,
pub client_subnets: Option<Vec<String>>,
pub instance_type: Option<String>,
pub security_groups: Option<Vec<String>>,
pub storage_info: Option<StorageInfo>,
pub connectivity_info: Option<ConnectivityInfo>,
pub zone_ids: Option<Vec<String>>,
}
Expand description
Describes the setup to be used for Apache Kafka broker nodes in the 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.broker_az_distribution: Option<BrokerAzDistribution>
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
client_subnets: Option<Vec<String>>
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.
instance_type: Option<String>
The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
security_groups: Option<Vec<String>>
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
storage_info: Option<StorageInfo>
Contains information about storage volumes attached to MSK broker nodes.
connectivity_info: Option<ConnectivityInfo>
Information about the broker access configuration.
zone_ids: Option<Vec<String>>
The list of zoneIds for the cluster in the virtual private cloud (VPC).
Implementations§
source§impl BrokerNodeGroupInfo
impl BrokerNodeGroupInfo
sourcepub fn broker_az_distribution(&self) -> Option<&BrokerAzDistribution>
pub fn broker_az_distribution(&self) -> Option<&BrokerAzDistribution>
The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.
Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.
sourcepub fn client_subnets(&self) -> &[String]
pub fn client_subnets(&self) -> &[String]
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .client_subnets.is_none()
.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
sourcepub fn security_groups(&self) -> &[String]
pub fn security_groups(&self) -> &[String]
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_groups.is_none()
.
sourcepub fn storage_info(&self) -> Option<&StorageInfo>
pub fn storage_info(&self) -> Option<&StorageInfo>
Contains information about storage volumes attached to MSK broker nodes.
sourcepub fn connectivity_info(&self) -> Option<&ConnectivityInfo>
pub fn connectivity_info(&self) -> Option<&ConnectivityInfo>
Information about the broker access configuration.
source§impl BrokerNodeGroupInfo
impl BrokerNodeGroupInfo
sourcepub fn builder() -> BrokerNodeGroupInfoBuilder
pub fn builder() -> BrokerNodeGroupInfoBuilder
Creates a new builder-style object to manufacture BrokerNodeGroupInfo
.
Trait Implementations§
source§impl Clone for BrokerNodeGroupInfo
impl Clone for BrokerNodeGroupInfo
source§fn clone(&self) -> BrokerNodeGroupInfo
fn clone(&self) -> BrokerNodeGroupInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BrokerNodeGroupInfo
impl Debug for BrokerNodeGroupInfo
source§impl PartialEq for BrokerNodeGroupInfo
impl PartialEq for BrokerNodeGroupInfo
source§fn eq(&self, other: &BrokerNodeGroupInfo) -> bool
fn eq(&self, other: &BrokerNodeGroupInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BrokerNodeGroupInfo
Auto Trait Implementations§
impl Freeze for BrokerNodeGroupInfo
impl RefUnwindSafe for BrokerNodeGroupInfo
impl Send for BrokerNodeGroupInfo
impl Sync for BrokerNodeGroupInfo
impl Unpin for BrokerNodeGroupInfo
impl UnwindSafe for BrokerNodeGroupInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more