Struct aws_sdk_gamelift::types::ContainerAttributes
source · #[non_exhaustive]pub struct ContainerAttributes {
pub container_port_mappings: Option<Vec<ContainerPortMapping>>,
}
Expand description
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
Describes attributes of containers that are deployed to a fleet with compute type CONTAINER
.
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.container_port_mappings: Option<Vec<ContainerPortMapping>>
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. A ContainerPortMapping
directs the traffic from a connection port to a port on the container that hosts the game session.
Implementations§
source§impl ContainerAttributes
impl ContainerAttributes
sourcepub fn container_port_mappings(&self) -> &[ContainerPortMapping]
pub fn container_port_mappings(&self) -> &[ContainerPortMapping]
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game via a connection port. A ContainerPortMapping
directs the traffic from a connection port to a port on the container that hosts the game session.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .container_port_mappings.is_none()
.
source§impl ContainerAttributes
impl ContainerAttributes
sourcepub fn builder() -> ContainerAttributesBuilder
pub fn builder() -> ContainerAttributesBuilder
Creates a new builder-style object to manufacture ContainerAttributes
.
Trait Implementations§
source§impl Clone for ContainerAttributes
impl Clone for ContainerAttributes
source§fn clone(&self) -> ContainerAttributes
fn clone(&self) -> ContainerAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContainerAttributes
impl Debug for ContainerAttributes
source§impl PartialEq for ContainerAttributes
impl PartialEq for ContainerAttributes
source§fn eq(&self, other: &ContainerAttributes) -> bool
fn eq(&self, other: &ContainerAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerAttributes
Auto Trait Implementations§
impl Freeze for ContainerAttributes
impl RefUnwindSafe for ContainerAttributes
impl Send for ContainerAttributes
impl Sync for ContainerAttributes
impl Unpin for ContainerAttributes
impl UnwindSafe for ContainerAttributes
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> 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