Struct aws_sdk_gamelift::model::FleetCapacity [−][src]
#[non_exhaustive]pub struct FleetCapacity {
pub fleet_id: Option<String>,
pub fleet_arn: Option<String>,
pub instance_type: Option<Ec2InstanceType>,
pub instance_counts: Option<Ec2InstanceCounts>,
pub location: Option<String>,
}
Expand description
Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
Related actions
DescribeFleetCapacity | DescribeFleetLocationCapacity | UpdateFleetCapacity
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 associated with the location.
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_type: Option<Ec2InstanceType>
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instance_counts: Option<Ec2InstanceCounts>
The current instance count and capacity settings for the fleet location.
location: Option<String>
The fleet location for the instance count information, expressed as an AWS Region
code, such as us-west-2
.
Implementations
A unique identifier for the fleet associated with the location.
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:
.
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
The current instance count and capacity settings for the fleet location.
Creates a new builder-style object to manufacture FleetCapacity
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FleetCapacity
impl Send for FleetCapacity
impl Sync for FleetCapacity
impl Unpin for FleetCapacity
impl UnwindSafe for FleetCapacity
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