Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data FleetAttributes = FleetAttributes' {
- creationTime :: Maybe POSIX
- status :: Maybe FleetStatus
- serverLaunchParameters :: Maybe Text
- logPaths :: Maybe [Text]
- operatingSystem :: Maybe OperatingSystem
- buildId :: Maybe Text
- fleetArn :: Maybe Text
- fleetType :: Maybe FleetType
- terminationTime :: Maybe POSIX
- instanceType :: Maybe EC2InstanceType
- stoppedActions :: Maybe (NonEmpty FleetAction)
- newGameSessionProtectionPolicy' :: Maybe ProtectionPolicy
- name :: Maybe Text
- scriptId :: Maybe Text
- scriptArn :: Maybe Text
- certificateConfiguration :: Maybe CertificateConfiguration
- serverLaunchPath :: Maybe Text
- instanceRoleArn :: Maybe Text
- metricGroups :: Maybe [Text]
- buildArn :: Maybe Text
- fleetId :: Maybe Text
- description :: Maybe Text
- resourceCreationLimitPolicy :: Maybe ResourceCreationLimitPolicy
- newFleetAttributes :: FleetAttributes
- fleetAttributes_creationTime :: Lens' FleetAttributes (Maybe UTCTime)
- fleetAttributes_status :: Lens' FleetAttributes (Maybe FleetStatus)
- fleetAttributes_serverLaunchParameters :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_logPaths :: Lens' FleetAttributes (Maybe [Text])
- fleetAttributes_operatingSystem :: Lens' FleetAttributes (Maybe OperatingSystem)
- fleetAttributes_buildId :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_fleetArn :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_fleetType :: Lens' FleetAttributes (Maybe FleetType)
- fleetAttributes_terminationTime :: Lens' FleetAttributes (Maybe UTCTime)
- fleetAttributes_instanceType :: Lens' FleetAttributes (Maybe EC2InstanceType)
- fleetAttributes_stoppedActions :: Lens' FleetAttributes (Maybe (NonEmpty FleetAction))
- fleetAttributes_newGameSessionProtectionPolicy :: Lens' FleetAttributes (Maybe ProtectionPolicy)
- fleetAttributes_name :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_scriptId :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_scriptArn :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_certificateConfiguration :: Lens' FleetAttributes (Maybe CertificateConfiguration)
- fleetAttributes_serverLaunchPath :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_instanceRoleArn :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_metricGroups :: Lens' FleetAttributes (Maybe [Text])
- fleetAttributes_buildArn :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_fleetId :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_description :: Lens' FleetAttributes (Maybe Text)
- fleetAttributes_resourceCreationLimitPolicy :: Lens' FleetAttributes (Maybe ResourceCreationLimitPolicy)
Documentation
data FleetAttributes Source #
Describes a GameLift fleet of game hosting resources.
Related actions
CreateFleet | DescribeFleetAttributes
See: newFleetAttributes
smart constructor.
FleetAttributes' | |
|
Instances
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: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: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:serverLaunchParameters:FleetAttributes'
, fleetAttributes_serverLaunchParameters
- This parameter is no longer used. Server launch parameters are now
defined using the fleet's RuntimeConfiguration parameter. Requests that
use this parameter instead continue to be valid.
$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: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:buildId:FleetAttributes'
, fleetAttributes_buildId
- A unique identifier for the build resource that is deployed on instances
in this 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:fleetType:FleetAttributes'
, fleetAttributes_fleetType
- The kind of instances, On-Demand or Spot, that this fleet uses.
$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"
).
$sel:instanceType:FleetAttributes'
, fleetAttributes_instanceType
- The 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 EC2 Instance Types
for detailed descriptions.
$sel:stoppedActions:FleetAttributes'
, fleetAttributes_stoppedActions
- A list of fleet activity that has been suspended using StopFleetActions.
This includes fleet auto-scaling.
$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:name:FleetAttributes'
, fleetAttributes_name
- A descriptive label that is associated with a fleet. Fleet names do not
need to be unique.
$sel:scriptId:FleetAttributes'
, fleetAttributes_scriptId
- A unique identifier for the Realtime script resource that is deployed on
instances in this fleet.
$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:certificateConfiguration:FleetAttributes'
, fleetAttributes_certificateConfiguration
- Indicates whether a TLS/SSL certificate was generated for the fleet.
$sel:serverLaunchPath:FleetAttributes'
, fleetAttributes_serverLaunchPath
- This parameter is no longer used. Server launch paths are now
defined using the fleet's RuntimeConfiguration parameter. Requests that
use this parameter instead continue to be valid.
$sel:instanceRoleArn:FleetAttributes'
, fleetAttributes_instanceRoleArn
- A unique identifier for an AWS IAM role that manages access to your AWS
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 AWS
Management Console. Learn more about using on-box credentials for your
game servers at
Access external resources from a game server.
$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: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:fleetId:FleetAttributes'
, fleetAttributes_fleetId
- A unique identifier for the fleet.
$sel:description:FleetAttributes'
, fleetAttributes_description
- A human-readable description of the fleet.
$sel:resourceCreationLimitPolicy:FleetAttributes'
, fleetAttributes_resourceCreationLimitPolicy
- The fleet policy that limits the number of game sessions an individual
player can create over a span of time.
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_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_serverLaunchParameters :: Lens' FleetAttributes (Maybe Text) Source #
This parameter is no longer used. Server launch parameters are now defined using the fleet's RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.
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_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_buildId :: Lens' FleetAttributes (Maybe Text) Source #
A unique identifier for the build resource that is deployed on instances in this 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_fleetType :: Lens' FleetAttributes (Maybe FleetType) Source #
The kind of instances, On-Demand or Spot, that this fleet uses.
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"
).
fleetAttributes_instanceType :: Lens' FleetAttributes (Maybe EC2InstanceType) Source #
The 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 EC2 Instance Types for detailed descriptions.
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_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_name :: Lens' FleetAttributes (Maybe Text) Source #
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
fleetAttributes_scriptId :: Lens' FleetAttributes (Maybe Text) Source #
A unique identifier for the Realtime script resource that is deployed on instances in 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_certificateConfiguration :: Lens' FleetAttributes (Maybe CertificateConfiguration) Source #
Indicates whether a TLS/SSL certificate was generated for the fleet.
fleetAttributes_serverLaunchPath :: Lens' FleetAttributes (Maybe Text) Source #
This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.
fleetAttributes_instanceRoleArn :: Lens' FleetAttributes (Maybe Text) Source #
A unique identifier for an AWS IAM role that manages access to your AWS 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 AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server.
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_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_fleetId :: Lens' FleetAttributes (Maybe Text) Source #
A unique identifier for the fleet.
fleetAttributes_description :: Lens' FleetAttributes (Maybe Text) Source #
A human-readable description of the fleet.
fleetAttributes_resourceCreationLimitPolicy :: Lens' FleetAttributes (Maybe ResourceCreationLimitPolicy) Source #
The fleet policy that limits the number of game sessions an individual player can create over a span of time.