Interface CfnDomainPropsMixin.UserSettingsProperty

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

@Stability(Stable) public static interface CfnDomainPropsMixin.UserSettingsProperty extends software.amazon.jsii.JsiiSerializable
A collection of settings that apply to users of Amazon SageMaker Studio.

These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called.

SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings , the values specified in CreateUserProfile take precedence over those specified in CreateDomain .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.*;
 UserSettingsProperty userSettingsProperty = UserSettingsProperty.builder()
         .autoMountHomeEfs("autoMountHomeEfs")
         .codeEditorAppSettings(CodeEditorAppSettingsProperty.builder()
                 .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                         .idleSettings(IdleSettingsProperty.builder()
                                 .idleTimeoutInMinutes(123)
                                 .lifecycleManagement("lifecycleManagement")
                                 .maxIdleTimeoutInMinutes(123)
                                 .minIdleTimeoutInMinutes(123)
                                 .build())
                         .build())
                 .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                 .customImages(List.of(CustomImageProperty.builder()
                         .appImageConfigName("appImageConfigName")
                         .imageName("imageName")
                         .imageVersionNumber(123)
                         .build()))
                 .defaultResourceSpec(ResourceSpecProperty.builder()
                         .instanceType("instanceType")
                         .lifecycleConfigArn("lifecycleConfigArn")
                         .sageMakerImageArn("sageMakerImageArn")
                         .sageMakerImageVersionArn("sageMakerImageVersionArn")
                         .build())
                 .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                 .build())
         .customFileSystemConfigs(List.of(CustomFileSystemConfigProperty.builder()
                 .efsFileSystemConfig(EFSFileSystemConfigProperty.builder()
                         .fileSystemId("fileSystemId")
                         .fileSystemPath("fileSystemPath")
                         .build())
                 .fSxLustreFileSystemConfig(FSxLustreFileSystemConfigProperty.builder()
                         .fileSystemId("fileSystemId")
                         .fileSystemPath("fileSystemPath")
                         .build())
                 .s3FileSystemConfig(S3FileSystemConfigProperty.builder()
                         .mountPath("mountPath")
                         .s3Uri("s3Uri")
                         .build())
                 .build()))
         .customPosixUserConfig(CustomPosixUserConfigProperty.builder()
                 .gid(123)
                 .uid(123)
                 .build())
         .defaultLandingUri("defaultLandingUri")
         .executionRole("executionRole")
         .jupyterLabAppSettings(JupyterLabAppSettingsProperty.builder()
                 .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                         .idleSettings(IdleSettingsProperty.builder()
                                 .idleTimeoutInMinutes(123)
                                 .lifecycleManagement("lifecycleManagement")
                                 .maxIdleTimeoutInMinutes(123)
                                 .minIdleTimeoutInMinutes(123)
                                 .build())
                         .build())
                 .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                 .codeRepositories(List.of(CodeRepositoryProperty.builder()
                         .repositoryUrl("repositoryUrl")
                         .build()))
                 .customImages(List.of(CustomImageProperty.builder()
                         .appImageConfigName("appImageConfigName")
                         .imageName("imageName")
                         .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")
                         .imageVersionNumber(123)
                         .build()))
                 .defaultResourceSpec(ResourceSpecProperty.builder()
                         .instanceType("instanceType")
                         .lifecycleConfigArn("lifecycleConfigArn")
                         .sageMakerImageArn("sageMakerImageArn")
                         .sageMakerImageVersionArn("sageMakerImageVersionArn")
                         .build())
                 .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                 .build())
         .rSessionAppSettings(RSessionAppSettingsProperty.builder()
                 .customImages(List.of(CustomImageProperty.builder()
                         .appImageConfigName("appImageConfigName")
                         .imageName("imageName")
                         .imageVersionNumber(123)
                         .build()))
                 .defaultResourceSpec(ResourceSpecProperty.builder()
                         .instanceType("instanceType")
                         .lifecycleConfigArn("lifecycleConfigArn")
                         .sageMakerImageArn("sageMakerImageArn")
                         .sageMakerImageVersionArn("sageMakerImageVersionArn")
                         .build())
                 .build())
         .rStudioServerProAppSettings(RStudioServerProAppSettingsProperty.builder()
                 .accessStatus("accessStatus")
                 .userGroup("userGroup")
                 .build())
         .securityGroups(List.of("securityGroups"))
         .sharingSettings(SharingSettingsProperty.builder()
                 .notebookOutputOption("notebookOutputOption")
                 .s3KmsKeyId("s3KmsKeyId")
                 .s3OutputPath("s3OutputPath")
                 .build())
         .spaceStorageSettings(DefaultSpaceStorageSettingsProperty.builder()
                 .defaultEbsStorageSettings(DefaultEbsStorageSettingsProperty.builder()
                         .defaultEbsVolumeSizeInGb(123)
                         .maximumEbsVolumeSizeInGb(123)
                         .build())
                 .build())
         .studioWebPortal("studioWebPortal")
         .studioWebPortalSettings(StudioWebPortalSettingsProperty.builder()
                 .hiddenAppTypes(List.of("hiddenAppTypes"))
                 .hiddenInstanceTypes(List.of("hiddenInstanceTypes"))
                 .hiddenMlTools(List.of("hiddenMlTools"))
                 .hiddenSageMakerImageVersionAliases(List.of(HiddenSageMakerImageProperty.builder()
                         .sageMakerImageName("sageMakerImageName")
                         .versionAliases(List.of("versionAliases"))
                         .build()))
                 .build())
         .build();
 

See Also: