AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

A resource to assign to a container.

Contents

Type

The type of resource to assign to a container. Valid values are GPU or InferenceAccelerator.

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 the DeviceName attribute of an entry in InferenceAccelerators.

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: