Struct rusoto_gamelift::FleetAttributes
source · [−]pub struct FleetAttributes {Show 23 fields
pub build_arn: Option<String>,
pub build_id: Option<String>,
pub certificate_configuration: Option<CertificateConfiguration>,
pub creation_time: Option<f64>,
pub description: Option<String>,
pub fleet_arn: Option<String>,
pub fleet_id: Option<String>,
pub fleet_type: Option<String>,
pub instance_role_arn: Option<String>,
pub instance_type: Option<String>,
pub log_paths: Option<Vec<String>>,
pub metric_groups: Option<Vec<String>>,
pub name: Option<String>,
pub new_game_session_protection_policy: Option<String>,
pub operating_system: Option<String>,
pub resource_creation_limit_policy: Option<ResourceCreationLimitPolicy>,
pub script_arn: Option<String>,
pub script_id: Option<String>,
pub server_launch_parameters: Option<String>,
pub server_launch_path: Option<String>,
pub status: Option<String>,
pub stopped_actions: Option<Vec<String>>,
pub termination_time: Option<f64>,
}
Expand description
Describes a GameLift fleet of game hosting resources.
Related actions
Fields
build_arn: Option<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.
build_id: Option<String>
A unique identifier for the build resource that is deployed on instances in this fleet.
certificate_configuration: Option<CertificateConfiguration>
Indicates whether a TLS/SSL certificate was generated for the fleet.
creation_time: Option<f64>
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: Option<String>
A human-readable description of the fleet.
fleet_arn: Option<String>
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.
fleet_id: Option<String>
A unique identifier for the fleet.
fleet_type: Option<String>
The kind of instances, On-Demand or Spot, that this fleet uses.
instance_role_arn: Option<String>
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.
instance_type: Option<String>
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.
log_paths: Option<Vec<String>>
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.
metric_groups: Option<Vec<String>>
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: Option<String>
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
new_game_session_protection_policy: Option<String>
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.
operating_system: Option<String>
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.
resource_creation_limit_policy: Option<ResourceCreationLimitPolicy>
The fleet policy that limits the number of game sessions an individual player can create over a span of time.
script_arn: Option<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.
script_id: Option<String>
A unique identifier for the Realtime script resource that is deployed on instances in this fleet.
server_launch_parameters: Option<String>
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.
server_launch_path: Option<String>
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.
status: Option<String>
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.
stopped_actions: Option<Vec<String>>
A list of fleet activity that has been suspended using StopFleetActions. This includes fleet auto-scaling.
termination_time: Option<f64>
A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Trait Implementations
sourceimpl Clone for FleetAttributes
impl Clone for FleetAttributes
sourcefn clone(&self) -> FleetAttributes
fn clone(&self) -> FleetAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FleetAttributes
impl Debug for FleetAttributes
sourceimpl Default for FleetAttributes
impl Default for FleetAttributes
sourcefn default() -> FleetAttributes
fn default() -> FleetAttributes
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FleetAttributes
impl<'de> Deserialize<'de> for FleetAttributes
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FleetAttributes> for FleetAttributes
impl PartialEq<FleetAttributes> for FleetAttributes
sourcefn eq(&self, other: &FleetAttributes) -> bool
fn eq(&self, other: &FleetAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FleetAttributes) -> bool
fn ne(&self, other: &FleetAttributes) -> bool
This method tests for !=
.
impl StructuralPartialEq for FleetAttributes
Auto Trait Implementations
impl RefUnwindSafe for FleetAttributes
impl Send for FleetAttributes
impl Sync for FleetAttributes
impl Unpin for FleetAttributes
impl UnwindSafe for FleetAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more