import { _ResourceCreationLimitPolicy, _UnmarshalledResourceCreationLimitPolicy } from "./_ResourceCreationLimitPolicy"; /** *
General properties describing a fleet.
Describe fleets:
Update fleets:
Manage fleet actions:
Unique identifier for a fleet.
*/ FleetId?: string; /** *Identifier for a fleet that is unique across all regions.
*/ FleetArn?: string; /** *Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.
*/ FleetType?: "ON_DEMAND" | "SPOT" | string; /** *EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
*/ InstanceType?: "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | string; /** *Human-readable description of the fleet.
*/ Description?: string; /** *Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
*/ Name?: string; /** *Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
*/ CreationTime?: Date | string | number; /** *Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
*/ TerminationTime?: Date | string | number; /** *Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
Unique identifier for a build.
*/ BuildId?: string; /** *Unique identifier for a Realtime script.
*/ ScriptId?: string; /** *Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration.
*/ ServerLaunchPath?: string; /** *Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration.
*/ ServerLaunchParameters?: string; /** *Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift automatically uploads logs that are stored on each instance at C:\game\logs (for Windows) or /local/game/logs (for Linux). Use the Amazon GameLift console to access stored logs.
Type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.
Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
*/ OperatingSystem?: "WINDOWS_2012" | "AMAZON_LINUX" | string; /** *Fleet policy to limit the number of game sessions an individual player can create over a span of time.
*/ ResourceCreationLimitPolicy?: _ResourceCreationLimitPolicy; /** *Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time.
*/ MetricGroups?: ArrayList of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
*/ StoppedActions?: Array<"AUTO_SCALING" | string> | Iterable<"AUTO_SCALING" | string>; /** *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, daemons (background processes). Create a role or look up a role's ARN using the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server.
*/ InstanceRoleArn?: string; } export interface _UnmarshalledFleetAttributes extends _FleetAttributes { /** *Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
*/ CreationTime?: Date; /** *Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
*/ TerminationTime?: Date; /** *Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift automatically uploads logs that are stored on each instance at C:\game\logs (for Windows) or /local/game/logs (for Linux). Use the Amazon GameLift console to access stored logs.
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
*/ ResourceCreationLimitPolicy?: _UnmarshalledResourceCreationLimitPolicy; /** *Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time.
*/ MetricGroups?: ArrayList of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
*/ StoppedActions?: Array<"AUTO_SCALING" | string>; }