[][src]Struct rusoto_gamelift::UpdateGameServerGroupInput

pub struct UpdateGameServerGroupInput {
    pub balancing_strategy: Option<String>,
    pub game_server_group_name: String,
    pub game_server_protection_policy: Option<String>,
    pub instance_definitions: Option<Vec<InstanceDefinition>>,
    pub role_arn: Option<String>,
}

Fields

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.

game_server_group_name: String

The unique identifier of the game server group to update. Use either the GameServerGroup name or ARN value.

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 by 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. An exception to this is Spot Instances, which may be terminated by AWS regardless of protection status. This property is set to NO_PROTECTION by default.

instance_definitions: Option<Vec<InstanceDefinition>>

An updated list of EC2 instance types to use when creating instances in the group. The instance definition must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance types. This updated list replaces the entire current list of instance definitions for the game server group. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide..

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.

Trait Implementations

impl Clone for UpdateGameServerGroupInput[src]

impl Debug for UpdateGameServerGroupInput[src]

impl Default for UpdateGameServerGroupInput[src]

impl PartialEq<UpdateGameServerGroupInput> for UpdateGameServerGroupInput[src]

impl Serialize for UpdateGameServerGroupInput[src]

impl StructuralPartialEq for UpdateGameServerGroupInput[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> 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.