AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
A resource to assign to a container.
Contents
- Type
-
The type of resource to assign to a container. Valid values are
GPUorInferenceAccelerator.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 theDeviceNameattribute 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 Amazon SDKs, see the following: