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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
on_create: Option<String>
The directory of the LifeCycle script under SourceS3Uri
. This LifeCycle script runs during cluster creation.
Implementations§
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
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 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
This method tests for
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.