Struct aws_sdk_sagemaker::types::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§
source§impl 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) -> &[CustomImage]
pub fn custom_images(&self) -> &[CustomImage]
A list of custom SageMaker images that are configured to run as a KernelGateway 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 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()
.
source§impl KernelGatewayAppSettings
impl KernelGatewayAppSettings
sourcepub fn builder() -> KernelGatewayAppSettingsBuilder
pub fn builder() -> KernelGatewayAppSettingsBuilder
Creates a new builder-style object to manufacture KernelGatewayAppSettings
.
Trait Implementations§
source§impl Clone for KernelGatewayAppSettings
impl Clone for KernelGatewayAppSettings
source§fn clone(&self) -> KernelGatewayAppSettings
fn clone(&self) -> KernelGatewayAppSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KernelGatewayAppSettings
impl Debug for KernelGatewayAppSettings
source§impl PartialEq for KernelGatewayAppSettings
impl PartialEq for KernelGatewayAppSettings
source§fn eq(&self, other: &KernelGatewayAppSettings) -> bool
fn eq(&self, other: &KernelGatewayAppSettings) -> bool
self
and other
values to be equal, and is used
by ==
.