logo
pub struct FleetAttributes {
Show 23 fields pub build_arn: Option<String>, pub build_id: Option<String>, pub certificate_configuration: Option<CertificateConfiguration>, pub creation_time: Option<f64>, pub description: Option<String>, pub fleet_arn: Option<String>, pub fleet_id: Option<String>, pub fleet_type: Option<String>, pub instance_role_arn: Option<String>, pub instance_type: Option<String>, pub log_paths: Option<Vec<String>>, pub metric_groups: Option<Vec<String>>, pub name: Option<String>, pub new_game_session_protection_policy: Option<String>, pub operating_system: Option<String>, pub resource_creation_limit_policy: Option<ResourceCreationLimitPolicy>, pub script_arn: Option<String>, pub script_id: Option<String>, pub server_launch_parameters: Option<String>, pub server_launch_path: Option<String>, pub status: Option<String>, pub stopped_actions: Option<Vec<String>>, pub termination_time: Option<f64>,
}
Expand description

Describes a GameLift fleet of game hosting resources.

Related actions

CreateFleet | DescribeFleetAttributes

Fields

build_arn: Option<String>

The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.

build_id: Option<String>

A unique identifier for the build resource that is deployed on instances in this fleet.

certificate_configuration: Option<CertificateConfiguration>

Indicates whether a TLS/SSL certificate was generated for the fleet.

creation_time: Option<f64>

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

description: Option<String>

A human-readable description of the fleet.

fleet_arn: Option<String>

The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift fleet ARN, the resource ID matches the FleetId value.

fleet_id: Option<String>

A unique identifier for the fleet.

fleet_type: Option<String>

The kind of instances, On-Demand or Spot, that this fleet uses.

instance_role_arn: Option<String>

A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN by using the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server.

instance_type: Option<String>

The EC2 instance type that determines the computing resources of each instance in the fleet. Instance type defines the CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.

log_paths: Option<Vec<String>>

This parameter is no longer used. Game session log paths are now defined using the GameLift server API ProcessReady() logParameters. See more information in the Server API Reference.

metric_groups: Option<Vec<String>>

Name of a metric group that metrics for this fleet are added to. In Amazon CloudWatch, you can view aggregated metrics for fleets that are in a metric group. A fleet can be included in only one metric group at a time.

name: Option<String>

A descriptive label that is associated with a fleet. Fleet names do not need to be unique.

new_game_session_protection_policy: Option<String>

The type of game session protection to set on all new instances that are started in the fleet.

  • NoProtection -- The game session can be terminated during a scale-down event.

  • FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

operating_system: Option<String>

The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet.

resource_creation_limit_policy: Option<ResourceCreationLimitPolicy>

The fleet policy that limits the number of game sessions an individual player can create over a span of time.

script_arn: Option<String>

The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.

script_id: Option<String>

A unique identifier for the Realtime script resource that is deployed on instances in this fleet.

server_launch_parameters: Option<String>

This parameter is no longer used. Server launch parameters are now defined using the fleet's RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.

server_launch_path: Option<String>

This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.

status: Option<String>

Current status of the fleet. Possible fleet statuses include the following:

  • NEW -- A new fleet has been defined and desired instances is set to 1.

  • DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.

  • ACTIVE -- Hosts can now accept game sessions.

  • ERROR -- An error occurred when downloading, validating, building, or activating the fleet.

  • DELETING -- Hosts are responding to a delete fleet request.

  • TERMINATED -- The fleet no longer exists.

stopped_actions: Option<Vec<String>>

A list of fleet activity that has been suspended using StopFleetActions. This includes fleet auto-scaling.

termination_time: Option<f64>

A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more