Class GameServerGroupState


  • public final class GameServerGroupState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of the GameLift Game Server Group.
      • autoScalingGroupArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> autoScalingGroupArn()
        Returns:
        The ARN of the created EC2 Auto Scaling group.
      • balancingStrategy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> balancingStrategy()
        Returns:
        Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances. Valid values: `SPOT_ONLY`, `SPOT_PREFERRED`, `ON_DEMAND_ONLY`. Defaults to `SPOT_PREFERRED`.
      • gameServerGroupName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> gameServerGroupName()
        Returns:
        Name of the game server group. This value is used to generate unique ARN identifiers for the EC2 Auto Scaling group and the GameLift FleetIQ game server group.
      • gameServerProtectionPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> gameServerProtectionPolicy()
        Returns:
        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. Valid values: `NO_PROTECTION`, `FULL_PROTECTION`. Defaults to `NO_PROTECTION`.
      • maxSize

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxSize()
        Returns:
        The maximum number of instances allowed in the EC2 Auto Scaling group. During automatic scaling events, GameLift FleetIQ and EC2 do not scale up the group above this maximum.
      • minSize

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> minSize()
        Returns:
        The minimum number of instances allowed in the EC2 Auto Scaling group. During automatic scaling events, GameLift FleetIQ and EC2 do not scale down the group below this minimum.
      • roleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> roleArn()
        Returns:
        ARN for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Key-value map of resource tags
      • tagsAll

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Deprecated.
        Please use `tags` instead.
      • vpcSubnets

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> vpcSubnets()
        Returns:
        A list of VPC subnets to use with instances in the game server group. By default, all GameLift FleetIQ-supported Availability Zones are used.