Struct aws_sdk_sagemaker::types::JupyterLabAppSettings
source · #[non_exhaustive]pub struct JupyterLabAppSettings {
pub default_resource_spec: Option<ResourceSpec>,
pub custom_images: Option<Vec<CustomImage>>,
pub lifecycle_config_arns: Option<Vec<String>>,
pub code_repositories: Option<Vec<CodeRepository>>,
}
Expand description
The settings for the JupyterLab application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.default_resource_spec: Option<ResourceSpec>
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
custom_images: Option<Vec<CustomImage>>
A list of custom SageMaker images that are configured to run as a JupyterLab app.
lifecycle_config_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns
to an empty list.
code_repositories: Option<Vec<CodeRepository>>
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
Implementations§
source§impl JupyterLabAppSettings
impl JupyterLabAppSettings
sourcepub fn default_resource_spec(&self) -> Option<&ResourceSpec>
pub fn default_resource_spec(&self) -> Option<&ResourceSpec>
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
sourcepub fn custom_images(&self) -> &[CustomImage]
pub fn custom_images(&self) -> &[CustomImage]
A list of custom SageMaker images that are configured to run as a JupyterLab app.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_images.is_none()
.
sourcepub fn lifecycle_config_arns(&self) -> &[String]
pub fn lifecycle_config_arns(&self) -> &[String]
The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns
to an empty list.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .lifecycle_config_arns.is_none()
.
sourcepub fn code_repositories(&self) -> &[CodeRepository]
pub fn code_repositories(&self) -> &[CodeRepository]
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .code_repositories.is_none()
.
source§impl JupyterLabAppSettings
impl JupyterLabAppSettings
sourcepub fn builder() -> JupyterLabAppSettingsBuilder
pub fn builder() -> JupyterLabAppSettingsBuilder
Creates a new builder-style object to manufacture JupyterLabAppSettings
.
Trait Implementations§
source§impl Clone for JupyterLabAppSettings
impl Clone for JupyterLabAppSettings
source§fn clone(&self) -> JupyterLabAppSettings
fn clone(&self) -> JupyterLabAppSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JupyterLabAppSettings
impl Debug for JupyterLabAppSettings
source§impl PartialEq for JupyterLabAppSettings
impl PartialEq for JupyterLabAppSettings
source§fn eq(&self, other: &JupyterLabAppSettings) -> bool
fn eq(&self, other: &JupyterLabAppSettings) -> bool
self
and other
values to be equal, and is used
by ==
.