Class CfnTaskDefinitionPropsMixin.ResourceRequirementProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.ResourceRequirementProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnTaskDefinitionPropsMixin.ResourceRequirementProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnTaskDefinitionPropsMixin.ResourceRequirementProperty
@Stability(Stable)
@Internal
public static final class CfnTaskDefinitionPropsMixin.ResourceRequirementProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnTaskDefinitionPropsMixin.ResourceRequirementProperty
An implementation for
CfnTaskDefinitionPropsMixin.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.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.ResourceRequirementProperty
CfnTaskDefinitionPropsMixin.ResourceRequirementProperty.Builder, CfnTaskDefinitionPropsMixin.ResourceRequirementProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnTaskDefinitionPropsMixin.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 theCfnTaskDefinitionPropsMixin.ResourceRequirementProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnTaskDefinitionPropsMixin.ResourceRequirementPropertyThe type of resource to assign to a container.- Specified by:
getTypein interfaceCfnTaskDefinitionPropsMixin.ResourceRequirementProperty- See Also:
-
getValue
Description copied from interface:CfnTaskDefinitionPropsMixin.ResourceRequirementPropertyThe value for the specified resource type.When the type is
GPU, 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.When the type is
InferenceAccelerator, thevaluematches thedeviceNamefor an InferenceAccelerator specified in a task definition.- Specified by:
getValuein interfaceCfnTaskDefinitionPropsMixin.ResourceRequirementProperty- See Also:
-
$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()
-