aws-cdk-lib.aws_sagemaker.CfnSpaceProps

interface CfnSpaceProps

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

Properties for defining a CfnSpace.

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 cfnSpaceProps: sagemaker.CfnSpaceProps = {
  domainId: 'domainId',
  spaceName: 'spaceName',

  // the properties below are optional
  spaceSettings: {
    jupyterServerAppSettings: {
      defaultResourceSpec: {
        instanceType: 'instanceType',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
      },
    },
    kernelGatewayAppSettings: {
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
      },
    },
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
domainIdstringThe ID of the associated Domain.
spaceNamestringThe name of the space.
spaceSettings?IResolvable | SpaceSettingsPropertyA collection of space settings.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

domainId

Type: string

The ID of the associated Domain.


spaceName

Type: string

The name of the space.


spaceSettings?

Type: IResolvable | SpaceSettingsProperty (optional)

A collection of space settings.


tags?

Type: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .