#[non_exhaustive]pub struct CreateVpcConnectorInput {
pub vpc_connector_name: Option<String>,
pub subnets: Option<Vec<String>>,
pub security_groups: Option<Vec<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.vpc_connector_name: Option<String>
A name for the VPC connector.
subnets: Option<Vec<String>>
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
security_groups: Option<Vec<String>>
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
Implementations§
source§impl CreateVpcConnectorInput
impl CreateVpcConnectorInput
sourcepub fn vpc_connector_name(&self) -> Option<&str>
pub fn vpc_connector_name(&self) -> Option<&str>
A name for the VPC connector.
sourcepub fn subnets(&self) -> &[String]
pub fn subnets(&self) -> &[String]
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
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_groups(&self) -> &[String]
pub fn security_groups(&self) -> &[String]
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
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_groups.is_none()
.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
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 CreateVpcConnectorInput
impl CreateVpcConnectorInput
sourcepub fn builder() -> CreateVpcConnectorInputBuilder
pub fn builder() -> CreateVpcConnectorInputBuilder
Creates a new builder-style object to manufacture CreateVpcConnectorInput
.
Trait Implementations§
source§impl Clone for CreateVpcConnectorInput
impl Clone for CreateVpcConnectorInput
source§fn clone(&self) -> CreateVpcConnectorInput
fn clone(&self) -> CreateVpcConnectorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVpcConnectorInput
impl Debug for CreateVpcConnectorInput
source§impl PartialEq for CreateVpcConnectorInput
impl PartialEq for CreateVpcConnectorInput
source§fn eq(&self, other: &CreateVpcConnectorInput) -> bool
fn eq(&self, other: &CreateVpcConnectorInput) -> bool
self
and other
values to be equal, and is used
by ==
.