interface CfnSpaceProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnSpaceProps |
Java | software.amazon.awscdk.services.sagemaker.CfnSpaceProps |
Python | aws_cdk.aws_sagemaker.CfnSpaceProps |
TypeScript | @aws-cdk/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 * as sagemaker from '@aws-cdk/aws-sagemaker';
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
Name | Type | Description |
---|---|---|
domain | string | The ID of the associated Domain. |
space | string | The name of the space. |
space | IResolvable | Space | A collection of space 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.
spaceSettings?
Type:
IResolvable
|
Space
(optional)
A collection of space settings.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .