import { Value } from '../../../cloudformation/Value';
/**
  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 <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html">Working with GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the <em>Amazon Elastic Container Service Developer Guide</em>
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html">the AWS Docs</a>
*/
export interface ResourceRequirementProps {
    /** <code>Type</code>  <a name="cfn-ecs-taskdefinition-resourcerequirement-type"></a>
  The type of resource to assign to a container. The supported values are <code>GPU</code> or <code>InferenceAccelerator</code>.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>GPU | InferenceAccelerator</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    type: Value<'GPU' | 'InferenceAccelerator'>;
    /** <code>Value</code>  <a name="cfn-ecs-taskdefinition-resourcerequirement-value"></a>
  The value for the specified resource type.<br />
  If the <code>GPU</code> type is used, the value is the number of physical <code>GPUs</code> the Amazon ECS container agent reserves for the container. The number of GPUs that’s reserved for all containers in a task can’t exceed the number of available GPUs on the container instance that the task is launched on.<br />
  If the <code>InferenceAccelerator</code> type is used, the <code>value</code> matches the <code>deviceName</code> for an <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html">InferenceAccelerator</a> specified in a task definition.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    value: Value<string>;
}
