#[non_exhaustive]pub struct VpcConfiguration {
pub vpc_id: String,
pub subnet_ids: Vec<String>,
pub security_group_ids: Vec<String>,
pub tls_certificate: Option<String>,
}
Expand description
The VPC configuration provisioned for the host.
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.vpc_id: String
The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
subnet_ids: Vec<String>
The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
security_group_ids: Vec<String>
The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
tls_certificate: Option<String>
The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
Implementations§
source§impl VpcConfiguration
impl VpcConfiguration
sourcepub fn vpc_id(&self) -> &str
pub fn vpc_id(&self) -> &str
The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
sourcepub fn tls_certificate(&self) -> Option<&str>
pub fn tls_certificate(&self) -> Option<&str>
The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
source§impl VpcConfiguration
impl VpcConfiguration
sourcepub fn builder() -> VpcConfigurationBuilder
pub fn builder() -> VpcConfigurationBuilder
Creates a new builder-style object to manufacture VpcConfiguration
.
Trait Implementations§
source§impl Clone for VpcConfiguration
impl Clone for VpcConfiguration
source§fn clone(&self) -> VpcConfiguration
fn clone(&self) -> VpcConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcConfiguration
impl Debug for VpcConfiguration
source§impl PartialEq for VpcConfiguration
impl PartialEq for VpcConfiguration
source§fn eq(&self, other: &VpcConfiguration) -> bool
fn eq(&self, other: &VpcConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.