Struct aws_sdk_sagemaker::types::JupyterServerAppSettings
source · #[non_exhaustive]pub struct JupyterServerAppSettings {
pub default_resource_spec: Option<ResourceSpec>,
pub lifecycle_config_arns: Option<Vec<String>>,
pub code_repositories: Option<Vec<CodeRepository>>,
}
Expand description
The JupyterServer app settings.
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>
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns
parameter, then this parameter is also required.
lifecycle_config_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec
parameter is also required.
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 JupyterServer application.
Implementations§
source§impl JupyterServerAppSettings
impl JupyterServerAppSettings
sourcepub fn default_resource_spec(&self) -> Option<&ResourceSpec>
pub fn default_resource_spec(&self) -> Option<&ResourceSpec>
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns
parameter, then this parameter is also required.
sourcepub fn lifecycle_config_arns(&self) -> Option<&[String]>
pub fn lifecycle_config_arns(&self) -> Option<&[String]>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec
parameter is also required.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
sourcepub fn code_repositories(&self) -> Option<&[CodeRepository]>
pub fn code_repositories(&self) -> Option<&[CodeRepository]>
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.
source§impl JupyterServerAppSettings
impl JupyterServerAppSettings
sourcepub fn builder() -> JupyterServerAppSettingsBuilder
pub fn builder() -> JupyterServerAppSettingsBuilder
Creates a new builder-style object to manufacture JupyterServerAppSettings
.
Trait Implementations§
source§impl Clone for JupyterServerAppSettings
impl Clone for JupyterServerAppSettings
source§fn clone(&self) -> JupyterServerAppSettings
fn clone(&self) -> JupyterServerAppSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JupyterServerAppSettings
impl Debug for JupyterServerAppSettings
source§impl PartialEq<JupyterServerAppSettings> for JupyterServerAppSettings
impl PartialEq<JupyterServerAppSettings> for JupyterServerAppSettings
source§fn eq(&self, other: &JupyterServerAppSettings) -> bool
fn eq(&self, other: &JupyterServerAppSettings) -> bool
self
and other
values to be equal, and is used
by ==
.