Class: Aws::Batch::Types::QueueSnapshotCapacityUsage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

The configured capacity usage for a job queue snapshot, including the unit of measure and quantity of resources being used.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_unit ⇒ String

The unit of measure for the capacity usage. For compute jobs, this is VCPU for Amazon EC2 and cpu for Amazon EKS. For service jobs, this is the instance type.

Returns:

  • (String)


9098
9099
9100
9101
9102
9103
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 9098

class QueueSnapshotCapacityUsage < Struct.new(
  :capacity_unit,
  :quantity)
  SENSITIVE = []
  include Aws::Structure
end

#quantity ⇒ Float

The quantity of capacity being used in the queue snapshot, measured in the units specified by capacityUnit.

Returns:

  • (Float)


9098
9099
9100
9101
9102
9103
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 9098

class QueueSnapshotCapacityUsage < Struct.new(
  :capacity_unit,
  :quantity)
  SENSITIVE = []
  include Aws::Structure
end