import { Value } from '../../../cloudformation/Value';
/**
  The type and amount of resources to assign to a container. The supported resources include <code>memory</code>, <code>cpu</code>, and <code>nvidia.com/gpu</code>. For more information, see <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/">Resource management for pods and containers</a> in the <em>Kubernetes documentation</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerresourcerequirements.html">the AWS Docs</a>
*/
export interface EksContainerResourceRequirementsProps {
    /** <code>Limits</code>  <a name="cfn-batch-jobdefinition-ekscontainerresourcerequirements-limits"></a>
  The type and quantity of the resources to reserve for the container. The values vary based on the <code>name</code> that’s specified. Resources can be requested using either the <code>limits</code> or the <code>requests</code> objects.<br />
  memory<br />
  The memory hard limit (in MiB) for the container, using whole integers, with a “Mi” suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. <code>memory</code> can be specified in <code>limits</code>, <code>requests</code>, or both. If <code>memory</code> is specified in both places, then the value that’s specified in <code>limits</code> must be equal to the value that’s specified in <code>requests</code>.<br />
  To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html">Memory management</a> in the * AWS Batch User Guide*.<br />
  cpu<br />
  The number of CPUs that’s reserved for the container. Values must be an even multiple of <code>0.25</code>. <code>cpu</code> can be specified in <code>limits</code>, <code>requests</code>, or both. If <code>cpu</code> is specified in both places, then the value that’s specified in <code>limits</code> must be at least as large as the value that’s specified in <code>requests</code>.<br />
  nvidia.com/gpu<br />
  The number of GPUs that’s reserved for the container. Values must be a whole integer. <code>memory</code> can be specified in <code>limits</code>, <code>requests</code>, or both. If <code>memory</code> is specified in both places, then the value that’s specified in <code>limits</code> must be equal to the value that’s specified in <code>requests</code>.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    limits?: Value<any>;
    /** <code>Requests</code>  <a name="cfn-batch-jobdefinition-ekscontainerresourcerequirements-requests"></a>
  The type and quantity of the resources to request for the container. The values vary based on the <code>name</code> that’s specified. Resources can be requested by using either the <code>limits</code> or the <code>requests</code> objects.<br />
  memory<br />
  The memory hard limit (in MiB) for the container, using whole integers, with a “Mi” suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. <code>memory</code> can be specified in <code>limits</code>, <code>requests</code>, or both. If <code>memory</code> is specified in both, then the value that’s specified in <code>limits</code> must be equal to the value that’s specified in <code>requests</code>.<br />
  If you’re trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html">Memory management</a> in the * AWS Batch User Guide*.<br />
  cpu<br />
  The number of CPUs that are reserved for the container. Values must be an even multiple of <code>0.25</code>. <code>cpu</code> can be specified in <code>limits</code>, <code>requests</code>, or both. If <code>cpu</code> is specified in both, then the value that’s specified in <code>limits</code> must be at least as large as the value that’s specified in <code>requests</code>.<br />
  nvidia.com/gpu<br />
  The number of GPUs that are reserved for the container. Values must be a whole integer. <code>nvidia.com/gpu</code> can be specified in <code>limits</code>, <code>requests</code>, or both. If <code>nvidia.com/gpu</code> is specified in both, then the value that’s specified in <code>limits</code> must be equal to the value that’s specified in <code>requests</code>.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    requests?: Value<any>;
}
