[][src]Struct rusoto_gamelift::GameServerGroup

pub struct GameServerGroup {
    pub auto_scaling_group_arn: Option<String>,
    pub balancing_strategy: Option<String>,
    pub creation_time: Option<f64>,
    pub game_server_group_arn: Option<String>,
    pub game_server_group_name: Option<String>,
    pub game_server_protection_policy: Option<String>,
    pub instance_definitions: Option<Vec<InstanceDefinition>>,
    pub last_updated_time: Option<f64>,
    pub role_arn: Option<String>,
    pub status: Option<String>,
    pub status_reason: Option<String>,
    pub suspended_actions: Option<Vec<String>>,
}

This data type is part of Amazon GameLift FleetIQ with game server groups, which is in preview release and is subject to change.

Properties describing a game server group resource. A game server group manages certain properties of a corresponding EC2 Auto Scaling group.

A game server group is created by a successful call to CreateGameServerGroup and deleted by calling DeleteGameServerGroup. Game server group activity can be temporarily suspended and resumed by calling SuspendGameServerGroup and ResumeGameServerGroup.

Fields

auto_scaling_group_arn: Option<String>

A generated unique ID for the EC2 Auto Scaling group with is associated with this game server group.

balancing_strategy: Option<String>

The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot instances can once again be used. Method options include:

  • SPOTONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.

  • SPOTPREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.

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").

game_server_group_arn: Option<String>

A generated unique ID for the game server group.

game_server_group_name: Option<String>

A developer-defined identifier for the game server group. The name is unique per Region per AWS account.

game_server_protection_policy: Option<String>

A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running may be terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running except in the event of a forced game server group deletion (see DeleteGameServerGroup). An exception to this is Spot Instances, which may be terminated by AWS regardless of protection status.

instance_definitions: Option<Vec<InstanceDefinition>>

The set of EC2 instance types that GameLift FleetIQ can use when rebalancing and autoscaling instances in the group.

last_updated_time: Option<f64>

A time stamp indicating when this game server group was last updated.

role_arn: Option<String>

The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups. The submitted role is validated to ensure that it contains the necessary permissions for game server groups.

status: Option<String>

The current status of the game server group. Possible statuses include:

  • NEW - GameLift FleetIQ has validated the CreateGameServerGroup() request.

  • ACTIVATING - GameLift FleetIQ is setting up a game server group, which includes creating an autoscaling group in your AWS account.

  • ACTIVE - The game server group has been successfully created.

  • DELETE_SCHEDULED - A request to delete the game server group has been received.

  • DELETING - GameLift FleetIQ has received a valid DeleteGameServerGroup() request and is processing it. GameLift FleetIQ must first complete and release hosts before it deletes the autoscaling group and the game server group.

  • DELETED - The game server group has been successfully deleted.

  • ERROR - The asynchronous processes of activating or deleting a game server group has failed, resulting in an error state.

status_reason: Option<String>

Additional information about the current game server group status. This information may provide additional insight on groups that in ERROR status.

suspended_actions: Option<Vec<String>>

A list of activities that are currently suspended for this game server group. If this property is empty, all activities are occurring.

Trait Implementations

impl Clone for GameServerGroup[src]

impl Debug for GameServerGroup[src]

impl Default for GameServerGroup[src]

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

impl PartialEq<GameServerGroup> for GameServerGroup[src]

impl StructuralPartialEq for GameServerGroup[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> Instrument for T[src]

impl<T> Instrument 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> 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.