1. Packages
  2. AWS Classic
  3. API Docs
  4. gamelift
  5. Fleet

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

aws.gamelift.Fleet

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

    Provides a GameLift Fleet resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.gamelift.Fleet("example", {
        buildId: exampleAwsGameliftBuild.id,
        ec2InstanceType: "t2.micro",
        fleetType: "ON_DEMAND",
        name: "example-fleet-name",
        runtimeConfiguration: {
            serverProcesses: [{
                concurrentExecutions: 1,
                launchPath: "C:\\game\\GomokuServer.exe",
            }],
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.gamelift.Fleet("example",
        build_id=example_aws_gamelift_build["id"],
        ec2_instance_type="t2.micro",
        fleet_type="ON_DEMAND",
        name="example-fleet-name",
        runtime_configuration=aws.gamelift.FleetRuntimeConfigurationArgs(
            server_processes=[aws.gamelift.FleetRuntimeConfigurationServerProcessArgs(
                concurrent_executions=1,
                launch_path="C:\\game\\GomokuServer.exe",
            )],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/gamelift"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gamelift.NewFleet(ctx, "example", &gamelift.FleetArgs{
    			BuildId:         pulumi.Any(exampleAwsGameliftBuild.Id),
    			Ec2InstanceType: pulumi.String("t2.micro"),
    			FleetType:       pulumi.String("ON_DEMAND"),
    			Name:            pulumi.String("example-fleet-name"),
    			RuntimeConfiguration: &gamelift.FleetRuntimeConfigurationArgs{
    				ServerProcesses: gamelift.FleetRuntimeConfigurationServerProcessArray{
    					&gamelift.FleetRuntimeConfigurationServerProcessArgs{
    						ConcurrentExecutions: pulumi.Int(1),
    						LaunchPath:           pulumi.String("C:\\game\\GomokuServer.exe"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.GameLift.Fleet("example", new()
        {
            BuildId = exampleAwsGameliftBuild.Id,
            Ec2InstanceType = "t2.micro",
            FleetType = "ON_DEMAND",
            Name = "example-fleet-name",
            RuntimeConfiguration = new Aws.GameLift.Inputs.FleetRuntimeConfigurationArgs
            {
                ServerProcesses = new[]
                {
                    new Aws.GameLift.Inputs.FleetRuntimeConfigurationServerProcessArgs
                    {
                        ConcurrentExecutions = 1,
                        LaunchPath = "C:\\game\\GomokuServer.exe",
                    },
                },
            },
        });
    
    });
    
    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(exampleAwsGameliftBuild.id())
                .ec2InstanceType("t2.micro")
                .fleetType("ON_DEMAND")
                .name("example-fleet-name")
                .runtimeConfiguration(FleetRuntimeConfigurationArgs.builder()
                    .serverProcesses(FleetRuntimeConfigurationServerProcessArgs.builder()
                        .concurrentExecutions(1)
                        .launchPath("C:\\game\\GomokuServer.exe")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:gamelift:Fleet
        properties:
          buildId: ${exampleAwsGameliftBuild.id}
          ec2InstanceType: t2.micro
          fleetType: ON_DEMAND
          name: example-fleet-name
          runtimeConfiguration:
            serverProcesses:
              - concurrentExecutions: 1
                launchPath: C:\game\GomokuServer.exe
    

    Create Fleet Resource

    new Fleet(name: string, args: FleetArgs, opts?: CustomResourceOptions);
    @overload
    def Fleet(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              build_id: Optional[str] = None,
              certificate_configuration: Optional[FleetCertificateConfigurationArgs] = None,
              description: Optional[str] = None,
              ec2_inbound_permissions: Optional[Sequence[FleetEc2InboundPermissionArgs]] = None,
              ec2_instance_type: Optional[str] = None,
              fleet_type: Optional[str] = None,
              instance_role_arn: Optional[str] = None,
              metric_groups: Optional[Sequence[str]] = None,
              name: Optional[str] = None,
              new_game_session_protection_policy: Optional[str] = None,
              resource_creation_limit_policy: Optional[FleetResourceCreationLimitPolicyArgs] = None,
              runtime_configuration: Optional[FleetRuntimeConfigurationArgs] = None,
              script_id: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)
    @overload
    def Fleet(resource_name: str,
              args: FleetArgs,
              opts: Optional[ResourceOptions] = None)
    func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)
    public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)
    public Fleet(String name, FleetArgs args)
    public Fleet(String name, FleetArgs args, CustomResourceOptions options)
    
    type: aws:gamelift:Fleet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Fleet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Fleet resource accepts the following input properties:

    Ec2InstanceType string
    Name of an EC2 instance typeE.g., t2.micro
    BuildId string
    ID of the GameLift Build to be deployed on the fleet.
    CertificateConfiguration FleetCertificateConfiguration
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    Description string
    Human-readable description of the fleet.
    Ec2InboundPermissions List<FleetEc2InboundPermission>
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    FleetType string
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    InstanceRoleArn string
    ARN of an IAM role that instances in the fleet can assume.
    MetricGroups 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.
    Name string
    The name of the fleet.
    NewGameSessionProtectionPolicy string
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    ResourceCreationLimitPolicy FleetResourceCreationLimitPolicy
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    RuntimeConfiguration FleetRuntimeConfiguration
    Instructions for launching server processes on each instance in the fleet. See below.
    ScriptId string
    ID of the GameLift Script to be deployed on the fleet.
    Tags Dictionary<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.
    Ec2InstanceType string
    Name of an EC2 instance typeE.g., t2.micro
    BuildId string
    ID of the GameLift Build to be deployed on the fleet.
    CertificateConfiguration FleetCertificateConfigurationArgs
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    Description string
    Human-readable description of the fleet.
    Ec2InboundPermissions []FleetEc2InboundPermissionArgs
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    FleetType string
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    InstanceRoleArn string
    ARN of an IAM role that instances in the fleet can assume.
    MetricGroups []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.
    Name string
    The name of the fleet.
    NewGameSessionProtectionPolicy string
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    ResourceCreationLimitPolicy FleetResourceCreationLimitPolicyArgs
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    RuntimeConfiguration FleetRuntimeConfigurationArgs
    Instructions for launching server processes on each instance in the fleet. See below.
    ScriptId string
    ID of the GameLift Script to be deployed on the fleet.
    Tags 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.
    ec2InstanceType String
    Name of an EC2 instance typeE.g., t2.micro
    buildId String
    ID of the GameLift Build to be deployed on the fleet.
    certificateConfiguration FleetCertificateConfiguration
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description String
    Human-readable description of the fleet.
    ec2InboundPermissions List<FleetEc2InboundPermission>
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    fleetType String
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instanceRoleArn String
    ARN of an IAM role that instances in the fleet can assume.
    metricGroups 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.
    name String
    The name of the fleet.
    newGameSessionProtectionPolicy String
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    resourceCreationLimitPolicy FleetResourceCreationLimitPolicy
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtimeConfiguration FleetRuntimeConfiguration
    Instructions for launching server processes on each instance in the fleet. See below.
    scriptId String
    ID of the GameLift Script to be deployed on the fleet.
    tags 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.
    ec2InstanceType string
    Name of an EC2 instance typeE.g., t2.micro
    buildId string
    ID of the GameLift Build to be deployed on the fleet.
    certificateConfiguration FleetCertificateConfiguration
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description string
    Human-readable description of the fleet.
    ec2InboundPermissions FleetEc2InboundPermission[]
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    fleetType string
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instanceRoleArn string
    ARN of an IAM role that instances in the fleet can assume.
    metricGroups 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.
    name string
    The name of the fleet.
    newGameSessionProtectionPolicy string
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    resourceCreationLimitPolicy FleetResourceCreationLimitPolicy
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtimeConfiguration FleetRuntimeConfiguration
    Instructions for launching server processes on each instance in the fleet. See below.
    scriptId string
    ID of the GameLift Script to be deployed on the fleet.
    tags {[key: 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.
    ec2_instance_type str
    Name of an EC2 instance typeE.g., t2.micro
    build_id str
    ID of the GameLift Build to be deployed on the fleet.
    certificate_configuration FleetCertificateConfigurationArgs
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description str
    Human-readable description of the fleet.
    ec2_inbound_permissions Sequence[FleetEc2InboundPermissionArgs]
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    fleet_type str
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instance_role_arn str
    ARN of an IAM role that instances in the fleet can assume.
    metric_groups Sequence[str]
    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.
    name str
    The name of the fleet.
    new_game_session_protection_policy str
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    resource_creation_limit_policy FleetResourceCreationLimitPolicyArgs
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtime_configuration FleetRuntimeConfigurationArgs
    Instructions for launching server processes on each instance in the fleet. See below.
    script_id str
    ID of the GameLift Script to be deployed on the fleet.
    tags Mapping[str, str]
    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.
    ec2InstanceType String
    Name of an EC2 instance typeE.g., t2.micro
    buildId String
    ID of the GameLift Build to be deployed on the fleet.
    certificateConfiguration Property Map
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description String
    Human-readable description of the fleet.
    ec2InboundPermissions List<Property Map>
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    fleetType String
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instanceRoleArn String
    ARN of an IAM role that instances in the fleet can assume.
    metricGroups 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.
    name String
    The name of the fleet.
    newGameSessionProtectionPolicy String
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    resourceCreationLimitPolicy Property Map
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtimeConfiguration Property Map
    Instructions for launching server processes on each instance in the fleet. See below.
    scriptId String
    ID of the GameLift Script to be deployed on the fleet.
    tags Map<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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:

    Arn string
    Fleet ARN.
    BuildArn string
    Build ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogPaths List<string>
    OperatingSystem string
    Operating system of the fleet's computing resources.
    ScriptArn string
    Script ARN.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Arn string
    Fleet ARN.
    BuildArn string
    Build ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogPaths []string
    OperatingSystem string
    Operating system of the fleet's computing resources.
    ScriptArn string
    Script ARN.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    Fleet ARN.
    buildArn String
    Build ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    logPaths List<String>
    operatingSystem String
    Operating system of the fleet's computing resources.
    scriptArn String
    Script ARN.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn string
    Fleet ARN.
    buildArn string
    Build ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    logPaths string[]
    operatingSystem string
    Operating system of the fleet's computing resources.
    scriptArn string
    Script ARN.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn str
    Fleet ARN.
    build_arn str
    Build ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    log_paths Sequence[str]
    operating_system str
    Operating system of the fleet's computing resources.
    script_arn str
    Script ARN.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    Fleet ARN.
    buildArn String
    Build ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    logPaths List<String>
    operatingSystem String
    Operating system of the fleet's computing resources.
    scriptArn String
    Script ARN.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Look up Existing Fleet Resource

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

    public static get(name: string, id: Input<ID>, state?: FleetState, opts?: CustomResourceOptions): Fleet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            build_arn: Optional[str] = None,
            build_id: Optional[str] = None,
            certificate_configuration: Optional[FleetCertificateConfigurationArgs] = None,
            description: Optional[str] = None,
            ec2_inbound_permissions: Optional[Sequence[FleetEc2InboundPermissionArgs]] = None,
            ec2_instance_type: Optional[str] = None,
            fleet_type: Optional[str] = None,
            instance_role_arn: Optional[str] = None,
            log_paths: Optional[Sequence[str]] = None,
            metric_groups: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            new_game_session_protection_policy: Optional[str] = None,
            operating_system: Optional[str] = None,
            resource_creation_limit_policy: Optional[FleetResourceCreationLimitPolicyArgs] = None,
            runtime_configuration: Optional[FleetRuntimeConfigurationArgs] = None,
            script_arn: Optional[str] = None,
            script_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> Fleet
    func GetFleet(ctx *Context, name string, id IDInput, state *FleetState, opts ...ResourceOption) (*Fleet, error)
    public static Fleet Get(string name, Input<string> id, FleetState? state, CustomResourceOptions? opts = null)
    public static Fleet get(String name, Output<String> id, FleetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    Fleet ARN.
    BuildArn string
    Build ARN.
    BuildId string
    ID of the GameLift Build to be deployed on the fleet.
    CertificateConfiguration FleetCertificateConfiguration
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    Description string
    Human-readable description of the fleet.
    Ec2InboundPermissions List<FleetEc2InboundPermission>
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    Ec2InstanceType string
    Name of an EC2 instance typeE.g., t2.micro
    FleetType string
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    InstanceRoleArn string
    ARN of an IAM role that instances in the fleet can assume.
    LogPaths List<string>
    MetricGroups 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.
    Name string
    The name of the fleet.
    NewGameSessionProtectionPolicy string
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    OperatingSystem string
    Operating system of the fleet's computing resources.
    ResourceCreationLimitPolicy FleetResourceCreationLimitPolicy
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    RuntimeConfiguration FleetRuntimeConfiguration
    Instructions for launching server processes on each instance in the fleet. See below.
    ScriptArn string
    Script ARN.
    ScriptId string
    ID of the GameLift Script to be deployed on the fleet.
    Tags Dictionary<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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Arn string
    Fleet ARN.
    BuildArn string
    Build ARN.
    BuildId string
    ID of the GameLift Build to be deployed on the fleet.
    CertificateConfiguration FleetCertificateConfigurationArgs
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    Description string
    Human-readable description of the fleet.
    Ec2InboundPermissions []FleetEc2InboundPermissionArgs
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    Ec2InstanceType string
    Name of an EC2 instance typeE.g., t2.micro
    FleetType string
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    InstanceRoleArn string
    ARN of an IAM role that instances in the fleet can assume.
    LogPaths []string
    MetricGroups []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.
    Name string
    The name of the fleet.
    NewGameSessionProtectionPolicy string
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    OperatingSystem string
    Operating system of the fleet's computing resources.
    ResourceCreationLimitPolicy FleetResourceCreationLimitPolicyArgs
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    RuntimeConfiguration FleetRuntimeConfigurationArgs
    Instructions for launching server processes on each instance in the fleet. See below.
    ScriptArn string
    Script ARN.
    ScriptId string
    ID of the GameLift Script to be deployed on the fleet.
    Tags 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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    Fleet ARN.
    buildArn String
    Build ARN.
    buildId String
    ID of the GameLift Build to be deployed on the fleet.
    certificateConfiguration FleetCertificateConfiguration
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description String
    Human-readable description of the fleet.
    ec2InboundPermissions List<FleetEc2InboundPermission>
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    ec2InstanceType String
    Name of an EC2 instance typeE.g., t2.micro
    fleetType String
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instanceRoleArn String
    ARN of an IAM role that instances in the fleet can assume.
    logPaths List<String>
    metricGroups 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.
    name String
    The name of the fleet.
    newGameSessionProtectionPolicy String
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    operatingSystem String
    Operating system of the fleet's computing resources.
    resourceCreationLimitPolicy FleetResourceCreationLimitPolicy
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtimeConfiguration FleetRuntimeConfiguration
    Instructions for launching server processes on each instance in the fleet. See below.
    scriptArn String
    Script ARN.
    scriptId String
    ID of the GameLift Script to be deployed on the fleet.
    tags 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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn string
    Fleet ARN.
    buildArn string
    Build ARN.
    buildId string
    ID of the GameLift Build to be deployed on the fleet.
    certificateConfiguration FleetCertificateConfiguration
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description string
    Human-readable description of the fleet.
    ec2InboundPermissions FleetEc2InboundPermission[]
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    ec2InstanceType string
    Name of an EC2 instance typeE.g., t2.micro
    fleetType string
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instanceRoleArn string
    ARN of an IAM role that instances in the fleet can assume.
    logPaths string[]
    metricGroups 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.
    name string
    The name of the fleet.
    newGameSessionProtectionPolicy string
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    operatingSystem string
    Operating system of the fleet's computing resources.
    resourceCreationLimitPolicy FleetResourceCreationLimitPolicy
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtimeConfiguration FleetRuntimeConfiguration
    Instructions for launching server processes on each instance in the fleet. See below.
    scriptArn string
    Script ARN.
    scriptId string
    ID of the GameLift Script to be deployed on the fleet.
    tags {[key: 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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn str
    Fleet ARN.
    build_arn str
    Build ARN.
    build_id str
    ID of the GameLift Build to be deployed on the fleet.
    certificate_configuration FleetCertificateConfigurationArgs
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description str
    Human-readable description of the fleet.
    ec2_inbound_permissions Sequence[FleetEc2InboundPermissionArgs]
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    ec2_instance_type str
    Name of an EC2 instance typeE.g., t2.micro
    fleet_type str
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instance_role_arn str
    ARN of an IAM role that instances in the fleet can assume.
    log_paths Sequence[str]
    metric_groups Sequence[str]
    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.
    name str
    The name of the fleet.
    new_game_session_protection_policy str
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    operating_system str
    Operating system of the fleet's computing resources.
    resource_creation_limit_policy FleetResourceCreationLimitPolicyArgs
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtime_configuration FleetRuntimeConfigurationArgs
    Instructions for launching server processes on each instance in the fleet. See below.
    script_arn str
    Script ARN.
    script_id str
    ID of the GameLift Script to be deployed on the fleet.
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    Fleet ARN.
    buildArn String
    Build ARN.
    buildId String
    ID of the GameLift Build to be deployed on the fleet.
    certificateConfiguration Property Map
    Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration.
    description String
    Human-readable description of the fleet.
    ec2InboundPermissions List<Property Map>
    Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. See below.
    ec2InstanceType String
    Name of an EC2 instance typeE.g., t2.micro
    fleetType String
    Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND.
    instanceRoleArn String
    ARN of an IAM role that instances in the fleet can assume.
    logPaths List<String>
    metricGroups 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.
    name String
    The name of the fleet.
    newGameSessionProtectionPolicy String
    Game session protection policy to apply to all instances in this fleetE.g., FullProtection. Defaults to NoProtection.
    operatingSystem String
    Operating system of the fleet's computing resources.
    resourceCreationLimitPolicy Property Map
    Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. See below.
    runtimeConfiguration Property Map
    Instructions for launching server processes on each instance in the fleet. See below.
    scriptArn String
    Script ARN.
    scriptId String
    ID of the GameLift Script to be deployed on the fleet.
    tags Map<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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Supporting Types

    FleetCertificateConfiguration, FleetCertificateConfigurationArgs

    CertificateType string
    Indicates whether a TLS/SSL certificate is generated for a fleet. Valid values are DISABLED and GENERATED. Default value is DISABLED.
    CertificateType string
    Indicates whether a TLS/SSL certificate is generated for a fleet. Valid values are DISABLED and GENERATED. Default value is DISABLED.
    certificateType String
    Indicates whether a TLS/SSL certificate is generated for a fleet. Valid values are DISABLED and GENERATED. Default value is DISABLED.
    certificateType string
    Indicates whether a TLS/SSL certificate is generated for a fleet. Valid values are DISABLED and GENERATED. Default value is DISABLED.
    certificate_type str
    Indicates whether a TLS/SSL certificate is generated for a fleet. Valid values are DISABLED and GENERATED. Default value is DISABLED.
    certificateType String
    Indicates whether a TLS/SSL certificate is generated for a fleet. Valid values are DISABLED and GENERATED. Default value is DISABLED.

    FleetEc2InboundPermission, FleetEc2InboundPermissionArgs

    FromPort int
    Starting value for a range of allowed port numbers.
    IpRange string
    Range of allowed IP addresses expressed in CIDR notationE.g., 000.000.000.000/[subnet mask] or 0.0.0.0/[subnet mask].
    Protocol string
    Network communication protocol used by the fleetE.g., TCP or UDP
    ToPort int
    Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than from_port.
    FromPort int
    Starting value for a range of allowed port numbers.
    IpRange string
    Range of allowed IP addresses expressed in CIDR notationE.g., 000.000.000.000/[subnet mask] or 0.0.0.0/[subnet mask].
    Protocol string
    Network communication protocol used by the fleetE.g., TCP or UDP
    ToPort int
    Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than from_port.
    fromPort Integer
    Starting value for a range of allowed port numbers.
    ipRange String
    Range of allowed IP addresses expressed in CIDR notationE.g., 000.000.000.000/[subnet mask] or 0.0.0.0/[subnet mask].
    protocol String
    Network communication protocol used by the fleetE.g., TCP or UDP
    toPort Integer
    Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than from_port.
    fromPort number
    Starting value for a range of allowed port numbers.
    ipRange string
    Range of allowed IP addresses expressed in CIDR notationE.g., 000.000.000.000/[subnet mask] or 0.0.0.0/[subnet mask].
    protocol string
    Network communication protocol used by the fleetE.g., TCP or UDP
    toPort number
    Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than from_port.
    from_port int
    Starting value for a range of allowed port numbers.
    ip_range str
    Range of allowed IP addresses expressed in CIDR notationE.g., 000.000.000.000/[subnet mask] or 0.0.0.0/[subnet mask].
    protocol str
    Network communication protocol used by the fleetE.g., TCP or UDP
    to_port int
    Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than from_port.
    fromPort Number
    Starting value for a range of allowed port numbers.
    ipRange String
    Range of allowed IP addresses expressed in CIDR notationE.g., 000.000.000.000/[subnet mask] or 0.0.0.0/[subnet mask].
    protocol String
    Network communication protocol used by the fleetE.g., TCP or UDP
    toPort Number
    Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than from_port.

    FleetResourceCreationLimitPolicy, FleetResourceCreationLimitPolicyArgs

    NewGameSessionsPerCreator int
    Maximum number of game sessions that an individual can create during the policy period.
    PolicyPeriodInMinutes int
    Time span used in evaluating the resource creation limit policy.
    NewGameSessionsPerCreator int
    Maximum number of game sessions that an individual can create during the policy period.
    PolicyPeriodInMinutes int
    Time span used in evaluating the resource creation limit policy.
    newGameSessionsPerCreator Integer
    Maximum number of game sessions that an individual can create during the policy period.
    policyPeriodInMinutes Integer
    Time span used in evaluating the resource creation limit policy.
    newGameSessionsPerCreator number
    Maximum number of game sessions that an individual can create during the policy period.
    policyPeriodInMinutes number
    Time span used in evaluating the resource creation limit policy.
    new_game_sessions_per_creator int
    Maximum number of game sessions that an individual can create during the policy period.
    policy_period_in_minutes int
    Time span used in evaluating the resource creation limit policy.
    newGameSessionsPerCreator Number
    Maximum number of game sessions that an individual can create during the policy period.
    policyPeriodInMinutes Number
    Time span used in evaluating the resource creation limit policy.

    FleetRuntimeConfiguration, FleetRuntimeConfigurationArgs

    GameSessionActivationTimeoutSeconds int
    Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
    MaxConcurrentGameSessionActivations int
    Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
    ServerProcesses List<FleetRuntimeConfigurationServerProcess>
    Collection of server process configurations that describe which server processes to run on each instance in a fleet. See below.
    GameSessionActivationTimeoutSeconds int
    Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
    MaxConcurrentGameSessionActivations int
    Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
    ServerProcesses []FleetRuntimeConfigurationServerProcess
    Collection of server process configurations that describe which server processes to run on each instance in a fleet. See below.
    gameSessionActivationTimeoutSeconds Integer
    Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
    maxConcurrentGameSessionActivations Integer
    Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
    serverProcesses List<FleetRuntimeConfigurationServerProcess>
    Collection of server process configurations that describe which server processes to run on each instance in a fleet. See below.
    gameSessionActivationTimeoutSeconds number
    Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
    maxConcurrentGameSessionActivations number
    Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
    serverProcesses FleetRuntimeConfigurationServerProcess[]
    Collection of server process configurations that describe which server processes to run on each instance in a fleet. See below.
    game_session_activation_timeout_seconds int
    Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
    max_concurrent_game_session_activations int
    Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
    server_processes Sequence[FleetRuntimeConfigurationServerProcess]
    Collection of server process configurations that describe which server processes to run on each instance in a fleet. See below.
    gameSessionActivationTimeoutSeconds Number
    Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
    maxConcurrentGameSessionActivations Number
    Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
    serverProcesses List<Property Map>
    Collection of server process configurations that describe which server processes to run on each instance in a fleet. See below.

    FleetRuntimeConfigurationServerProcess, FleetRuntimeConfigurationServerProcessArgs

    ConcurrentExecutions int
    Number of server processes using this configuration to run concurrently on an instance.
    LaunchPath string
    Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game.
    Parameters string
    Optional list of parameters to pass to the server executable on launch.
    ConcurrentExecutions int
    Number of server processes using this configuration to run concurrently on an instance.
    LaunchPath string
    Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game.
    Parameters string
    Optional list of parameters to pass to the server executable on launch.
    concurrentExecutions Integer
    Number of server processes using this configuration to run concurrently on an instance.
    launchPath String
    Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game.
    parameters String
    Optional list of parameters to pass to the server executable on launch.
    concurrentExecutions number
    Number of server processes using this configuration to run concurrently on an instance.
    launchPath string
    Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game.
    parameters string
    Optional list of parameters to pass to the server executable on launch.
    concurrent_executions int
    Number of server processes using this configuration to run concurrently on an instance.
    launch_path str
    Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game.
    parameters str
    Optional list of parameters to pass to the server executable on launch.
    concurrentExecutions Number
    Number of server processes using this configuration to run concurrently on an instance.
    launchPath String
    Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game.
    parameters String
    Optional list of parameters to pass to the server executable on launch.

    Import

    Using pulumi import, import GameLift Fleets using the ID. For example:

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

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi