Class CfnPipe.EcsResourceRequirementProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pipes.CfnPipe.EcsResourceRequirementProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPipe.EcsResourceRequirementProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPipe.EcsResourceRequirementProperty
@Stability(Stable)
@Internal
public static final class CfnPipe.EcsResourceRequirementProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPipe.EcsResourceRequirementProperty
An implementation for
CfnPipe.EcsResourceRequirementProperty-
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.pipes.CfnPipe.EcsResourceRequirementProperty
CfnPipe.EcsResourceRequirementProperty.Builder, CfnPipe.EcsResourceRequirementProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPipe.EcsResourceRequirementProperty.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 theCfnPipe.EcsResourceRequirementProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnPipe.EcsResourceRequirementPropertyThe type of resource to assign to a container.The supported values are
GPUorInferenceAccelerator.- Specified by:
getTypein interfaceCfnPipe.EcsResourceRequirementProperty- See Also:
-
getValue
Description copied from interface:CfnPipe.EcsResourceRequirementPropertyThe 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 interfaceCfnPipe.EcsResourceRequirementProperty- 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()
-