#[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
impl StructuralPartialEq for CreateVpcConnectorInput
Auto Trait Implementations§
impl Freeze for CreateVpcConnectorInput
impl RefUnwindSafe for CreateVpcConnectorInput
impl Send for CreateVpcConnectorInput
impl Sync for CreateVpcConnectorInput
impl Unpin for CreateVpcConnectorInput
impl UnwindSafe for CreateVpcConnectorInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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