AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The type and amount of a resource to assign to a container. The supported resource types are GPUs and Elastic Inference accelerators. For more information, see Working with GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class ResourceRequirement
The ResourceRequirement type exposes the following members
Name | Description | |
---|---|---|
![]() |
ResourceRequirement() |
Name | Type | Description | |
---|---|---|---|
![]() |
Type | Amazon.ECS.ResourceType |
Gets and sets the property Type. The type of resource to assign to a container. |
![]() |
Value | System.String |
Gets and sets the property Value. The value for the specified resource type.
When the type is
When the type is |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5