#[non_exhaustive]
pub struct UserSettings { pub execution_role: Option<String>, pub security_groups: Option<Vec<String>>, pub sharing_settings: Option<SharingSettings>, pub jupyter_server_app_settings: Option<JupyterServerAppSettings>, pub kernel_gateway_app_settings: Option<KernelGatewayAppSettings>, pub tensor_board_app_settings: Option<TensorBoardAppSettings>, pub r_studio_server_pro_app_settings: Option<RStudioServerProAppSettings>, pub r_session_app_settings: Option<RSessionAppSettings>, }
Expand description

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.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
execution_role: Option<String>

The execution role for the user.

security_groups: Option<Vec<String>>

The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.

Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly.

Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

sharing_settings: Option<SharingSettings>

Specifies options for sharing SageMaker Studio notebooks.

jupyter_server_app_settings: Option<JupyterServerAppSettings>

The Jupyter server's app settings.

kernel_gateway_app_settings: Option<KernelGatewayAppSettings>

The kernel gateway app settings.

tensor_board_app_settings: Option<TensorBoardAppSettings>

The TensorBoard app settings.

r_studio_server_pro_app_settings: Option<RStudioServerProAppSettings>

A collection of settings that configure user interaction with the RStudioServerPro app.

r_session_app_settings: Option<RSessionAppSettings>

A collection of settings that configure the RSessionGateway app.

Implementations

The execution role for the user.

The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.

Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly.

Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

Specifies options for sharing SageMaker Studio notebooks.

The Jupyter server's app settings.

The kernel gateway app settings.

The TensorBoard app settings.

A collection of settings that configure user interaction with the RStudioServerPro app.

A collection of settings that configure the RSessionGateway app.

Creates a new builder-style object to manufacture UserSettings

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more