Interface CfnSpace.SpaceSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpace.SpaceSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnSpace
@Stability(Stable)
public static interface CfnSpace.SpaceSettingsProperty
extends software.amazon.jsii.JsiiSerializable
A collection of space settings.
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())
.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())
.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 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.- 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.
- See Also:
-
getJupyterLabAppSettings
The settings for the JupyterLab application.- See Also:
-
getJupyterServerAppSettings
The JupyterServer app settings.- See Also:
-
getKernelGatewayAppSettings
The KernelGateway app settings.- See Also:
-
getSpaceStorageSettings
The storage settings for a space.- See Also:
-
builder
-