Struct aws_sdk_apprunner::types::EgressConfiguration
source · #[non_exhaustive]pub struct EgressConfiguration {
pub egress_type: Option<EgressType>,
pub vpc_connector_arn: Option<String>,
}Expand description
Describes configuration settings related to outbound network traffic of an App Runner service.
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.egress_type: Option<EgressType>The type of egress configuration.
Set to DEFAULT for access to resources hosted on public networks.
Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.
vpc_connector_arn: Option<String>The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC.
Implementations§
source§impl EgressConfiguration
impl EgressConfiguration
sourcepub fn egress_type(&self) -> Option<&EgressType>
pub fn egress_type(&self) -> Option<&EgressType>
The type of egress configuration.
Set to DEFAULT for access to resources hosted on public networks.
Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.
sourcepub fn vpc_connector_arn(&self) -> Option<&str>
pub fn vpc_connector_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC.
source§impl EgressConfiguration
impl EgressConfiguration
sourcepub fn builder() -> EgressConfigurationBuilder
pub fn builder() -> EgressConfigurationBuilder
Creates a new builder-style object to manufacture EgressConfiguration.
Trait Implementations§
source§impl Clone for EgressConfiguration
impl Clone for EgressConfiguration
source§fn clone(&self) -> EgressConfiguration
fn clone(&self) -> EgressConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EgressConfiguration
impl Debug for EgressConfiguration
source§impl PartialEq for EgressConfiguration
impl PartialEq for EgressConfiguration
source§fn eq(&self, other: &EgressConfiguration) -> bool
fn eq(&self, other: &EgressConfiguration) -> bool
self and other values to be equal, and is used
by ==.