Struct aws_sdk_sagemaker::types::ClusterLifeCycleConfig
source · #[non_exhaustive]pub struct ClusterLifeCycleConfig {
pub source_s3_uri: Option<String>,
pub on_create: Option<String>,
}
Expand description
The lifecycle configuration for a SageMaker HyperPod cluster.
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.source_s3_uri: Option<String>
An Amazon S3 bucket path where your lifecycle scripts are stored.
Make sure that the S3 bucket path starts with s3://sagemaker-
. The IAM role for SageMaker HyperPod has the managed AmazonSageMakerClusterInstanceRolePolicy
attached, which allows access to S3 buckets with the specific prefix sagemaker-
.
on_create: Option<String>
The file name of the entrypoint script of lifecycle scripts under SourceS3Uri
. This entrypoint script runs during cluster creation.
Implementations§
source§impl ClusterLifeCycleConfig
impl ClusterLifeCycleConfig
sourcepub fn source_s3_uri(&self) -> Option<&str>
pub fn source_s3_uri(&self) -> Option<&str>
An Amazon S3 bucket path where your lifecycle scripts are stored.
Make sure that the S3 bucket path starts with s3://sagemaker-
. The IAM role for SageMaker HyperPod has the managed AmazonSageMakerClusterInstanceRolePolicy
attached, which allows access to S3 buckets with the specific prefix sagemaker-
.
source§impl ClusterLifeCycleConfig
impl ClusterLifeCycleConfig
sourcepub fn builder() -> ClusterLifeCycleConfigBuilder
pub fn builder() -> ClusterLifeCycleConfigBuilder
Creates a new builder-style object to manufacture ClusterLifeCycleConfig
.
Trait Implementations§
source§impl Clone for ClusterLifeCycleConfig
impl Clone for ClusterLifeCycleConfig
source§fn clone(&self) -> ClusterLifeCycleConfig
fn clone(&self) -> ClusterLifeCycleConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterLifeCycleConfig
impl Debug for ClusterLifeCycleConfig
source§impl PartialEq for ClusterLifeCycleConfig
impl PartialEq for ClusterLifeCycleConfig
source§fn eq(&self, other: &ClusterLifeCycleConfig) -> bool
fn eq(&self, other: &ClusterLifeCycleConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterLifeCycleConfig
Auto Trait Implementations§
impl Freeze for ClusterLifeCycleConfig
impl RefUnwindSafe for ClusterLifeCycleConfig
impl Send for ClusterLifeCycleConfig
impl Sync for ClusterLifeCycleConfig
impl Unpin for ClusterLifeCycleConfig
impl UnwindSafe for ClusterLifeCycleConfig
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