Interface CfnSpace.ResourceSpecProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnSpace.ResourceSpecProperty extends
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ResourceSpecProperty resourceSpecProperty = ResourceSpecProperty.builder()
  • Method Details

    • getInstanceType

      @Stability(Stable) @Nullable default String getInstanceType()
      The instance type that the image version runs on.

      JupyterServer apps only support the system value.

      For KernelGateway apps , the system value is translated to ml.t3.medium . KernelGateway apps also support all other values for available instance types.

    • getSageMakerImageArn

      @Stability(Stable) @Nullable default String getSageMakerImageArn()
      The ARN of the SageMaker image that the image version belongs to.
    • getSageMakerImageVersionArn

      @Stability(Stable) @Nullable default String getSageMakerImageVersionArn()
      The ARN of the image version created on the instance.
    • builder

      @Stability(Stable) static CfnSpace.ResourceSpecProperty.Builder builder()
      a CfnSpace.ResourceSpecProperty.Builder of CfnSpace.ResourceSpecProperty