[][src]Struct rusoto_gamelift::FleetAttributes

pub struct FleetAttributes {
    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>,
}

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 a build.

certificate_configuration: Option<CertificateConfiguration>

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

creation_time: Option<f64>

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>

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. In a GameLift fleet ARN, the resource ID matches the FleetId value.

fleet_id: Option<String>

A unique identifier for a fleet.

fleet_type: Option<String>

Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.

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 from 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>

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

log_paths: Option<Vec<String>>

Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift automatically uploads logs that are stored on each instance at C:\game\logs (for Windows) or /local/game/logs (for Linux). Use the Amazon GameLift console to access stored logs.

metric_groups: Option<Vec<String>>

Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet 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 for all new instances 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>

Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.

resource_creation_limit_policy: Option<ResourceCreationLimitPolicy>

Fleet policy to limit 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 a Realtime script.

server_launch_parameters: Option<String>

Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration.

server_launch_path: Option<String>

Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration.

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 -- Amazon 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>>

List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.

termination_time: Option<f64>

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

impl Clone for FleetAttributes[src]

impl Debug for FleetAttributes[src]

impl Default for FleetAttributes[src]

impl<'de> Deserialize<'de> for FleetAttributes[src]

impl PartialEq<FleetAttributes> for FleetAttributes[src]

impl StructuralPartialEq for FleetAttributes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.