UpdateContainerFleetInput
¶
Source code in docs_src/capo_gamelift/types/update_container_fleet_input.py
deployment_configuration
instance-attribute
¶
deployment_configuration: NotRequired[DeploymentConfiguration]
Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.
description
instance-attribute
¶
description: NotRequired[NonZeroAndMaxString]
A meaningful description of the container fleet.
fleet_id
instance-attribute
¶
fleet_id: NotRequired[FleetIdOrArn]
A unique identifier for the container fleet to update. You can use either the fleet ID or ARN value.
game_server_container_group_definition_name
instance-attribute
¶
game_server_container_group_definition_name: NotRequired[
ContainerGroupDefinitionNameOrArn
]
The name or ARN value of a new game server container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value. You can't remove a fleet's game server container group definition, you can only update or replace it with another definition.
Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.
game_server_container_groups_per_instance
instance-attribute
¶
game_server_container_groups_per_instance: NotRequired[
GameServerContainerGroupsPerInstance
]
The number of times to replicate the game server container group on each fleet instance. By default, Amazon GameLift Servers calculates the maximum number of game server container groups that can fit on each instance. You can remove this property value to use the calculated value, or set it manually. If you set this number manually, Amazon GameLift Servers uses your value as long as it's less than the calculated maximum.
game_session_creation_limit_policy
instance-attribute
¶
game_session_creation_limit_policy: NotRequired[GameSessionCreationLimitPolicy]
A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.
instance_connection_port_range
instance-attribute
¶
instance_connection_port_range: NotRequired[ConnectionPortRange]
A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.
The port range must not overlap with the Amazon GameLift Servers reserved port range 4092-4191. This range is reserved for internal Amazon GameLift Servers services.
instance_inbound_permission_authorizations
instance-attribute
¶
instance_inbound_permission_authorizations: NotRequired[IpPermissionsList]
A set of ports to add to the container fleet's inbound permissions.
The port range must not overlap with the Amazon GameLift Servers reserved port range 4092-4191. This range is reserved for internal Amazon GameLift Servers services.
instance_inbound_permission_revocations
instance-attribute
¶
instance_inbound_permission_revocations: NotRequired[IpPermissionsList]
A set of ports to remove from the container fleet's inbound permissions.
log_configuration
instance-attribute
¶
log_configuration: NotRequired[LogConfiguration]
The method for collecting container logs for the fleet.
metric_groups
instance-attribute
¶
metric_groups: NotRequired[MetricGroupList]
The name of an Amazon Web Services CloudWatch metric group to add this fleet to.
new_game_session_protection_policy
instance-attribute
¶
new_game_session_protection_policy: NotRequired[ProtectionPolicy]
The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.
per_instance_container_group_definition_name
instance-attribute
¶
per_instance_container_group_definition_name: NotRequired[
ContainerGroupDefinitionNameOrArn
]
The name or ARN value of a new per-instance container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value.
Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.
To remove a fleet's per-instance container group definition, leave this parameter empty and use the parameter RemoveAttributes.
remove_attributes
instance-attribute
¶
remove_attributes: NotRequired[ContainerFleetRemoveAttributeList]
If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.