AWS Batch
API Reference (API Version 2016-08-10)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

ResourceRequirement

The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU.

Contents

type

The type of resource to assign to a container. Currently, the only supported resource type is GPU.

Type: String

Valid Values: GPU

Required: Yes

value

The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job 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: