Struct aws_sdk_apprunner::model::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
sourceimpl 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
.
sourceimpl EgressConfiguration
impl EgressConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EgressConfiguration
Trait Implementations
sourceimpl Clone for EgressConfiguration
impl Clone for EgressConfiguration
sourcefn clone(&self) -> EgressConfiguration
fn clone(&self) -> EgressConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EgressConfiguration
impl Debug for EgressConfiguration
sourceimpl PartialEq<EgressConfiguration> for EgressConfiguration
impl PartialEq<EgressConfiguration> for EgressConfiguration
sourcefn eq(&self, other: &EgressConfiguration) -> bool
fn eq(&self, other: &EgressConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EgressConfiguration) -> bool
fn ne(&self, other: &EgressConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for EgressConfiguration
Auto Trait Implementations
impl RefUnwindSafe for EgressConfiguration
impl Send for EgressConfiguration
impl Sync for EgressConfiguration
impl Unpin for EgressConfiguration
impl UnwindSafe for EgressConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more