#[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 ==
.impl StructuralPartialEq for VpcConfiguration
Auto Trait Implementations§
impl Freeze for VpcConfiguration
impl RefUnwindSafe for VpcConfiguration
impl Send for VpcConfiguration
impl Sync for VpcConfiguration
impl Unpin for VpcConfiguration
impl UnwindSafe for VpcConfiguration
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