Class: Aws::Batch::Types::CreateConsumableResourceRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::Batch::Types::CreateConsumableResourceRequest
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-batch/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #consumable_resource_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the consumable resource. 
- 
  
    
      #resource_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether the resource is available to be re-used after a job completes. 
- 
  
    
      #tags  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The tags that you apply to the consumable resource to help you categorize and organize your resources. 
- 
  
    
      #total_quantity  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total amount of the consumable resource that is available. 
Instance Attribute Details
#consumable_resource_name ⇒ String
The name of the consumable resource. Must be unique.
| 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_type ⇒ String
Indicates whether the resource is available to be re-used after a job completes. Can be one of:
- 
‘REPLENISHABLE` (default) 
- 
‘NON_REPLENISHABLE` 
| 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 | 
#tags ⇒ Hash<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
| 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_quantity ⇒ Integer
The total amount of the consumable resource that is available. Must be non-negative.
| 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 |