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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.pipes.CfnPipe.EcsResourceRequirementProperty
CfnPipe.EcsResourceRequirementProperty.Builder, CfnPipe.EcsResourceRequirementProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnPipe.EcsResourceRequirementProperty.Builder
.protected
Jsii$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.EcsResourceRequirementProperty
The type of resource to assign to a container.The supported values are
GPU
orInferenceAccelerator
.- Specified by:
getType
in interfaceCfnPipe.EcsResourceRequirementProperty
- See Also:
-
getValue
Description copied from interface:CfnPipe.EcsResourceRequirementProperty
The value for the specified resource type.If the
GPU
type is used, the value is the number of physicalGPUs
the 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
InferenceAccelerator
type is used, thevalue
matches thedeviceName
for an InferenceAccelerator specified in a task definition.- Specified by:
getValue
in interfaceCfnPipe.EcsResourceRequirementProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-