Struct aws_sdk_apprunner::types::NetworkConfiguration
source · #[non_exhaustive]pub struct NetworkConfiguration {
pub egress_configuration: Option<EgressConfiguration>,
pub ingress_configuration: Option<IngressConfiguration>,
pub ip_address_type: Option<IpAddressType>,
}
Expand description
Describes configuration settings related to network traffic of an App Runner service. Consists of embedded objects for each configurable network feature.
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_configuration: Option<EgressConfiguration>
Network configuration settings for outbound message traffic.
ingress_configuration: Option<IngressConfiguration>
Network configuration settings for inbound message traffic.
ip_address_type: Option<IpAddressType>
App Runner provides you with the option to choose between Internet Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify an IpAddressType
, it defaults to select IPv4.
Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
Implementations§
source§impl NetworkConfiguration
impl NetworkConfiguration
sourcepub fn egress_configuration(&self) -> Option<&EgressConfiguration>
pub fn egress_configuration(&self) -> Option<&EgressConfiguration>
Network configuration settings for outbound message traffic.
sourcepub fn ingress_configuration(&self) -> Option<&IngressConfiguration>
pub fn ingress_configuration(&self) -> Option<&IngressConfiguration>
Network configuration settings for inbound message traffic.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
App Runner provides you with the option to choose between Internet Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify an IpAddressType
, it defaults to select IPv4.
Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
source§impl NetworkConfiguration
impl NetworkConfiguration
sourcepub fn builder() -> NetworkConfigurationBuilder
pub fn builder() -> NetworkConfigurationBuilder
Creates a new builder-style object to manufacture NetworkConfiguration
.
Trait Implementations§
source§impl Clone for NetworkConfiguration
impl Clone for NetworkConfiguration
source§fn clone(&self) -> NetworkConfiguration
fn clone(&self) -> NetworkConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkConfiguration
impl Debug for NetworkConfiguration
source§impl PartialEq for NetworkConfiguration
impl PartialEq for NetworkConfiguration
impl StructuralPartialEq for NetworkConfiguration
Auto Trait Implementations§
impl Freeze for NetworkConfiguration
impl RefUnwindSafe for NetworkConfiguration
impl Send for NetworkConfiguration
impl Sync for NetworkConfiguration
impl Unpin for NetworkConfiguration
impl UnwindSafe for NetworkConfiguration
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