Struct aws_sdk_apprunner::model::VpcConnector
source · #[non_exhaustive]pub struct VpcConnector { /* private fields */ }
Expand description
Describes an App Runner VPC connector resource. A VPC connector describes the Amazon Virtual Private Cloud (Amazon VPC) that an App Runner service is associated with, and the subnets and security group that are used.
Multiple revisions of a connector might have the same Name
and different Revision
values.
At this time, App Runner supports only one revision per name.
Implementations§
source§impl VpcConnector
impl VpcConnector
sourcepub fn vpc_connector_name(&self) -> Option<&str>
pub fn vpc_connector_name(&self) -> Option<&str>
The customer-provided VPC connector name.
sourcepub fn vpc_connector_arn(&self) -> Option<&str>
pub fn vpc_connector_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of this VPC connector.
sourcepub fn vpc_connector_revision(&self) -> i32
pub fn vpc_connector_revision(&self) -> i32
The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE"
) that share the same Name
.
At this time, App Runner supports only one revision per name.
sourcepub fn subnets(&self) -> Option<&[String]>
pub fn subnets(&self) -> Option<&[String]>
A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.
sourcepub fn security_groups(&self) -> Option<&[String]>
pub fn security_groups(&self) -> Option<&[String]>
A list of IDs of security groups that App Runner uses 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.
sourcepub fn status(&self) -> Option<&VpcConnectorStatus>
pub fn status(&self) -> Option<&VpcConnectorStatus>
The current state of the VPC connector. If the status of a connector revision is INACTIVE
, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the VPC connector was created. It's in Unix time stamp format.
sourcepub fn deleted_at(&self) -> Option<&DateTime>
pub fn deleted_at(&self) -> Option<&DateTime>
The time when the VPC connector was deleted. It's in Unix time stamp format.
source§impl VpcConnector
impl VpcConnector
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpcConnector
.
Trait Implementations§
source§impl Clone for VpcConnector
impl Clone for VpcConnector
source§fn clone(&self) -> VpcConnector
fn clone(&self) -> VpcConnector
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcConnector
impl Debug for VpcConnector
source§impl PartialEq<VpcConnector> for VpcConnector
impl PartialEq<VpcConnector> for VpcConnector
source§fn eq(&self, other: &VpcConnector) -> bool
fn eq(&self, other: &VpcConnector) -> bool
self
and other
values to be equal, and is used
by ==
.