Struct aws_sdk_gamelift::model::GameServerGroupAutoScalingPolicy [−][src]
#[non_exhaustive]pub struct GameServerGroupAutoScalingPolicy {
pub estimated_instance_warmup: Option<i32>,
pub target_tracking_configuration: Option<TargetTrackingConfiguration>,
}
Expand description
This data type is used with the GameLift FleetIQ and game server groups.
Configuration settings for intelligent automatic scaling that uses target tracking. These settings are used to add an Auto Scaling policy when creating the corresponding Auto Scaling group with CreateGameServerGroup. After the Auto Scaling group is created, all updates to Auto Scaling policies, including changing this policy and adding or removing other policies, is done directly on the Auto Scaling group.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.estimated_instance_warmup: Option<i32>
Length of time, in seconds, it takes for a new instance to start new game server processes and register with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.
target_tracking_configuration: Option<TargetTrackingConfiguration>
Settings for a target-based scaling policy applied to Auto Scaling group. These
settings are used to create a target-based policy that tracks the GameLift FleetIQ metric
"PercentUtilizedGameServers"
and specifies a target value for the
metric. As player usage changes, the policy triggers to adjust the game server group
capacity so that the metric returns to the target value.
Implementations
Length of time, in seconds, it takes for a new instance to start new game server processes and register with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.
Settings for a target-based scaling policy applied to Auto Scaling group. These
settings are used to create a target-based policy that tracks the GameLift FleetIQ metric
"PercentUtilizedGameServers"
and specifies a target value for the
metric. As player usage changes, the policy triggers to adjust the game server group
capacity so that the metric returns to the target value.
Creates a new builder-style object to manufacture GameServerGroupAutoScalingPolicy
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GameServerGroupAutoScalingPolicy
impl Sync for GameServerGroupAutoScalingPolicy
impl Unpin for GameServerGroupAutoScalingPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
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