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>>,
pub emr_settings: Option<EmrSettings>,
}
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.
emr_settings: Option<EmrSettings>
The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications.
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()
.
sourcepub fn emr_settings(&self) -> Option<&EmrSettings>
pub fn emr_settings(&self) -> Option<&EmrSettings>
The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications.
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
impl StructuralPartialEq for JupyterLabAppSettings
Auto Trait Implementations§
impl Freeze for JupyterLabAppSettings
impl RefUnwindSafe for JupyterLabAppSettings
impl Send for JupyterLabAppSettings
impl Sync for JupyterLabAppSettings
impl Unpin for JupyterLabAppSettings
impl UnwindSafe for JupyterLabAppSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more