Interface CfnUserProfile.UserSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProfile.UserSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnUserProfile
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.services.sagemaker.*;
UserSettingsProperty userSettingsProperty = UserSettingsProperty.builder()
.codeEditorAppSettings(CodeEditorAppSettingsProperty.builder()
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.build())
.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())
.defaultLandingUri("defaultLandingUri")
.executionRole("executionRole")
.jupyterLabAppSettings(JupyterLabAppSettingsProperty.builder()
.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")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.build())
.jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.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")
.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")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserProfile.UserSettingsPropertystatic final classAn implementation forCfnUserProfile.UserSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe Code Editor application settings.default ObjectThe settings for assigning a custom file system to a user profile.default ObjectDetails about the POSIX identity that is used for file system operations.default StringThe default experience that the user is directed to when accessing the domain.default StringThe execution role for the user.default ObjectThe settings for the JupyterLab application.default ObjectThe Jupyter server's app settings.default ObjectThe kernel gateway app settings.default ObjectA collection of settings that configure user interaction with theRStudioServerProapp.The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.default ObjectSpecifies options for sharing Amazon SageMaker Studio notebooks.default ObjectThe storage settings for a private space.default StringWhether the user can access Studio.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodeEditorAppSettings
The Code Editor application settings.- See Also:
-
getCustomFileSystemConfigs
The settings for assigning a custom file system to a user profile.Permitted users can access this file system in Amazon SageMaker Studio.
- See Also:
-
getCustomPosixUserConfig
Details about the POSIX identity that is used for file system operations.- See Also:
-
getDefaultLandingUri
The default experience that the user is directed to when accessing the domain. The supported values are:.studio::: Indicates that Studio is the default experience. This value can only be passed ifStudioWebPortalis set toENABLED.app:JupyterServer:: Indicates that Studio Classic is the default experience.
- See Also:
-
getExecutionRole
The execution role for the user.- See Also:
-
getJupyterLabAppSettings
The settings for the JupyterLab application.- See Also:
-
getJupyterServerAppSettings
The Jupyter server's app settings.- See Also:
-
getKernelGatewayAppSettings
The kernel gateway app settings.- See Also:
-
getRStudioServerProAppSettings
A collection of settings that configure user interaction with theRStudioServerProapp.- See Also:
-
getSecurityGroups
The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.Optional when the
CreateDomain.AppNetworkAccessTypeparameter is set toPublicInternetOnly.Required when the
CreateDomain.AppNetworkAccessTypeparameter is set toVpcOnly, unless specified as part of theDefaultUserSettingsfor the domain.Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
- See Also:
-
getSharingSettings
Specifies options for sharing Amazon SageMaker Studio notebooks.- See Also:
-
getSpaceStorageSettings
The storage settings for a private space.- See Also:
-
getStudioWebPortal
Whether the user can access Studio.If this value is set to
DISABLED, the user cannot access Studio, even if that is the default experience for the domain.- See Also:
-
builder
-