Struct aws_sdk_sagemaker::model::ResourceSpec
source · #[non_exhaustive]pub struct ResourceSpec { /* private fields */ }
Expand description
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.