amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.Types.FleetAttributes

Description

 
Synopsis

Documentation

data FleetAttributes Source #

Describes a GameLift fleet of game hosting resources.

Related actions

See: newFleetAttributes smart constructor.

Constructors

FleetAttributes' 

Fields

  • anywhereConfiguration :: Maybe AnywhereConfiguration
     
  • buildArn :: Maybe Text

    The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.

  • buildId :: Maybe Text

    A unique identifier for the build resource that is deployed on instances in this fleet.

  • certificateConfiguration :: Maybe CertificateConfiguration
     
  • computeType :: Maybe ComputeType

    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.

  • creationTime :: Maybe POSIX

    A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

  • description :: Maybe Text

    A human-readable description of the fleet.

  • fleetArn :: Maybe Text

    The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift fleet ARN, the resource ID matches the FleetId value.

  • fleetId :: Maybe Text

    A unique identifier for the fleet.

  • fleetType :: Maybe FleetType

    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 :: Maybe Text

    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.

  • instanceType :: Maybe EC2InstanceType

    The Amazon EC2 instance type that determines the computing resources of each instance in the fleet. Instance type defines the CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.

  • logPaths :: Maybe [Text]

    This parameter is no longer used. Game session log paths are now defined using the GameLift server API ProcessReady() logParameters. See more information in the Server API Reference.

  • metricGroups :: Maybe [Text]

    Name of a metric group that metrics for this fleet are added to. In Amazon CloudWatch, you can view aggregated metrics for fleets that are in a metric group. A fleet can be included in only one metric group at a time.

  • name :: Maybe Text

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

  • newGameSessionProtectionPolicy' :: Maybe ProtectionPolicy

    The type of game session protection to set on all new instances that are 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.
  • operatingSystem :: Maybe OperatingSystem

    The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet.

  • resourceCreationLimitPolicy :: Maybe ResourceCreationLimitPolicy
     
  • scriptArn :: Maybe Text

    The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.

  • scriptId :: Maybe Text

    A unique identifier for the Realtime script resource that is deployed on instances in this fleet.

  • serverLaunchParameters :: Maybe Text

    This parameter is no longer used. Server launch parameters are now defined using the fleet's runtime configuration . Requests that use this parameter instead continue to be valid.

  • serverLaunchPath :: Maybe Text

    This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration . Requests that use this parameter instead continue to be valid.

  • status :: Maybe FleetStatus

    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 -- 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.
  • stoppedActions :: Maybe (NonEmpty FleetAction)

    A list of fleet activity that has been suspended using StopFleetActions . This includes fleet auto-scaling.

  • terminationTime :: Maybe POSIX

    A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

Instances

Instances details
FromJSON FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

Generic FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

Associated Types

type Rep FleetAttributes :: Type -> Type #

Read FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

Show FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

NFData FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

Methods

rnf :: FleetAttributes -> () #

Eq FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

Hashable FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

type Rep FleetAttributes Source # 
Instance details

Defined in Amazonka.GameLift.Types.FleetAttributes

type Rep FleetAttributes = D1 ('MetaData "FleetAttributes" "Amazonka.GameLift.Types.FleetAttributes" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "FleetAttributes'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "anywhereConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AnywhereConfiguration)) :*: (S1 ('MetaSel ('Just "buildArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "buildId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "certificateConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CertificateConfiguration)) :*: (S1 ('MetaSel ('Just "computeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeType)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fleetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "fleetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FleetType)) :*: (S1 ('MetaSel ('Just "instanceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2InstanceType)))))) :*: (((S1 ('MetaSel ('Just "logPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "metricGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "newGameSessionProtectionPolicy'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProtectionPolicy)) :*: (S1 ('MetaSel ('Just "operatingSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OperatingSystem)) :*: S1 ('MetaSel ('Just "resourceCreationLimitPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceCreationLimitPolicy))))) :*: ((S1 ('MetaSel ('Just "scriptArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scriptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serverLaunchParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "serverLaunchPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FleetStatus))) :*: (S1 ('MetaSel ('Just "stoppedActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty FleetAction))) :*: S1 ('MetaSel ('Just "terminationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))))

newFleetAttributes :: FleetAttributes Source #

Create a value of FleetAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:anywhereConfiguration:FleetAttributes', fleetAttributes_anywhereConfiguration - Undocumented member.

$sel:buildArn:FleetAttributes', fleetAttributes_buildArn - The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.

$sel:buildId:FleetAttributes', fleetAttributes_buildId - A unique identifier for the build resource that is deployed on instances in this fleet.

$sel:certificateConfiguration:FleetAttributes', fleetAttributes_certificateConfiguration - Undocumented member.

$sel:computeType:FleetAttributes', fleetAttributes_computeType - 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.

$sel:creationTime:FleetAttributes', fleetAttributes_creationTime - A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

$sel:description:FleetAttributes', fleetAttributes_description - A human-readable description of the fleet.

$sel:fleetArn:FleetAttributes', fleetAttributes_fleetArn - The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift fleet ARN, the resource ID matches the FleetId value.

$sel:fleetId:FleetAttributes', fleetAttributes_fleetId - A unique identifier for the fleet.

$sel:fleetType:FleetAttributes', fleetAttributes_fleetType - 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.

$sel:instanceRoleArn:FleetAttributes', fleetAttributes_instanceRoleArn - 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.

$sel:instanceType:FleetAttributes', fleetAttributes_instanceType - The Amazon EC2 instance type that determines the computing resources of each instance in the fleet. Instance type defines the CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.

$sel:logPaths:FleetAttributes', fleetAttributes_logPaths - This parameter is no longer used. Game session log paths are now defined using the GameLift server API ProcessReady() logParameters. See more information in the Server API Reference.

$sel:metricGroups:FleetAttributes', fleetAttributes_metricGroups - Name of a metric group that metrics for this fleet are added to. In Amazon CloudWatch, you can view aggregated metrics for fleets that are in a metric group. A fleet can be included in only one metric group at a time.

$sel:name:FleetAttributes', fleetAttributes_name - A descriptive label that is associated with a fleet. Fleet names do not need to be unique.

$sel:newGameSessionProtectionPolicy':FleetAttributes', fleetAttributes_newGameSessionProtectionPolicy - The type of game session protection to set on all new instances that are 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.

$sel:operatingSystem:FleetAttributes', fleetAttributes_operatingSystem - The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet.

$sel:resourceCreationLimitPolicy:FleetAttributes', fleetAttributes_resourceCreationLimitPolicy - Undocumented member.

$sel:scriptArn:FleetAttributes', fleetAttributes_scriptArn - The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.

$sel:scriptId:FleetAttributes', fleetAttributes_scriptId - A unique identifier for the Realtime script resource that is deployed on instances in this fleet.

$sel:serverLaunchParameters:FleetAttributes', fleetAttributes_serverLaunchParameters - This parameter is no longer used. Server launch parameters are now defined using the fleet's runtime configuration . Requests that use this parameter instead continue to be valid.

$sel:serverLaunchPath:FleetAttributes', fleetAttributes_serverLaunchPath - This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration . Requests that use this parameter instead continue to be valid.

$sel:status:FleetAttributes', fleetAttributes_status - 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 -- 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.

$sel:stoppedActions:FleetAttributes', fleetAttributes_stoppedActions - A list of fleet activity that has been suspended using StopFleetActions . This includes fleet auto-scaling.

$sel:terminationTime:FleetAttributes', fleetAttributes_terminationTime - A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

fleetAttributes_buildArn :: Lens' FleetAttributes (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.

fleetAttributes_buildId :: Lens' FleetAttributes (Maybe Text) Source #

A unique identifier for the build resource that is deployed on instances in this fleet.

fleetAttributes_computeType :: Lens' FleetAttributes (Maybe ComputeType) Source #

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.

fleetAttributes_creationTime :: Lens' FleetAttributes (Maybe UTCTime) Source #

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

fleetAttributes_description :: Lens' FleetAttributes (Maybe Text) Source #

A human-readable description of the fleet.

fleetAttributes_fleetArn :: Lens' FleetAttributes (Maybe Text) Source #

The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift fleet ARN, the resource ID matches the FleetId value.

fleetAttributes_fleetId :: Lens' FleetAttributes (Maybe Text) Source #

A unique identifier for the fleet.

fleetAttributes_fleetType :: Lens' FleetAttributes (Maybe FleetType) Source #

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.

fleetAttributes_instanceRoleArn :: Lens' FleetAttributes (Maybe Text) Source #

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.

fleetAttributes_instanceType :: Lens' FleetAttributes (Maybe EC2InstanceType) Source #

The Amazon EC2 instance type that determines the computing resources of each instance in the fleet. Instance type defines the CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.

fleetAttributes_logPaths :: Lens' FleetAttributes (Maybe [Text]) Source #

This parameter is no longer used. Game session log paths are now defined using the GameLift server API ProcessReady() logParameters. See more information in the Server API Reference.

fleetAttributes_metricGroups :: Lens' FleetAttributes (Maybe [Text]) Source #

Name of a metric group that metrics for this fleet are added to. In Amazon CloudWatch, you can view aggregated metrics for fleets that are in a metric group. A fleet can be included in only one metric group at a time.

fleetAttributes_name :: Lens' FleetAttributes (Maybe Text) Source #

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

fleetAttributes_newGameSessionProtectionPolicy :: Lens' FleetAttributes (Maybe ProtectionPolicy) Source #

The type of game session protection to set on all new instances that are 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.

fleetAttributes_operatingSystem :: Lens' FleetAttributes (Maybe OperatingSystem) Source #

The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet.

fleetAttributes_scriptArn :: Lens' FleetAttributes (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.

fleetAttributes_scriptId :: Lens' FleetAttributes (Maybe Text) Source #

A unique identifier for the Realtime script resource that is deployed on instances in this fleet.

fleetAttributes_serverLaunchParameters :: Lens' FleetAttributes (Maybe Text) Source #

This parameter is no longer used. Server launch parameters are now defined using the fleet's runtime configuration . Requests that use this parameter instead continue to be valid.

fleetAttributes_serverLaunchPath :: Lens' FleetAttributes (Maybe Text) Source #

This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration . Requests that use this parameter instead continue to be valid.

fleetAttributes_status :: Lens' FleetAttributes (Maybe FleetStatus) Source #

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 -- 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.

fleetAttributes_stoppedActions :: Lens' FleetAttributes (Maybe (NonEmpty FleetAction)) Source #

A list of fleet activity that has been suspended using StopFleetActions . This includes fleet auto-scaling.

fleetAttributes_terminationTime :: Lens' FleetAttributes (Maybe UTCTime) Source #

A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").