FleetAttributes class
General properties describing a fleet.
Constructors
-
FleetAttributes.new({String? buildArn, String? buildId, CertificateConfiguration? certificateConfiguration, DateTime? creationTime, String? description, String? fleetArn, String? fleetId, FleetType? fleetType, String? instanceRoleArn, EC2InstanceType? instanceType, List<
String> ? logPaths, List<String> ? metricGroups, String? name, ProtectionPolicy? newGameSessionProtectionPolicy, OperatingSystem? operatingSystem, ResourceCreationLimitPolicy? resourceCreationLimitPolicy, String? scriptArn, String? scriptId, String? serverLaunchParameters, String? serverLaunchPath, FleetStatus? status, List<FleetAction> ? stoppedActions, DateTime? terminationTime}) -
FleetAttributes.fromJson(Map<
String, dynamic> json) -
factory
Properties
- buildArn → String?
-
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.
final
- buildId → String?
-
A unique identifier for a build.
final
- certificateConfiguration → CertificateConfiguration?
-
Indicates whether a TLS/SSL certificate was generated for the fleet.
final
- creationTime → DateTime?
-
Time stamp indicating when this data object was created. Format is a number
expressed in Unix time as milliseconds (for example "1469498468.057").
final
- description → String?
-
Human-readable description of the fleet.
final
- fleetArn → String?
-
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
ARNs are unique across all Regions. In a GameLift fleet ARN, the resource ID
matches the FleetId value.
final
- fleetId → String?
-
A unique identifier for a fleet.
final
- fleetType → FleetType?
-
Indicates whether the fleet uses on-demand or spot instances. A spot
instance in use may be interrupted with a two-minute notification.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceRoleArn → String?
-
A unique identifier for an AWS IAM role that manages access to your AWS
services.
final
- instanceType → EC2InstanceType?
-
EC2 instance type indicating the computing resources of each instance in the
fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance
Types for detailed descriptions.
final
-
logPaths
→ List<
String> ? -
Location of default log files. When a server process is shut down, Amazon
GameLift captures and stores any log files in this location. These logs are
in addition to game session logs; see more on game session logs in the Amazon
GameLift Developer Guide. If no default log path for a fleet is
specified, Amazon GameLift automatically uploads logs that are stored on
each instance at
C:\game\logs
(for Windows) or/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.final -
metricGroups
→ List<
String> ? -
Names of metric groups that this fleet is included in. In Amazon CloudWatch,
you can view metrics for an individual fleet or aggregated metrics for
fleets that are in a fleet metric group. A fleet can be included in only one
metric group at a time.
final
- name → String?
-
A descriptive label that is associated with a fleet. Fleet names do not need
to be unique.
final
- newGameSessionProtectionPolicy → ProtectionPolicy?
-
The type of game session protection to set for all new instances started in
the fleet.
final
- operatingSystem → OperatingSystem?
-
Operating system of the fleet's computing resources. A fleet's operating
system depends on the OS specified for the build that is deployed on this
fleet.
final
- resourceCreationLimitPolicy → ResourceCreationLimitPolicy?
-
Fleet policy to limit the number of game sessions an individual player can
create over a span of time.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptArn → String?
-
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.
final
- scriptId → String?
-
A unique identifier for a Realtime script.
final
- serverLaunchParameters → String?
-
Game server launch parameters specified for fleets created before 2016-08-04
(or AWS SDK v. 0.12.16). Server launch parameters for fleets created after
this date are specified in the fleet's RuntimeConfiguration.
final
- serverLaunchPath → String?
-
Path to a game server executable in the fleet's build, specified for fleets
created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for
fleets created after this date are specified in the fleet's
RuntimeConfiguration.
final
- status → FleetStatus?
-
Current status of the fleet.
final
-
stoppedActions
→ List<
FleetAction> ? -
List of fleet activity that have been suspended using
StopFleetActions. This includes auto-scaling.
final
- terminationTime → DateTime?
-
Time stamp indicating when this data object was terminated. Format is a
number expressed in Unix time as milliseconds (for example
"1469498468.057").
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited