Struct aws_sdk_gamelift::model::Instance [−][src]
#[non_exhaustive]pub struct Instance {
pub fleet_id: Option<String>,
pub fleet_arn: Option<String>,
pub instance_id: Option<String>,
pub ip_address: Option<String>,
pub dns_name: Option<String>,
pub operating_system: Option<OperatingSystem>,
pub type: Option<Ec2InstanceType>,
pub status: Option<InstanceStatus>,
pub creation_time: Option<DateTime>,
pub location: Option<String>,
}
Expand description
Represents an EC2 instance of virtual computing resources that hosts one or more game servers. In GameLift, a fleet can contain zero or more instances.
Related actions
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.fleet_id: Option<String>
A unique identifier for the fleet that the instance is in.
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:
.
instance_id: Option<String>
A unique identifier for the instance.
ip_address: Option<String>
IP address that is assigned to the instance.
dns_name: Option<String>
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
-
TLS-enabled fleets:
.. .amazongamelift.com -
Non-TLS-enabled fleets:
ec2-
. (See Amazon EC2 Instance IP Addressing.).compute.amazonaws.com
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
operating_system: Option<OperatingSystem>
Operating system that is running on this instance.
type: Option<Ec2InstanceType>
EC2 instance type that defines the computing resources of this instance.
status: Option<InstanceStatus>
Current status of the instance. Possible statuses include the following:
-
PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.
-
ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.
-
TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.
creation_time: Option<DateTime>
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
location: Option<String>
The fleet location of the instance, expressed as an AWS Region
code, such as us-west-2
.
Implementations
A unique identifier for the fleet that the instance is in.
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:
.
A unique identifier for the instance.
IP address that is assigned to the instance.
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
-
TLS-enabled fleets:
.. .amazongamelift.com -
Non-TLS-enabled fleets:
ec2-
. (See Amazon EC2 Instance IP Addressing.).compute.amazonaws.com
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
Operating system that is running on this instance.
EC2 instance type that defines the computing resources of this instance.
Current status of the instance. Possible statuses include the following:
-
PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.
-
ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.
-
TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl UnwindSafe for Instance
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