@Stability(value=Stable) @Internal public static final class ResourceConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceConfig
ResourceConfigsoftware.amazon.jsii.JsiiObject.InitializationModeResourceConfig.Builder, ResourceConfig.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ResourceConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ResourceConfig.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getInstanceCount()
The number of ML compute instances to use.
|
InstanceType |
getInstanceType()
ML compute instance type.
|
IKey |
getVolumeEncryptionKey()
KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.
|
Size |
getVolumeSize()
Size of the ML storage volume that you want to provision.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ResourceConfig.Builder builder)
ResourceConfig.Builder.public final Number getInstanceCount()
ResourceConfigDefault: 1 instance.
getInstanceCount in interface ResourceConfigpublic final InstanceType getInstanceType()
ResourceConfigTo provide an instance type from the task input, supply an instance type in the following way where the value in the task input is an EC2 instance type prepended with "ml.":
new InstanceType(JsonPath.stringAt("$.path.to.instanceType"));
Default: ec2.InstanceType(ec2.InstanceClass.M4, ec2.InstanceType.XLARGE)
getInstanceType in interface ResourceConfigpublic final Size getVolumeSize()
ResourceConfigDefault: 10 GB EBS volume.
getVolumeSize in interface ResourceConfigpublic final IKey getVolumeEncryptionKey()
ResourceConfigDefault: - Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account
getVolumeEncryptionKey in interface ResourceConfig@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.