Interface CfnSpace.SpaceSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpace.SpaceSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnSpace
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
SpaceSettingsProperty spaceSettingsProperty = SpaceSettingsProperty.builder()
.appType("appType")
.codeEditorAppSettings(SpaceCodeEditorAppSettingsProperty.builder()
.appLifecycleManagement(SpaceAppLifecycleManagementProperty.builder()
.idleSettings(SpaceIdleSettingsProperty.builder()
.idleTimeoutInMinutes(123)
.build())
.build())
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.build())
.customFileSystems(List.of(CustomFileSystemProperty.builder()
.efsFileSystem(EFSFileSystemProperty.builder()
.fileSystemId("fileSystemId")
.build())
.fSxLustreFileSystem(FSxLustreFileSystemProperty.builder()
.fileSystemId("fileSystemId")
.build())
.s3FileSystem(S3FileSystemProperty.builder()
.s3Uri("s3Uri")
.build())
.build()))
.jupyterLabAppSettings(SpaceJupyterLabAppSettingsProperty.builder()
.appLifecycleManagement(SpaceAppLifecycleManagementProperty.builder()
.idleSettings(SpaceIdleSettingsProperty.builder()
.idleTimeoutInMinutes(123)
.build())
.build())
.codeRepositories(List.of(CodeRepositoryProperty.builder()
.repositoryUrl("repositoryUrl")
.build()))
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.build())
.jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.build())
.kernelGatewayAppSettings(KernelGatewayAppSettingsProperty.builder()
.customImages(List.of(CustomImageProperty.builder()
.appImageConfigName("appImageConfigName")
.imageName("imageName")
// the properties below are optional
.imageVersionNumber(123)
.build()))
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.build())
.remoteAccess("remoteAccess")
.spaceManagedResources("spaceManagedResources")
.spaceStorageSettings(SpaceStorageSettingsProperty.builder()
.ebsStorageSettings(EbsStorageSettingsProperty.builder()
.ebsVolumeSizeInGb(123)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpace.SpaceSettingsPropertystatic final classAn implementation forCfnSpace.SpaceSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe type of app created within the space.default ObjectThe Code Editor application settings.default ObjectA file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain.default ObjectThe settings for the JupyterLab application.default ObjectThe JupyterServer app settings.default ObjectThe KernelGateway app settings.default StringA setting that enables or disables remote access for a SageMaker space.default StringIf you enable this option, SageMaker AI creates the following resources on your behalf when you create the space:.default ObjectThe storage settings for a space.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppType
The type of app created within the space.If using the UpdateSpace API, you can't change the app type of your space by specifying a different value for this field.
- See Also:
-
getCodeEditorAppSettings
The Code Editor application settings.Returns union: either
IResolvableorCfnSpace.SpaceCodeEditorAppSettingsProperty- See Also:
-
getCustomFileSystems
A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain.Permitted users can access this file system in Amazon SageMaker AI Studio.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpace.CustomFileSystemProperty>- See Also:
-
getJupyterLabAppSettings
The settings for the JupyterLab application.Returns union: either
IResolvableorCfnSpace.SpaceJupyterLabAppSettingsProperty- See Also:
-
getJupyterServerAppSettings
The JupyterServer app settings.Returns union: either
IResolvableorCfnSpace.JupyterServerAppSettingsProperty- See Also:
-
getKernelGatewayAppSettings
The KernelGateway app settings.Returns union: either
IResolvableorCfnSpace.KernelGatewayAppSettingsProperty- See Also:
-
getRemoteAccess
A setting that enables or disables remote access for a SageMaker space.When enabled, this allows you to connect to the remote space from your local IDE.
- See Also:
-
getSpaceManagedResources
If you enable this option, SageMaker AI creates the following resources on your behalf when you create the space:.- The user profile that possesses the space.
- The app that the space contains.
- See Also:
-
getSpaceStorageSettings
The storage settings for a space.Returns union: either
IResolvableorCfnSpace.SpaceStorageSettingsProperty- See Also:
-
builder
-