Struct aws_sdk_gamelift::types::ContainerGroupsAttributes
source · #[non_exhaustive]pub struct ContainerGroupsAttributes {
pub container_group_definition_properties: Option<Vec<ContainerGroupDefinitionProperty>>,
pub connection_port_range: Option<ConnectionPortRange>,
pub container_groups_per_instance: Option<ContainerGroupsPerInstance>,
}
Expand description
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
The properties of container groups that are running on a container fleet. Container group properties for a fleet can't be changed.
Returned by: DescribeFleetAttributes
, CreateFleet
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_group_definition_properties: Option<Vec<ContainerGroupDefinitionProperty>>
A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition
resources, which is where these properties are set.
connection_port_range: Option<ConnectionPortRange>
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon GameLift maps each connection port to a container port, which is assigned to a specific container process. A fleet's connection port range can't be changed, but you can control access to connection ports by updating a fleet's EC2InboundPermissions
with UpdateFleetPortSettings
.
container_groups_per_instance: Option<ContainerGroupsPerInstance>
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
Implementations§
source§impl ContainerGroupsAttributes
impl ContainerGroupsAttributes
sourcepub fn container_group_definition_properties(
&self
) -> &[ContainerGroupDefinitionProperty]
pub fn container_group_definition_properties( &self ) -> &[ContainerGroupDefinitionProperty]
A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition
resources, which is where these properties are set.
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_group_definition_properties.is_none()
.
sourcepub fn connection_port_range(&self) -> Option<&ConnectionPortRange>
pub fn connection_port_range(&self) -> Option<&ConnectionPortRange>
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon GameLift maps each connection port to a container port, which is assigned to a specific container process. A fleet's connection port range can't be changed, but you can control access to connection ports by updating a fleet's EC2InboundPermissions
with UpdateFleetPortSettings
.
sourcepub fn container_groups_per_instance(
&self
) -> Option<&ContainerGroupsPerInstance>
pub fn container_groups_per_instance( &self ) -> Option<&ContainerGroupsPerInstance>
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
source§impl ContainerGroupsAttributes
impl ContainerGroupsAttributes
sourcepub fn builder() -> ContainerGroupsAttributesBuilder
pub fn builder() -> ContainerGroupsAttributesBuilder
Creates a new builder-style object to manufacture ContainerGroupsAttributes
.
Trait Implementations§
source§impl Clone for ContainerGroupsAttributes
impl Clone for ContainerGroupsAttributes
source§fn clone(&self) -> ContainerGroupsAttributes
fn clone(&self) -> ContainerGroupsAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContainerGroupsAttributes
impl Debug for ContainerGroupsAttributes
source§impl PartialEq for ContainerGroupsAttributes
impl PartialEq for ContainerGroupsAttributes
source§fn eq(&self, other: &ContainerGroupsAttributes) -> bool
fn eq(&self, other: &ContainerGroupsAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerGroupsAttributes
Auto Trait Implementations§
impl Freeze for ContainerGroupsAttributes
impl RefUnwindSafe for ContainerGroupsAttributes
impl Send for ContainerGroupsAttributes
impl Sync for ContainerGroupsAttributes
impl Unpin for ContainerGroupsAttributes
impl UnwindSafe for ContainerGroupsAttributes
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