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
impl StructuralPartialEq for EgressConfiguration
Auto Trait Implementations§
impl Freeze for EgressConfiguration
impl RefUnwindSafe for EgressConfiguration
impl Send for EgressConfiguration
impl Sync for EgressConfiguration
impl Unpin for EgressConfiguration
impl UnwindSafe for EgressConfiguration
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