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.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.tasks.ResourceConfig

    ResourceConfig.Builder, ResourceConfig.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ResourceConfig.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    The number of ML compute instances to use.
    ML compute instance type.
    final IKey
    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.
    final Size
    Size of the ML storage volume that you want to provision.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(ResourceConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ResourceConfig.Builder.
  • Method Details

    • getInstanceCount

      public final Number getInstanceCount()
      Description copied from interface: ResourceConfig
      The number of ML compute instances to use.

      Default: 1 instance.

      Specified by:
      getInstanceCount in interface ResourceConfig
    • getInstanceType

      public final InstanceType getInstanceType()
      Description copied from interface: ResourceConfig
      ML 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:
      getInstanceType in interface ResourceConfig
      See Also:
    • getVolumeSize

      public final Size getVolumeSize()
      Description copied from interface: ResourceConfig
      Size of the ML storage volume that you want to provision.

      Default: 10 GB EBS volume.

      Specified by:
      getVolumeSize in interface ResourceConfig
    • getVolumeEncryptionKey

      public final IKey getVolumeEncryptionKey()
      Description copied from interface: ResourceConfig
      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.

      Default: - Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account

      Specified by:
      getVolumeEncryptionKey in interface ResourceConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object