interface CfnSpaceProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnSpaceProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnSpaceProps |
![]() | software.amazon.awscdk.services.sagemaker.CfnSpaceProps |
![]() | aws_cdk.aws_sagemaker.CfnSpaceProps |
![]() | aws-cdk-lib » aws_sagemaker » CfnSpaceProps |
Properties for defining a CfnSpace
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html
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
ownershipSettings: {
ownerUserProfileName: 'ownerUserProfileName',
},
spaceDisplayName: 'spaceDisplayName',
spaceSettings: {
appType: 'appType',
codeEditorAppSettings: {
appLifecycleManagement: {
idleSettings: {
idleTimeoutInMinutes: 123,
},
},
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
},
customFileSystems: [{
efsFileSystem: {
fileSystemId: 'fileSystemId',
},
fSxLustreFileSystem: {
fileSystemId: 'fileSystemId',
},
}],
jupyterLabAppSettings: {
appLifecycleManagement: {
idleSettings: {
idleTimeoutInMinutes: 123,
},
},
codeRepositories: [{
repositoryUrl: 'repositoryUrl',
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
},
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'],
},
spaceStorageSettings: {
ebsStorageSettings: {
ebsVolumeSizeInGb: 123,
},
},
},
spaceSharingSettings: {
sharingType: 'sharingType',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
domain | string | The ID of the associated domain. |
space | string | The name of the space. |
ownership | IResolvable | Ownership | The collection of ownership settings for a space. |
space | string | The name of the space that appears in the Studio UI. |
space | IResolvable | Space | A collection of space settings. |
space | IResolvable | Space | A collection of space sharing settings. |
tags? | Cfn [] | 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.
ownershipSettings?
Type:
IResolvable
|
Ownership
(optional)
The collection of ownership settings for a space.
spaceDisplayName?
Type:
string
(optional)
The name of the space that appears in the Studio UI.
spaceSettings?
Type:
IResolvable
|
Space
(optional)
A collection of space settings.
spaceSharingSettings?
Type:
IResolvable
|
Space
(optional)
A collection of space sharing settings.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .