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 sage_maker_image_version_alias: 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.
sage_maker_image_version_alias: Option<String>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
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 sage_maker_image_version_alias(&self) -> Option<&str>
pub fn sage_maker_image_version_alias(&self) -> Option<&str>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
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 for ResourceSpec
impl PartialEq 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 ==
.impl StructuralPartialEq for ResourceSpec
Auto Trait Implementations§
impl Freeze for ResourceSpec
impl RefUnwindSafe for ResourceSpec
impl Send for ResourceSpec
impl Sync for ResourceSpec
impl Unpin for ResourceSpec
impl UnwindSafe for ResourceSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more