#[non_exhaustive]pub struct SelfManagedKafkaAccessConfigurationVpc {
pub subnets: Option<Vec<String>>,
pub security_group: Option<Vec<String>>,
}
Expand description
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
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.subnets: Option<Vec<String>>
Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
security_group: Option<Vec<String>>
Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
Implementations§
source§impl SelfManagedKafkaAccessConfigurationVpc
impl SelfManagedKafkaAccessConfigurationVpc
sourcepub fn subnets(&self) -> &[String]
pub fn subnets(&self) -> &[String]
Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnets.is_none()
.
sourcepub fn security_group(&self) -> &[String]
pub fn security_group(&self) -> &[String]
Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
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_group.is_none()
.
source§impl SelfManagedKafkaAccessConfigurationVpc
impl SelfManagedKafkaAccessConfigurationVpc
sourcepub fn builder() -> SelfManagedKafkaAccessConfigurationVpcBuilder
pub fn builder() -> SelfManagedKafkaAccessConfigurationVpcBuilder
Creates a new builder-style object to manufacture SelfManagedKafkaAccessConfigurationVpc
.
Trait Implementations§
source§impl Clone for SelfManagedKafkaAccessConfigurationVpc
impl Clone for SelfManagedKafkaAccessConfigurationVpc
source§fn clone(&self) -> SelfManagedKafkaAccessConfigurationVpc
fn clone(&self) -> SelfManagedKafkaAccessConfigurationVpc
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SelfManagedKafkaAccessConfigurationVpc
impl PartialEq for SelfManagedKafkaAccessConfigurationVpc
source§fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpc) -> bool
fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpc) -> bool
self
and other
values to be equal, and is used
by ==
.