Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails = AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails' {}
- newAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails :: AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
- awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_value :: Lens' AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails (Maybe Text)
- awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_type :: Lens' AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails (Maybe Text)
Documentation
data AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source #
A resource to assign to a container.
See: newAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
smart constructor.
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails' | |
|
Instances
newAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails :: AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source #
Create a value of AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails'
, awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_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
.
$sel:type':AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails'
, awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_type
- The type of resource to assign to a container.
awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_value :: Lens' AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails (Maybe Text) Source #
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
.
awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_type :: Lens' AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails (Maybe Text) Source #
The type of resource to assign to a container.