interface DefaultSpaceSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnDomain.DefaultSpaceSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnDomain_DefaultSpaceSettingsProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnDomain.DefaultSpaceSettingsProperty |
Python | aws_cdk.aws_sagemaker.CfnDomain.DefaultSpaceSettingsProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnDomain » DefaultSpaceSettingsProperty |
The default settings for shared spaces that users create in the domain.
SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.
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
customFileSystemConfigs: [{
efsFileSystemConfig: {
fileSystemId: 'fileSystemId',
// the properties below are optional
fileSystemPath: 'fileSystemPath',
},
fSxLustreFileSystemConfig: {
fileSystemId: 'fileSystemId',
// the properties below are optional
fileSystemPath: 'fileSystemPath',
},
s3FileSystemConfig: {
mountPath: 'mountPath',
s3Uri: 's3Uri',
},
}],
customPosixUserConfig: {
gid: 123,
uid: 123,
},
jupyterLabAppSettings: {
appLifecycleManagement: {
idleSettings: {
idleTimeoutInMinutes: 123,
lifecycleManagement: 'lifecycleManagement',
maxIdleTimeoutInMinutes: 123,
minIdleTimeoutInMinutes: 123,
},
},
builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
codeRepositories: [{
repositoryUrl: 'repositoryUrl',
}],
customImages: [{
appImageConfigName: 'appImageConfigName',
imageName: 'imageName',
// the properties below are optional
imageVersionNumber: 123,
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
},
jupyterServerAppSettings: {
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
},
kernelGatewayAppSettings: {
customImages: [{
appImageConfigName: 'appImageConfigName',
imageName: 'imageName',
// the properties below are optional
imageVersionNumber: 123,
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
},
securityGroups: ['securityGroups'],
spaceStorageSettings: {
defaultEbsStorageSettings: {
defaultEbsVolumeSizeInGb: 123,
maximumEbsVolumeSizeInGb: 123,
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | string | The ARN of the execution role for the space. |
| custom | IResolvable | (IResolvable | Custom)[] | The settings for assigning a custom file system to a domain. |
| custom | IResolvable | Custom | |
| jupyter | IResolvable | Jupyter | The JupyterLab app settings. |
| jupyter | IResolvable | Jupyter | The JupyterServer app settings. |
| kernel | IResolvable | Kernel | The KernelGateway app settings. |
| security | string[] | The security group IDs for the Amazon VPC that the space uses for communication. |
| space | IResolvable | Default | Default storage settings for a space. |
executionRole
Type:
string
The ARN of the execution role for the space.
customFileSystemConfigs?
Type:
IResolvable | (IResolvable | Custom)[]
(optional)
The settings for assigning a custom file system to a domain.
Permitted users can access this file system in Amazon SageMaker AI Studio.
customPosixUserConfig?
Type:
IResolvable | Custom
(optional)
jupyterLabAppSettings?
Type:
IResolvable | Jupyter
(optional)
The JupyterLab app settings.
jupyterServerAppSettings?
Type:
IResolvable | Jupyter
(optional)
The JupyterServer app settings.
kernelGatewayAppSettings?
Type:
IResolvable | Kernel
(optional)
The KernelGateway app settings.
securityGroups?
Type:
string[]
(optional)
The security group IDs for the Amazon VPC that the space uses for communication.
spaceStorageSettings?
Type:
IResolvable | Default
(optional)
Default storage settings for a space.

.NET
Go
Java
Python
TypeScript