Struct aws_sdk_gamelift::model::fleet_attributes::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for FleetAttributes
Implementations
A unique identifier for the fleet.
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:
. In a GameLift fleet ARN, the resource ID matches the FleetId
value.
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:
. In a GameLift fleet ARN, the resource ID matches the FleetId
value.
The kind of instances, On-Demand or Spot, that this fleet uses.
The kind of instances, On-Demand or Spot, that this fleet uses.
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.
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.
A human-readable description of the fleet.
A human-readable description of the fleet.
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
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.
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.
A unique identifier for the build resource that is deployed on instances in this fleet.
A unique identifier for the build resource that is deployed on instances in this fleet.
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.
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.
A unique identifier for the Realtime script resource that is deployed on instances in this fleet.
A unique identifier for the Realtime script resource that is deployed on instances in this fleet.
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.
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.
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.
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.
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.
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.
Appends an item to log_paths
.
To override the contents of this collection use set_log_paths
.
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.
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.
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.
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.
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.
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.
The fleet policy that limits the number of game sessions an individual player can create over a span of time.
pub fn set_resource_creation_limit_policy(
self,
input: Option<ResourceCreationLimitPolicy>
) -> Self
pub fn set_resource_creation_limit_policy(
self,
input: Option<ResourceCreationLimitPolicy>
) -> Self
The fleet policy that limits the number of game sessions an individual player can create over a span of time.
Appends an item to metric_groups
.
To override the contents of this collection use set_metric_groups
.
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 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.
Appends an item to stopped_actions
.
To override the contents of this collection use set_stopped_actions
.
A list of fleet activity that has been suspended using StopFleetActions. This includes fleet auto-scaling.
A list of fleet activity that has been suspended using StopFleetActions. This includes fleet auto-scaling.
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.
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.
Indicates whether a TLS/SSL certificate was generated for the fleet.
Indicates whether a TLS/SSL certificate was generated for the fleet.
Consumes the builder and constructs a FleetAttributes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more