aws-cdk-lib.aws_sagemaker.CfnDomain.DefaultSpaceSettingsProperty

interface DefaultSpaceSettingsProperty

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

A collection of settings that apply to spaces created in the Domain.

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 defaultSpaceSettingsProperty: sagemaker.CfnDomain.DefaultSpaceSettingsProperty = {
  executionRole: 'executionRole',

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

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

Properties

NameTypeDescription
executionRolestringThe ARN of the execution role for the space.
jupyterServerAppSettings?IResolvable | JupyterServerAppSettingsPropertyThe JupyterServer app settings.
kernelGatewayAppSettings?IResolvable | KernelGatewayAppSettingsPropertyThe KernelGateway app settings.
securityGroups?string[]The security group IDs for the Amazon Virtual Private Cloud that the space uses for communication.

executionRole

Type: string

The ARN of the execution role for the space.


jupyterServerAppSettings?

Type: IResolvable | JupyterServerAppSettingsProperty (optional)

The JupyterServer app settings.


kernelGatewayAppSettings?

Type: IResolvable | KernelGatewayAppSettingsProperty (optional)

The KernelGateway app settings.


securityGroups?

Type: string[] (optional)

The security group IDs for the Amazon Virtual Private Cloud that the space uses for communication.