#[non_exhaustive]pub struct CreateVpcConnectionInput {
pub aws_account_id: Option<String>,
pub vpc_connection_id: Option<String>,
pub name: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
pub dns_resolvers: Option<Vec<String>>,
pub role_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.aws_account_id: Option<String>
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
vpc_connection_id: Option<String>
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
name: Option<String>
The display name for the VPC connection.
subnet_ids: Option<Vec<String>>
A list of subnet IDs for the VPC connection.
security_group_ids: Option<Vec<String>>
A list of security group IDs for the VPC connection.
dns_resolvers: Option<Vec<String>>
A list of IP addresses of DNS resolver endpoints for the VPC connection.
role_arn: Option<String>
The IAM role to associate with the VPC connection.
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
Implementations§
source§impl CreateVpcConnectionInput
impl CreateVpcConnectionInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
sourcepub fn vpc_connection_id(&self) -> Option<&str>
pub fn vpc_connection_id(&self) -> Option<&str>
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
A list of subnet IDs for the VPC connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
A list of security group IDs for the VPC connection.
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_ids.is_none()
.
sourcepub fn dns_resolvers(&self) -> &[String]
pub fn dns_resolvers(&self) -> &[String]
A list of IP addresses of DNS resolver endpoints for the VPC connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dns_resolvers.is_none()
.
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateVpcConnectionInput
impl CreateVpcConnectionInput
sourcepub fn builder() -> CreateVpcConnectionInputBuilder
pub fn builder() -> CreateVpcConnectionInputBuilder
Creates a new builder-style object to manufacture CreateVpcConnectionInput
.
Trait Implementations§
source§impl Clone for CreateVpcConnectionInput
impl Clone for CreateVpcConnectionInput
source§fn clone(&self) -> CreateVpcConnectionInput
fn clone(&self) -> CreateVpcConnectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVpcConnectionInput
impl Debug for CreateVpcConnectionInput
source§impl PartialEq for CreateVpcConnectionInput
impl PartialEq for CreateVpcConnectionInput
source§fn eq(&self, other: &CreateVpcConnectionInput) -> bool
fn eq(&self, other: &CreateVpcConnectionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVpcConnectionInput
Auto Trait Implementations§
impl Freeze for CreateVpcConnectionInput
impl RefUnwindSafe for CreateVpcConnectionInput
impl Send for CreateVpcConnectionInput
impl Sync for CreateVpcConnectionInput
impl Unpin for CreateVpcConnectionInput
impl UnwindSafe for CreateVpcConnectionInput
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