Interface CfnGameServerGroupProps

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

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-04T12:43:07.844Z") @Stability(Stable) public interface CfnGameServerGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnGameServerGroup.

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.*;
 CfnGameServerGroupProps cfnGameServerGroupProps = CfnGameServerGroupProps.builder()
         .gameServerGroupName("gameServerGroupName")
         .instanceDefinitions(List.of(InstanceDefinitionProperty.builder()
                 .instanceType("instanceType")
                 // the properties below are optional
                 .weightedCapacity("weightedCapacity")
                 .build()))
         .roleArn("roleArn")
         // the properties below are optional
         .autoScalingPolicy(AutoScalingPolicyProperty.builder()
                 .targetTrackingConfiguration(TargetTrackingConfigurationProperty.builder()
                         .targetValue(123)
                         .build())
                 // the properties below are optional
                 .estimatedInstanceWarmup(123)
                 .build())
         .balancingStrategy("balancingStrategy")
         .deleteOption("deleteOption")
         .gameServerProtectionPolicy("gameServerProtectionPolicy")
         .launchTemplate(LaunchTemplateProperty.builder()
                 .launchTemplateId("launchTemplateId")
                 .launchTemplateName("launchTemplateName")
                 .version("version")
                 .build())
         .maxSize(123)
         .minSize(123)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .vpcSubnets(List.of("vpcSubnets"))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    static final class 
    An implementation for CfnGameServerGroupProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.
    default String
    Indicates how Amazon GameLift Servers FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.
    default String
    The type of delete to perform.
    A developer-defined identifier for the game server group.
    default String
    A flag that indicates whether instances in the game server group are protected from early termination.
    The set of Amazon EC2 instance types that Amazon GameLift Servers FleetIQ can use when balancing and automatically scaling instances in the corresponding Auto Scaling group.
    default Object
    The Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
    default Number
    The maximum number of instances allowed in the Amazon EC2 Auto Scaling group.
    default Number
    The minimum number of instances allowed in the Amazon EC2 Auto Scaling group.
    The Amazon Resource Name ( ARN ) for an IAM role that allows Amazon GameLift Servers to access your Amazon EC2 Auto Scaling groups.
    default List<CfnTag>
    A list of labels to assign to the new game server group resource.
    default List<String>
    A list of virtual private cloud (VPC) subnets to use with instances in the game server group.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson