aws-cdk-lib.aws_sagemaker.CfnSpace.ResourceSpecProperty

interface ResourceSpecProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnSpace.ResourceSpecProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnSpace_ResourceSpecProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnSpace.ResourceSpecProperty
Pythonaws_cdk.aws_sagemaker.CfnSpace.ResourceSpecProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnSpace » ResourceSpecProperty

Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const resourceSpecProperty: sagemaker.CfnSpace.ResourceSpecProperty = {
  instanceType: 'instanceType',
  sageMakerImageArn: 'sageMakerImageArn',
  sageMakerImageVersionArn: 'sageMakerImageVersionArn',
};

Properties

NameTypeDescription
instanceType?stringThe instance type that the image version runs on.
sageMakerImageArn?stringThe ARN of the SageMaker image that the image version belongs to.
sageMakerImageVersionArn?stringThe ARN of the image version created on the instance.

instanceType?

Type: string (optional)

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.


sageMakerImageArn?

Type: string (optional)

The ARN of the SageMaker image that the image version belongs to.


sageMakerImageVersionArn?

Type: string (optional)

The ARN of the image version created on the instance.