Amazon Elastic Container Service
API Reference (API Version 2014-11-13)

ResourceRequirement

The type and amount of a resource to assign to a container. The only supported resource is a GPU. For more information, see Working with GPUs on Amazon ECS in the Amazon Elastic Container Service Developer Guide

Contents

type

The type of resource to assign to a container. The only supported value is GPU.

Type: String

Valid Values: GPU

Required: Yes

value

The number of physical GPUs the Amazon ECS container agent will reserve for the container. The number of GPUs reserved for all containers in a task should not exceed the number of available GPUs on the container instance the task is launched on.

Type: String

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: