FleetArgs

data class FleetArgs(val anywhereConfiguration: Output<FleetAnywhereConfigurationArgs>? = null, val applyCapacity: Output<FleetApplyCapacity>? = null, val buildId: Output<String>? = null, val certificateConfiguration: Output<FleetCertificateConfigurationArgs>? = null, val computeType: Output<FleetComputeType>? = null, val containerGroupsConfiguration: Output<FleetContainerGroupsConfigurationArgs>? = null, val description: Output<String>? = null, val desiredEc2Instances: Output<Int>? = null, val ec2InboundPermissions: Output<List<FleetIpPermissionArgs>>? = null, val ec2InstanceType: Output<String>? = null, val fleetType: Output<FleetType>? = null, val instanceRoleArn: Output<String>? = null, val instanceRoleCredentialsProvider: Output<FleetInstanceRoleCredentialsProvider>? = null, val locations: Output<List<FleetLocationConfigurationArgs>>? = null, val logPaths: Output<List<String>>? = null, val maxSize: Output<Int>? = null, val metricGroups: Output<List<String>>? = null, val minSize: Output<Int>? = null, val name: Output<String>? = null, val newGameSessionProtectionPolicy: Output<FleetNewGameSessionProtectionPolicy>? = null, val peerVpcAwsAccountId: Output<String>? = null, val peerVpcId: Output<String>? = null, val resourceCreationLimitPolicy: Output<FleetResourceCreationLimitPolicyArgs>? = null, val runtimeConfiguration: Output<FleetRuntimeConfigurationArgs>? = null, val scalingPolicies: Output<List<FleetScalingPolicyArgs>>? = null, val scriptId: Output<String>? = null, val serverLaunchParameters: Output<String>? = null, val serverLaunchPath: Output<String>? = null) : ConvertibleToJava<FleetArgs>

The AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host game servers. A fleet is a set of EC2 or Anywhere instances, each of which can host multiple game sessions.

Constructors

Link copied to clipboard
constructor(anywhereConfiguration: Output<FleetAnywhereConfigurationArgs>? = null, applyCapacity: Output<FleetApplyCapacity>? = null, buildId: Output<String>? = null, certificateConfiguration: Output<FleetCertificateConfigurationArgs>? = null, computeType: Output<FleetComputeType>? = null, containerGroupsConfiguration: Output<FleetContainerGroupsConfigurationArgs>? = null, description: Output<String>? = null, desiredEc2Instances: Output<Int>? = null, ec2InboundPermissions: Output<List<FleetIpPermissionArgs>>? = null, ec2InstanceType: Output<String>? = null, fleetType: Output<FleetType>? = null, instanceRoleArn: Output<String>? = null, instanceRoleCredentialsProvider: Output<FleetInstanceRoleCredentialsProvider>? = null, locations: Output<List<FleetLocationConfigurationArgs>>? = null, logPaths: Output<List<String>>? = null, maxSize: Output<Int>? = null, metricGroups: Output<List<String>>? = null, minSize: Output<Int>? = null, name: Output<String>? = null, newGameSessionProtectionPolicy: Output<FleetNewGameSessionProtectionPolicy>? = null, peerVpcAwsAccountId: Output<String>? = null, peerVpcId: Output<String>? = null, resourceCreationLimitPolicy: Output<FleetResourceCreationLimitPolicyArgs>? = null, runtimeConfiguration: Output<FleetRuntimeConfigurationArgs>? = null, scalingPolicies: Output<List<FleetScalingPolicyArgs>>? = null, scriptId: Output<String>? = null, serverLaunchParameters: Output<String>? = null, serverLaunchPath: Output<String>? = null)

Properties

Link copied to clipboard

Configuration for Anywhere fleet.

Link copied to clipboard
val applyCapacity: Output<FleetApplyCapacity>? = null

Determines whether to apply fleet or location capacities on fleet creation.

Link copied to clipboard
val buildId: Output<String>? = null

A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a READY status. This fleet setting cannot be changed once the fleet is created.

Link copied to clipboard

Indicates whether to generate a TLS/SSL certificate for the new fleet. TLS certificates are used for encrypting traffic between game clients and game servers running on GameLift. If this parameter is not set, certificate generation is disabled. This fleet setting cannot be changed once the fleet is created.

Link copied to clipboard
val computeType: Output<FleetComputeType>? = null

ComputeType to differentiate EC2 hardware managed by GameLift and Anywhere hardware managed by the customer.

Link copied to clipboard

This data type is used with the Amazon GameLift containers feature, which is currently in public preview. Configuration details for a set of container groups, for use when creating a fleet with compute type CONTAINER . Used with: CreateFleet

Link copied to clipboard
val description: Output<String>? = null

A human-readable description of a fleet.

Link copied to clipboard
val desiredEc2Instances: Output<Int>? = null

DEPRECATED The number of EC2 instances that you want this fleet to host. When creating a new fleet, GameLift automatically sets this value to "1" and initiates a single instance. Once the fleet is active, update this value to trigger GameLift to add or remove instances from the fleet.

Link copied to clipboard

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an Amazon GameLift server.

Link copied to clipboard
val ec2InstanceType: Output<String>? = null

The name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions.

Link copied to clipboard
val fleetType: Output<FleetType>? = null

Indicates whether to use On-Demand instances or Spot instances for this fleet. If empty, the default is ON_DEMAND. Both categories of instances use identical hardware and configurations based on the instance type selected for this fleet.

Link copied to clipboard
val instanceRoleArn: Output<String>? = null

A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN from the IAM dashboard in the AWS Management Console.

Link copied to clipboard

Credentials provider implementation that loads credentials from the Amazon EC2 Instance Metadata Service.

Link copied to clipboard

A set of remote locations to deploy additional instances to and manage as a multi-location fleet. Use this parameter when creating a fleet in AWS Regions that support multiple locations. You can add any AWS Region or Local Zone that's supported by Amazon GameLift. Provide a list of one or more AWS Region codes, such as us-west-2 , or Local Zone names. When using this parameter, Amazon GameLift requires you to include your home location in the request. For a list of supported Regions and Local Zones, see Amazon GameLift service locations for managed hosting.

Link copied to clipboard
val logPaths: Output<List<String>>? = null

This parameter is no longer used. When hosting a custom game build, specify where Amazon GameLift should store log files using the Amazon GameLift server API call ProcessReady()

Link copied to clipboard
val maxSize: Output<Int>? = null

DEPRECATED The maximum value that is allowed for the fleet's instance count. When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value.

Link copied to clipboard
val metricGroups: Output<List<String>>? = null

The name of an Amazon CloudWatch metric group. A metric group aggregates the metrics for all fleets in the group. Specify a string containing the metric group name. You can use an existing name or use a new name to create a new metric group. Currently, this parameter can have only one string.

Link copied to clipboard
val minSize: Output<Int>? = null

DEPRECATED The minimum value allowed for the fleet's instance count. When creating a new fleet, GameLift automatically sets this value to "0". After the fleet is active, you can change this value.

Link copied to clipboard
val name: Output<String>? = null

A descriptive label that is associated with a fleet. Fleet names do not need to be unique.

Link copied to clipboard

A game session protection policy to apply to all game sessions hosted on instances in this fleet. When protected, active game sessions cannot be terminated during a scale-down event. If this parameter is not set, instances in this fleet default to no protection. You can change a fleet's protection policy to affect future game sessions on the fleet. You can also set protection for individual game sessions.

Link copied to clipboard
val peerVpcAwsAccountId: Output<String>? = null

A unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your account ID in the AWS Management Console under account settings.

Link copied to clipboard
val peerVpcId: Output<String>? = null

A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the AWS Management Console.

Link copied to clipboard

A policy that limits the number of game sessions an individual player can create over a span of time for this fleet.

Link copied to clipboard

Instructions for launching server processes on each instance in the fleet. Server processes run either a custom game build executable or a Realtime script. The runtime configuration defines the server executables or launch script file, launch parameters, and the number of processes to run concurrently on each instance. When creating a fleet, the runtime configuration must have at least one server process configuration; otherwise the request fails with an invalid request exception. This parameter is required unless the parameters ServerLaunchPath and ServerLaunchParameters are defined. Runtime configuration has replaced these parameters, but fleets that use them will continue to work.

Link copied to clipboard

A list of rules that control how a fleet is scaled.

Link copied to clipboard
val scriptId: Output<String>? = null

A unique identifier for a Realtime script to be deployed on a new Realtime Servers fleet. The script must have been successfully uploaded to Amazon GameLift. This fleet setting cannot be changed once the fleet is created. Note: It is not currently possible to use the !Ref command to reference a script created with a CloudFormation template for the fleet property ScriptId. Instead, use Fn::GetAtt Script.Arn or Fn::GetAtt Script.Id to retrieve either of these properties as input for ScriptId. Alternatively, enter a ScriptId string manually.

Link copied to clipboard
val serverLaunchParameters: Output<String>? = null

This parameter is no longer used but is retained for backward compatibility. Instead, specify server launch parameters in the RuntimeConfiguration parameter. A request must specify either a runtime configuration or values for both ServerLaunchParameters and ServerLaunchPath.

Link copied to clipboard
val serverLaunchPath: Output<String>? = null

This parameter is no longer used. Instead, specify a server launch path using the RuntimeConfiguration parameter. Requests that specify a server launch path and launch parameters instead of a runtime configuration will continue to work.

Functions

Link copied to clipboard
open override fun toJava(): FleetArgs