@Stability(value=Stable) @Internal public static final class CfnGameServerGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnGameServerGroupProps
CfnGameServerGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnGameServerGroupProps.Builder, CfnGameServerGroupProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnGameServerGroupProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnGameServerGroupProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAutoScalingPolicy()
`AWS::GameLift::GameServerGroup.AutoScalingPolicy`.
|
String |
getBalancingStrategy()
Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.
|
String |
getDeleteOption()
`AWS::GameLift::GameServerGroup.DeleteOption`.
|
String |
getGameServerGroupName()
A developer-defined identifier for the game server group.
|
String |
getGameServerProtectionPolicy()
A flag that indicates whether instances in the game server group are protected from early termination.
|
Object |
getInstanceDefinitions()
The set of Amazon EC2 instance types that GameLift FleetIQ can use when balancing and automatically scaling instances in the corresponding Auto Scaling group.
|
Object |
getLaunchTemplate()
`AWS::GameLift::GameServerGroup.LaunchTemplate`.
|
Number |
getMaxSize()
`AWS::GameLift::GameServerGroup.MaxSize`.
|
Number |
getMinSize()
`AWS::GameLift::GameServerGroup.MinSize`.
|
String |
getRoleArn()
The Amazon Resource Name ( [ARN](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) ) for an IAM role that allows Amazon Web Services to access your Amazon EC2 Auto Scaling groups.
|
List<CfnTag> |
getTags()
`AWS::GameLift::GameServerGroup.Tags`.
|
List<String> |
getVpcSubnets()
`AWS::GameLift::GameServerGroup.VpcSubnets`.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnGameServerGroupProps.Builder builder)
CfnGameServerGroupProps.Builder.public final String getGameServerGroupName()
CfnGameServerGroupPropsThe name is unique for each Region in each AWS account.
getGameServerGroupName in interface CfnGameServerGroupPropspublic final Object getInstanceDefinitions()
CfnGameServerGroupPropsgetInstanceDefinitions in interface CfnGameServerGroupPropspublic final Object getLaunchTemplate()
CfnGameServerGroupPropsgetLaunchTemplate in interface CfnGameServerGroupPropspublic final String getRoleArn()
CfnGameServerGroupPropsgetRoleArn in interface CfnGameServerGroupPropspublic final Object getAutoScalingPolicy()
CfnGameServerGroupPropsgetAutoScalingPolicy in interface CfnGameServerGroupPropspublic final String getBalancingStrategy()
CfnGameServerGroupPropsMethod options include the following:
SPOT_ONLY - Only Spot Instances are used in the game server group. If Spot Instances are unavailable or not viable for game hosting, the game server group provides no hosting capacity until Spot Instances can again be used. Until then, no new instances are started, and the existing nonviable Spot Instances are terminated (after current gameplay ends) and are not replaced.SPOT_PREFERRED - (default value) Spot Instances are used whenever available in the game server group. If Spot Instances are unavailable, the game server group continues to provide hosting capacity by falling back to On-Demand Instances. Existing nonviable Spot Instances are terminated (after current gameplay ends) and are replaced with new On-Demand Instances.ON_DEMAND_ONLY - Only On-Demand Instances are used in the game server group. No Spot Instances are used, even when available, while this balancing strategy is in force.getBalancingStrategy in interface CfnGameServerGroupPropspublic final String getDeleteOption()
CfnGameServerGroupPropsgetDeleteOption in interface CfnGameServerGroupPropspublic final String getGameServerProtectionPolicy()
CfnGameServerGroupPropsUnprotected 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 (see ). An exception to this is with Spot Instances, which can be terminated by AWS regardless of protection status.
getGameServerProtectionPolicy in interface CfnGameServerGroupPropspublic final Number getMaxSize()
CfnGameServerGroupPropsgetMaxSize in interface CfnGameServerGroupPropspublic final Number getMinSize()
CfnGameServerGroupPropsgetMinSize in interface CfnGameServerGroupPropspublic final List<CfnTag> getTags()
CfnGameServerGroupPropsgetTags in interface CfnGameServerGroupPropspublic final List<String> getVpcSubnets()
CfnGameServerGroupPropsgetVpcSubnets in interface CfnGameServerGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.