Fleet

class Fleet : KotlinCustomResource

Provides a GameLift Fleet resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.gamelift.Fleet;
import com.pulumi.aws.gamelift.FleetArgs;
import com.pulumi.aws.gamelift.inputs.FleetRuntimeConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Fleet("example", FleetArgs.builder()
.buildId(aws_gamelift_build.example().id())
.ec2InstanceType("t2.micro")
.fleetType("ON_DEMAND")
.runtimeConfiguration(FleetRuntimeConfigurationArgs.builder()
.serverProcesses(FleetRuntimeConfigurationServerProcessArgs.builder()
.concurrentExecutions(1)
.launchPath("C:\\game\\GomokuServer.exe")
.build())
.build())
.build());
}
}

Import

GameLift Fleets can be imported using the ID, e.g.,

$ pulumi import aws:gamelift/fleet:Fleet example <fleet-id>

Properties

Link copied to clipboard
val arn: Output<String>

Fleet ARN.

Link copied to clipboard
val buildArn: Output<String>

Build ARN.

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

ID of the GameLift Build to be deployed on the fleet.

Link copied to clipboard

Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.

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

Human-readable description of the fleet.

Link copied to clipboard

Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.

Link copied to clipboard
val ec2InstanceType: Output<String>

Name of an EC2 instance typeE.g., t2.micro

Link copied to clipboard
val fleetType: Output<String>?

Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.

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

ARN of an IAM role that instances in the fleet can assume.

Link copied to clipboard
val logPaths: Output<List<String>>
Link copied to clipboard
val metricGroups: Output<List<String>>

List of names of metric groups to add this fleet to. A metric group tracks metrics across all fleets in the group. Defaults to default.

Link copied to clipboard
val name: Output<String>

The name of the fleet.

Link copied to clipboard

Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.

Link copied to clipboard
val operatingSystem: Output<String>

Operating system of the fleet's computing resources.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

Instructions for launching server processes on each instance in the fleet. See below.

Link copied to clipboard
val scriptArn: Output<String>

Script ARN.

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

ID of the GameLift Script to be deployed on the fleet.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>