Class CfnTaskDefinition.ResourceRequirementProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CfnTaskDefinition.ResourceRequirementProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnTaskDefinition.ResourceRequirementProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnTaskDefinition.ResourceRequirementProperty
@Stability(Stable)
@Internal
public static final class CfnTaskDefinition.ResourceRequirementProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnTaskDefinition.ResourceRequirementProperty
An implementation for
CfnTaskDefinition.ResourceRequirementProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnTaskDefinition.ResourceRequirementProperty
CfnTaskDefinition.ResourceRequirementProperty.Builder, CfnTaskDefinition.ResourceRequirementProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnTaskDefinition.ResourceRequirementProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnTaskDefinition.ResourceRequirementProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnTaskDefinition.ResourceRequirementPropertyThe type of resource to assign to a container.The supported values are
GPUorInferenceAccelerator.- Specified by:
getTypein interfaceCfnTaskDefinition.ResourceRequirementProperty
-
getValue
Description copied from interface:CfnTaskDefinition.ResourceRequirementPropertyThe value for the specified resource type.If the
GPUtype is used, the value is the number of physicalGPUsthe 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.If the
InferenceAcceleratortype is used, thevaluematches thedeviceNamefor an InferenceAccelerator specified in a task definition.- Specified by:
getValuein interfaceCfnTaskDefinition.ResourceRequirementProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-