Show / Hide Table of Contents

Class Fleet

Provides a Gamelift Fleet resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.GameLift.Fleet("example", new Aws.GameLift.FleetArgs
    {
        BuildId = aws_gamelift_build.Example.Id,
        Ec2InstanceType = "t2.micro",
        FleetType = "ON_DEMAND",
        RuntimeConfiguration = new Aws.GameLift.Inputs.FleetRuntimeConfigurationArgs
        {
            ServerProcess = 
            {

                {
                    { "concurrentExecutions", 1 },
                    { "launchPath", "C:\\game\\GomokuServer.exe" },
                },
            },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Fleet
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.GameLift
Assembly: Pulumi.Aws.dll
Syntax
public class Fleet : CustomResource

Constructors

View Source

Fleet(String, FleetArgs, CustomResourceOptions)

Create a Fleet resource with the given unique name, arguments, and options.

Declaration
public Fleet(string name, FleetArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

FleetArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

Fleet ARN.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

BuildId

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

Declaration
public Output<string> BuildId { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Human-readable description of the fleet.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Ec2InboundPermissions

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

Declaration
public Output<ImmutableArray<FleetEc2InboundPermission>> Ec2InboundPermissions { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<FleetEc2InboundPermission>>
View Source

Ec2InstanceType

Name of an EC2 instance type. e.g. t2.micro

Declaration
public Output<string> Ec2InstanceType { get; }
Property Value
Type Description
Output<System.String>
View Source

FleetType

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

Declaration
public Output<string> FleetType { get; }
Property Value
Type Description
Output<System.String>
View Source

InstanceRoleArn

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

Declaration
public Output<string> InstanceRoleArn { get; }
Property Value
Type Description
Output<System.String>
View Source

LogPaths

Declaration
public Output<ImmutableArray<string>> LogPaths { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

MetricGroups

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.

Declaration
public Output<ImmutableArray<string>> MetricGroups { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

The name of the fleet.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NewGameSessionProtectionPolicy

Game session protection policy to apply to all instances in this fleet. e.g. FullProtection. Defaults to NoProtection.

Declaration
public Output<string> NewGameSessionProtectionPolicy { get; }
Property Value
Type Description
Output<System.String>
View Source

OperatingSystem

Operating system of the fleet's computing resources.

Declaration
public Output<string> OperatingSystem { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceCreationLimitPolicy

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

Declaration
public Output<FleetResourceCreationLimitPolicy> ResourceCreationLimitPolicy { get; }
Property Value
Type Description
Output<FleetResourceCreationLimitPolicy>
View Source

RuntimeConfiguration

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

Declaration
public Output<FleetRuntimeConfiguration> RuntimeConfiguration { get; }
Property Value
Type Description
Output<FleetRuntimeConfiguration>
View Source

Tags

Key-value map of resource tags

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, FleetState, CustomResourceOptions)

Get an existing Fleet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Fleet Get(string name, Input<string> id, FleetState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

FleetState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Fleet
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.