ContainerFleet
¶
Source code in docs_src/capo_gamelift/types/container_fleet.py
billing_type
instance-attribute
¶
billing_type: NotRequired[ContainerFleetBillingType]
Indicates whether the fleet uses On-Demand or Spot instances for this fleet. Learn more about when to use On-Demand versus Spot Instances. You can't update this fleet property.
By default, this property is set to ON_DEMAND.
creation_time
instance-attribute
¶
creation_time: NotRequired[Timestamp]
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
deployment_details
instance-attribute
¶
deployment_details: NotRequired[DeploymentDetails]
Information about the most recent deployment for the container fleet.
description
instance-attribute
¶
description: NotRequired[NonZeroAndMaxString]
A meaningful description of the container fleet.
fleet_arn
instance-attribute
¶
fleet_arn: NotRequired[FleetArn]
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:. In a GameLift fleet ARN, the resource ID matches the FleetId value.
fleet_id
instance-attribute
¶
fleet_id: NotRequired[FleetId]
A unique identifier for the container fleet to retrieve.
fleet_role_arn
instance-attribute
¶
fleet_role_arn: NotRequired[IamRoleArn]
The unique identifier for an Identity and Access Management (IAM) role with permissions to run your containers on resources that are managed by Amazon GameLift Servers. See Set up an IAM service role. This fleet property can't be changed.
game_server_container_group_definition_arn
instance-attribute
¶
game_server_container_group_definition_arn: NotRequired[ContainerGroupDefinitionArn]
The Amazon Resource Name (ARN) that is assigned to the fleet's game server container group. The ARN value also identifies the specific container group definition version in use.
game_server_container_group_definition_name
instance-attribute
¶
game_server_container_group_definition_name: NotRequired[ContainerGroupDefinitionName]
The name of the fleet's game server container group definition, which describes how to deploy containers with your game server build and support software onto each fleet instance.
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.
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]
instance_inbound_permissions
instance-attribute
¶
instance_inbound_permissions: NotRequired[IpPermissionsList]
The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet.
instance_type
instance-attribute
¶
instance_type: NotRequired[NonZeroAndMaxString]
The Amazon EC2 instance type to use for all instances in the fleet. Instance type determines the computing resources and processing power that's available to host your game servers. This includes CPU, memory, storage, and networking capacity. You can't update this fleet property.
location_attributes
instance-attribute
¶
location_attributes: NotRequired[ContainerFleetLocationAttributesList]
Information about the container fleet's remote locations where fleet instances are deployed.
log_configuration
instance-attribute
¶
log_configuration: NotRequired[LogConfiguration]
The method that is used to collect container logs for the fleet. Amazon GameLift Servers saves all standard output for each container in logs, including game session logs.
-
CLOUDWATCH-- Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group. -
S3-- Store logs in an Amazon S3 bucket that you define. -
NONE-- Don't collect container logs.
maximum_game_server_container_groups_per_instance
instance-attribute
¶
maximum_game_server_container_groups_per_instance: NotRequired[
MaximumGameServerContainerGroupsPerInstance
]
The calculated maximum number of game server container groups that can be deployed on each fleet instance. The calculation depends on the resource needs of the container group and the CPU and memory resources of the fleet's instance type.
metric_groups
instance-attribute
¶
metric_groups: NotRequired[MetricGroupList]
The name of an Amazon Web Services CloudWatch metric group to add this fleet to. Metric groups aggregate metrics for multiple fleets.
new_game_session_protection_policy
instance-attribute
¶
new_game_session_protection_policy: NotRequired[ProtectionPolicy]
Determines whether Amazon GameLift Servers can shut down game sessions on the fleet that are actively running and hosting players. Amazon GameLift Servers might prompt an instance shutdown when scaling down fleet capacity or when retiring unhealthy instances. You can also set game session protection for individual game sessions using UpdateGameSession.
-
NoProtection -- Game sessions can be shut down during active gameplay.
-
FullProtection -- Game sessions in
ACTIVEstatus can't be shut down.
per_instance_container_group_definition_arn
instance-attribute
¶
per_instance_container_group_definition_arn: NotRequired[ContainerGroupDefinitionArn]
The Amazon Resource Name (ARN) that is assigned to the fleet's per-instance container group. The ARN value also identifies the specific container group definition version in use.
per_instance_container_group_definition_name
instance-attribute
¶
per_instance_container_group_definition_name: NotRequired[ContainerGroupDefinitionName]
The name of the fleet's per-instance container group definition.
player_gateway_mode
instance-attribute
¶
player_gateway_mode: NotRequired[PlayerGatewayMode]
Indicates whether player gateway is enabled for this container fleet. Player gateway provides benefits such as DDoS protection with negligible impact to latency.
If ENABLED or REQUIRED, game clients can use player gateway to connect with the game server. If DISABLED, game clients cannot use player gateway. Instead, they have to directly connect to the game server.
status
instance-attribute
¶
status: NotRequired[ContainerFleetStatus]
The current status of the container fleet.
-
PENDING-- A new container fleet has been requested. -
CREATING-- A new container fleet resource is being created. -
CREATED-- A new container fleet resource has been created. No fleet instances have been deployed. -
ACTIVATING-- New container fleet instances are being deployed. -
ACTIVE-- The container fleet has been deployed and is ready to host game sessions. -
UPDATING-- The container fleet is being updated. A deployment is in progress. -
EXPIRED-- The container fleet has been expired. The fleet is scaled down to zero instances and cannot host new game sessions.