AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
A resource to assign to a container.
Contents
- Type
-
The type of resource to assign to a container. Valid values are
GPU
orInferenceAccelerator
.Type: String
Pattern:
.*\S.*
Required: No
- Value
-
The value for the specified resource type.
For
GPU
, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container.For
InferenceAccelerator
, the value should match theDeviceName
attribute of an entry inInferenceAccelerators
.Type: String
Pattern:
.*\S.*
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: