Class: Aws::Batch::Types::CreateConsumableResourceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#consumable_resource_nameString

The name of the consumable resource. Must be unique.

Returns:

  • (String)


2364
2365
2366
2367
2368
2369
2370
2371
# File 'lib/aws-sdk-batch/types.rb', line 2364

class CreateConsumableResourceRequest < Struct.new(
  :consumable_resource_name,
  :total_quantity,
  :resource_type,
  :tags)
  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` (default)

  • ‘NON_REPLENISHABLE`

Returns:

  • (String)


2364
2365
2366
2367
2368
2369
2370
2371
# File 'lib/aws-sdk-batch/types.rb', line 2364

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

#tagsHash<String,String>

The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see [Tagging your Batch resources].

[1]: docs.aws.amazon.com/batch/latest/userguide/using-tags.html

Returns:

  • (Hash<String,String>)


2364
2365
2366
2367
2368
2369
2370
2371
# File 'lib/aws-sdk-batch/types.rb', line 2364

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

#total_quantityInteger

The total amount of the consumable resource that is available. Must be non-negative.

Returns:

  • (Integer)


2364
2365
2366
2367
2368
2369
2370
2371
# File 'lib/aws-sdk-batch/types.rb', line 2364

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