Class: Aws::Batch::Types::ConsumableResourceSummary

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

Overview

Current information about a consumable resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#consumable_resource_arnString

The Amazon Resource Name (ARN) of the consumable resource.

Returns:

  • (String)


1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1504

class ConsumableResourceSummary < Struct.new(
  :consumable_resource_arn,
  :consumable_resource_name,
  :total_quantity,
  :in_use_quantity,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#consumable_resource_nameString

The name of the consumable resource.

Returns:

  • (String)


1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1504

class ConsumableResourceSummary < Struct.new(
  :consumable_resource_arn,
  :consumable_resource_name,
  :total_quantity,
  :in_use_quantity,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#in_use_quantityInteger

The amount of the consumable resource that is currently in use.

Returns:

  • (Integer)


1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1504

class ConsumableResourceSummary < Struct.new(
  :consumable_resource_arn,
  :consumable_resource_name,
  :total_quantity,
  :in_use_quantity,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

Indicates whether the resource is available to be re-used after a job completes. Can be one of:

  • REPLENISHABLE

  • NON_REPLENISHABLE

Returns:

  • (String)


1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1504

class ConsumableResourceSummary < Struct.new(
  :consumable_resource_arn,
  :consumable_resource_name,
  :total_quantity,
  :in_use_quantity,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#total_quantityInteger

The total amount of the consumable resource that is available.

Returns:

  • (Integer)


1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1504

class ConsumableResourceSummary < Struct.new(
  :consumable_resource_arn,
  :consumable_resource_name,
  :total_quantity,
  :in_use_quantity,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end