Class: Aws::ECS::Types::ResourceRequirement
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ResourceRequirement
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass ResourceRequirement data as a hash:
{
value: "String", # required
type: "GPU", # required, accepts GPU
}
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of resource a container desires.
-
#value ⇒ String
The number of GPUs to assign to a container.
Instance Attribute Details
#type ⇒ String
The type of resource a container desires. The only supported value is ‘GPU`.
5205 5206 5207 5208 5209 |
# File 'lib/aws-sdk-ecs/types.rb', line 5205 class ResourceRequirement < Struct.new( :value, :type) include Aws::Structure end |
#value ⇒ String
The number of GPUs to assign to a container.
5205 5206 5207 5208 5209 |
# File 'lib/aws-sdk-ecs/types.rb', line 5205 class ResourceRequirement < Struct.new( :value, :type) include Aws::Structure end |