Interface InstanceDefinition

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
InstanceDefinition.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-11T18:01:25.559Z") @Stability(Experimental) public interface InstanceDefinition extends software.amazon.jsii.JsiiSerializable
(experimental) An allowed instance type for a game server group.

All game server groups must have at least two instance types defined for it. GameLift FleetIQ periodically evaluates each defined instance type for viability. It then updates the Auto Scaling group with the list of viable instance types.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.gamelift.alpha.*;
 import software.amazon.awscdk.services.ec2.*;
 InstanceType instanceType;
 InstanceDefinition instanceDefinition = InstanceDefinition.builder()
         .instanceType(instanceType)
         // the properties below are optional
         .weight(123)
         .build();