Interface CfnDomain.DefaultSpaceSettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDomain.DefaultSpaceSettingsProperty.Jsii$Proxy
Enclosing class:
CfnDomain

@Stability(Stable) public static interface CfnDomain.DefaultSpaceSettingsProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
 DefaultSpaceSettingsProperty defaultSpaceSettingsProperty = DefaultSpaceSettingsProperty.builder()
         .executionRole("executionRole")
         // the properties below are optional
         .customFileSystemConfigs(List.of(CustomFileSystemConfigProperty.builder()
                 .efsFileSystemConfig(EFSFileSystemConfigProperty.builder()
                         .fileSystemId("fileSystemId")
                         // the properties below are optional
                         .fileSystemPath("fileSystemPath")
                         .build())
                 .build()))
         .customPosixUserConfig(CustomPosixUserConfigProperty.builder()
                 .gid(123)
                 .uid(123)
                 .build())
         .jupyterLabAppSettings(JupyterLabAppSettingsProperty.builder()
                 .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                         .idleSettings(IdleSettingsProperty.builder()
                                 .idleTimeoutInMinutes(123)
                                 .lifecycleManagement("lifecycleManagement")
                                 .maxIdleTimeoutInMinutes(123)
                                 .minIdleTimeoutInMinutes(123)
                                 .build())
                         .build())
                 .codeRepositories(List.of(CodeRepositoryProperty.builder()
                         .repositoryUrl("repositoryUrl")
                         .build()))
                 .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())
         .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())
         .securityGroups(List.of("securityGroups"))
         .spaceStorageSettings(DefaultSpaceStorageSettingsProperty.builder()
                 .defaultEbsStorageSettings(DefaultEbsStorageSettingsProperty.builder()
                         .defaultEbsVolumeSizeInGb(123)
                         .maximumEbsVolumeSizeInGb(123)
                         .build())
                 .build())
         .build();
 

See Also: