Class ResourceConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.ResourceConfig.Jsii$Proxy
- All Implemented Interfaces:
ResourceConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ResourceConfig
@Stability(Stable)
@Internal
public static final class ResourceConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResourceConfig
An implementation for
ResourceConfig-
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.stepfunctions.tasks.ResourceConfig
ResourceConfig.Builder, ResourceConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ResourceConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theResourceConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe number of ML compute instances to use.final InstanceTypeML compute instance type.final IKeyKMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.final SizeSize of the ML storage volume that you want to provision.final inthashCode()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 theResourceConfig.Builder.
-
-
Method Details
-
getInstanceCount
Description copied from interface:ResourceConfigThe number of ML compute instances to use.Default: 1 instance.
- Specified by:
getInstanceCountin interfaceResourceConfig
-
getInstanceType
Description copied from interface:ResourceConfigML compute instance type.To 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)
- Specified by:
getInstanceTypein interfaceResourceConfig- See Also:
-
getVolumeSize
Description copied from interface:ResourceConfigSize of the ML storage volume that you want to provision.Default: 10 GB EBS volume.
- Specified by:
getVolumeSizein interfaceResourceConfig
-
getVolumeEncryptionKey
Description copied from interface:ResourceConfigKMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.Default: - Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account
- Specified by:
getVolumeEncryptionKeyin interfaceResourceConfig
-
$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()
-