Struct aws_sdk_sagemaker::model::KernelGatewayAppSettings
source · [−]#[non_exhaustive]pub struct KernelGatewayAppSettings {
pub default_resource_spec: Option<ResourceSpec>,
pub custom_images: Option<Vec<CustomImage>>,
pub lifecycle_config_arns: Option<Vec<String>>,
}
Expand description
The KernelGateway 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 KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the Amazon Web Services Command Line Interface or Amazon Web Services CloudFormation and the instance type parameter value is not passed.
custom_images: Option<Vec<CustomImage>>
A list of custom SageMaker images that are configured to run as a KernelGateway app.
lifecycle_config_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
Implementations
sourceimpl KernelGatewayAppSettings
impl KernelGatewayAppSettings
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 KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the Amazon Web Services Command Line Interface or Amazon Web Services CloudFormation and the instance type parameter value is not passed.
sourcepub fn custom_images(&self) -> Option<&[CustomImage]>
pub fn custom_images(&self) -> Option<&[CustomImage]>
A list of custom SageMaker images that are configured to run as a KernelGateway app.
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 the user profile or domain.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
sourceimpl KernelGatewayAppSettings
impl KernelGatewayAppSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture KernelGatewayAppSettings
.
Trait Implementations
sourceimpl Clone for KernelGatewayAppSettings
impl Clone for KernelGatewayAppSettings
sourcefn clone(&self) -> KernelGatewayAppSettings
fn clone(&self) -> KernelGatewayAppSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KernelGatewayAppSettings
impl Debug for KernelGatewayAppSettings
sourceimpl PartialEq<KernelGatewayAppSettings> for KernelGatewayAppSettings
impl PartialEq<KernelGatewayAppSettings> for KernelGatewayAppSettings
sourcefn eq(&self, other: &KernelGatewayAppSettings) -> bool
fn eq(&self, other: &KernelGatewayAppSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KernelGatewayAppSettings) -> bool
fn ne(&self, other: &KernelGatewayAppSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for KernelGatewayAppSettings
Auto Trait Implementations
impl RefUnwindSafe for KernelGatewayAppSettings
impl Send for KernelGatewayAppSettings
impl Sync for KernelGatewayAppSettings
impl Unpin for KernelGatewayAppSettings
impl UnwindSafe for KernelGatewayAppSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more