Class GameServerGroupProps.Jsii$Proxy
- All Implemented Interfaces:
GameServerGroupProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
GameServerGroupProps
GameServerGroupProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.alpha.GameServerGroupProps
GameServerGroupProps.Builder, GameServerGroupProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(GameServerGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGameServerGroupProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal AutoScalingPolicy(experimental) Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.final BalancingStrategy(experimental) Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.final DeleteOption(experimental) The type of delete to perform.final String(experimental) A developer-defined identifier for the game server group.final List<InstanceDefinition> (experimental) The set of Amazon EC2 instance types that GameLift FleetIQ can use when balancing and automatically scaling instances in the corresponding Auto Scaling group.final ILaunchTemplate(experimental) The Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.final Number(experimental) The maximum number of instances allowed in the Amazon EC2 Auto Scaling group.final Number(experimental) The minimum number of instances allowed in the Amazon EC2 Auto Scaling group.final Boolean(experimental) A flag that indicates whether instances in the game server group are protected from early termination.final IRolegetRole()(experimental) The IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.final IVpcgetVpc()(experimental) The VPC network to place the game server group in.final SubnetSelection(experimental) Game server group subnet selection.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theGameServerGroupProps.Builder.
-
-
Method Details
-
getGameServerGroupName
Description copied from interface:GameServerGroupProps(experimental) A developer-defined identifier for the game server group.The name is unique for each Region in each AWS account.
- Specified by:
getGameServerGroupNamein interfaceGameServerGroupProps
-
getInstanceDefinitions
Description copied from interface:GameServerGroupProps(experimental) The set of Amazon EC2 instance types that GameLift FleetIQ can use when balancing and automatically scaling instances in the corresponding Auto Scaling group.- Specified by:
getInstanceDefinitionsin interfaceGameServerGroupProps
-
getLaunchTemplate
Description copied from interface:GameServerGroupProps(experimental) The Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.
NOTE: If you specify network interfaces in your launch template, you must explicitly set the property AssociatePublicIpAddress to
true. If no network interface is specified in the launch template, GameLift FleetIQ uses your account's default VPC.- Specified by:
getLaunchTemplatein interfaceGameServerGroupProps- See Also:
-
getVpc
Description copied from interface:GameServerGroupProps(experimental) The VPC network to place the game server group in.By default, all GameLift FleetIQ-supported Availability Zones are used.
You can use this parameter to specify VPCs that you've set up.
This property cannot be updated after the game server group is created, and the corresponding Auto Scaling group will always use the property value that is set with this request, even if the Auto Scaling group is updated directly.
- Specified by:
getVpcin interfaceGameServerGroupProps
-
getAutoScalingPolicy
Description copied from interface:GameServerGroupProps(experimental) Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.The scaling policy uses the metric
PercentUtilizedGameServersto maintain a buffer of idle game servers that can immediately accommodate new games and players.After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.
Default: no autoscaling policy settled
- Specified by:
getAutoScalingPolicyin interfaceGameServerGroupProps
-
getBalancingStrategy
Description copied from interface:GameServerGroupProps(experimental) Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.Default: SPOT_PREFERRED
- Specified by:
getBalancingStrategyin interfaceGameServerGroupProps
-
getDeleteOption
Description copied from interface:GameServerGroupProps(experimental) The type of delete to perform.To delete a game server group, specify the DeleteOption
Default: SAFE_DELETE
- Specified by:
getDeleteOptionin interfaceGameServerGroupProps
-
getMaxSize
Description copied from interface:GameServerGroupProps(experimental) The maximum number of instances allowed in the Amazon EC2 Auto Scaling group.During automatic scaling events, GameLift FleetIQ and EC2 do not scale up the group above this maximum.
After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.
Default: the default is 1
- Specified by:
getMaxSizein interfaceGameServerGroupProps
-
getMinSize
Description copied from interface:GameServerGroupProps(experimental) The minimum number of instances allowed in the Amazon EC2 Auto Scaling group.During automatic scaling events, GameLift FleetIQ and Amazon EC2 do not scale down the group below this minimum.
In production, this value should be set to at least 1.
After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.
Default: the default is 0
- Specified by:
getMinSizein interfaceGameServerGroupProps
-
getProtectGameServer
Description copied from interface:GameServerGroupProps(experimental) A flag that indicates whether instances in the game server group are protected from early termination.Unprotected instances that have active game servers running might 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.
An exception to this is with Spot Instances, which can be terminated by AWS regardless of protection status.
Default: game servers running might be terminated during a scale-down event
- Specified by:
getProtectGameServerin interfaceGameServerGroupProps
-
getRole
Description copied from interface:GameServerGroupProps(experimental) The IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.Default: - a role will be created with default trust to Gamelift and Autoscaling service principal with a default policy `GameLiftGameServerGroupPolicy` attached.
- Specified by:
getRolein interfaceGameServerGroupProps- See Also:
-
getVpcSubnets
Description copied from interface:GameServerGroupProps(experimental) Game server group subnet selection.Default: all GameLift FleetIQ-supported Availability Zones are used.
- Specified by:
getVpcSubnetsin interfaceGameServerGroupProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-