public static interface AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder |
type(String type)
The type of resource to assign to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder |
value(String value)
The value for the specified resource type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder type(String type)
The type of resource to assign to a container. Valid values are GPU or
InferenceAccelerator.
type - The type of resource to assign to a container. Valid values are GPU or
InferenceAccelerator.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder value(String 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.
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.
Copyright © 2023. All rights reserved.