Struct aws_sdk_sagemaker::types::ResourceSpec
source · #[non_exhaustive]pub struct ResourceSpec {
pub sage_maker_image_arn: Option<String>,
pub sage_maker_image_version_arn: Option<String>,
pub instance_type: Option<AppInstanceType>,
pub lifecycle_config_arn: Option<String>,
}
Expand description
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
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.sage_maker_image_arn: Option<String>
The ARN of the SageMaker image that the image version belongs to.
sage_maker_image_version_arn: Option<String>
The ARN of the image version created on the instance.
instance_type: Option<AppInstanceType>
The instance type that the image version runs on.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
. KernelGateway apps also support all other values for available instance types.
lifecycle_config_arn: Option<String>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Implementations§
source§impl ResourceSpec
impl ResourceSpec
sourcepub fn sage_maker_image_arn(&self) -> Option<&str>
pub fn sage_maker_image_arn(&self) -> Option<&str>
The ARN of the SageMaker image that the image version belongs to.
sourcepub fn sage_maker_image_version_arn(&self) -> Option<&str>
pub fn sage_maker_image_version_arn(&self) -> Option<&str>
The ARN of the image version created on the instance.
sourcepub fn instance_type(&self) -> Option<&AppInstanceType>
pub fn instance_type(&self) -> Option<&AppInstanceType>
The instance type that the image version runs on.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
. KernelGateway apps also support all other values for available instance types.
sourcepub fn lifecycle_config_arn(&self) -> Option<&str>
pub fn lifecycle_config_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
source§impl ResourceSpec
impl ResourceSpec
sourcepub fn builder() -> ResourceSpecBuilder
pub fn builder() -> ResourceSpecBuilder
Creates a new builder-style object to manufacture ResourceSpec
.
Trait Implementations§
source§impl Clone for ResourceSpec
impl Clone for ResourceSpec
source§fn clone(&self) -> ResourceSpec
fn clone(&self) -> ResourceSpec
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceSpec
impl Debug for ResourceSpec
source§impl PartialEq<ResourceSpec> for ResourceSpec
impl PartialEq<ResourceSpec> for ResourceSpec
source§fn eq(&self, other: &ResourceSpec) -> bool
fn eq(&self, other: &ResourceSpec) -> bool
self
and other
values to be equal, and is used
by ==
.