AWS CloudFormation
User Guide (Version )

AWS::Batch::JobDefinition ResourceRequirement

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

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : String, "Value" : String }

YAML

Type: String Value: String

Properties

Type

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

Required: No

Type: String

Allowed Values: GPU

Update requires: No interruption

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.

Required: No

Type: String

Update requires: No interruption

On this page: