#[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 ==.