Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateFleetInput

import type { CreateFleetInput } from "https://aws-api.deno.dev/v0.4/services/gamelift.ts?docs=full";
interface CreateFleetInput {
AnywhereConfiguration?: AnywhereConfiguration | null;
BuildId?: string | null;
CertificateConfiguration?: CertificateConfiguration | null;
ComputeType?: ComputeType | null;
Description?: string | null;
EC2InboundPermissions?: IpPermission[] | null;
EC2InstanceType?: EC2InstanceType | null;
FleetType?: FleetType | null;
InstanceRoleArn?: string | null;
Locations?: LocationConfiguration[] | null;
LogPaths?: string[] | null;
MetricGroups?: string[] | null;
Name: string;
NewGameSessionProtectionPolicy?: ProtectionPolicy | null;
PeerVpcAwsAccountId?: string | null;
PeerVpcId?: string | null;
ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy | null;
RuntimeConfiguration?: RuntimeConfiguration | null;
ScriptId?: string | null;
ServerLaunchParameters?: string | null;
ServerLaunchPath?: string | null;
Tags?: Tag[] | null;
}

§Properties

§
AnywhereConfiguration?: AnywhereConfiguration | null
[src]

GameLift Anywhere configuration options.

§
BuildId?: string | null
[src]

The unique identifier for a custom game server build to be deployed on fleet instances. You can use either the build ID or ARN. The build must be uploaded to GameLift and in READY status. This fleet property cannot be changed later.

§
CertificateConfiguration?: CertificateConfiguration | null
[src]

Prompts GameLift to generate a TLS/SSL certificate for the fleet. GameLift uses the certificates to encrypt traffic between game clients and the game servers running on GameLift. By default, the CertificateConfiguration is DISABLED. You can't change this property after you create the fleet.

Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition.

Note: ACM isn't available in all Amazon Web Services regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see Supported Regions in the Certificate Manager User Guide.

§
ComputeType?: ComputeType | null
[src]

The type of compute resource used to host your game servers. You can use your own compute resources with GameLift Anywhere or use Amazon EC2 instances with managed GameLift.

§
Description?: string | null
[src]

A description for the fleet.

§
EC2InboundPermissions?: IpPermission[] | null
[src]

The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet. If the fleet is hosting a custom game build, this property must be set before players can connect to game sessions. For Realtime Servers fleets, GameLift automatically sets TCP and UDP ranges.

§
EC2InstanceType?: EC2InstanceType | null
[src]

The GameLift-supported Amazon EC2 instance type to use for all fleet instances. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions of Amazon EC2 instance types.

§
FleetType?: FleetType | null
[src]

Indicates whether to use On-Demand or Spot instances for this fleet. By default, this property is set to ON_DEMAND. Learn more about when to use On-Demand versus Spot Instances. This property cannot be changed after the fleet is created.

§
InstanceRoleArn?: string | null
[src]

A unique identifier for an IAM role that manages access to your Amazon Web Services 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 by using the IAM dashboard in the Amazon Web Services Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server. This property cannot be changed after the fleet is created.

§
Locations?: LocationConfiguration[] | null
[src]

A set of remote locations to deploy additional instances to and manage as part of the fleet. This parameter can only be used when creating fleets in Amazon Web Services Regions that support multiple locations. You can add any GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such as us-west-2. To create a fleet with instances in the home Region only, omit this parameter.

§
LogPaths?: string[] | null
[src]

This parameter is no longer used. To specify where GameLift should store log files once a server process shuts down, use the GameLift server API ProcessReady() and specify one or more directory paths in logParameters. For more information, see Initialize the server process in the GameLift Developer Guide.

§
MetricGroups?: string[] | null
[src]

The name of an Amazon Web Services CloudWatch metric group to add this fleet to. A metric group is used to aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name to create a new metric group. A fleet can be included in only one metric group at a time.

§
Name: string
[src]

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

§
NewGameSessionProtectionPolicy?: ProtectionPolicy | null
[src]

The status of termination protection for active game sessions on the fleet. By default, this property is set to NoProtection. You can also set game session protection for an individual game session by calling UpdateGameSession.

  • NoProtection - Game sessions can be terminated during active gameplay as a result of a scale-down event.
  • FullProtection - Game sessions in ACTIVE status cannot be terminated during a scale-down event.
§
PeerVpcAwsAccountId?: string | null
[src]

Used when peering your GameLift fleet with a VPC, the unique identifier for the Amazon Web Services account that owns the VPC. You can find your account ID in the Amazon Web Services Management Console under account settings.

§
PeerVpcId?: string | null
[src]

A unique identifier for a VPC with resources to be accessed by your 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 Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.

§
ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy | null
[src]

A policy that limits the number of game sessions that an individual player can create on instances in this fleet within a specified span of time.

§
RuntimeConfiguration?: RuntimeConfiguration | null
[src]

Instructions for how to launch and maintain server processes on instances in the fleet. The runtime configuration defines one or more server process configurations, each identifying a build executable or Realtime script file and the number of processes of that type to run concurrently.

Note: The RuntimeConfiguration parameter is required unless the fleet is being configured using the older parameters ServerLaunchPath and ServerLaunchParameters, which are still supported for backward compatibility.

§
ScriptId?: string | null
[src]

The unique identifier for a Realtime configuration script to be deployed on fleet instances. You can use either the script ID or ARN. Scripts must be uploaded to GameLift prior to creating the fleet. This fleet property cannot be changed later.

§
ServerLaunchParameters?: string | null
[src]

This parameter is no longer used. Specify server launch parameters using the RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.

§
ServerLaunchPath?: string | null
[src]

This parameter is no longer used. Specify a server launch path using the RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.

§
Tags?: Tag[] | null
[src]

A list of labels to assign to the new fleet resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.