Struct aws_sdk_sagemaker::types::SessionChainingConfig
source · #[non_exhaustive]pub struct SessionChainingConfig {
pub enable_session_tag_chaining: Option<bool>,
}
Expand description
Contains information about attribute-based access control (ABAC) for a training job. The session chaining configuration uses Amazon Security Token Service (STS) for your training job to request temporary, limited-privilege credentials to tenants. For more information, see Attribute-based access control (ABAC) for multi-tenancy training.
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.enable_session_tag_chaining: Option<bool>
Set to True
to allow SageMaker to extract session tags from a training job creation role and reuse these tags when assuming the training job execution role.
Implementations§
source§impl SessionChainingConfig
impl SessionChainingConfig
sourcepub fn enable_session_tag_chaining(&self) -> Option<bool>
pub fn enable_session_tag_chaining(&self) -> Option<bool>
Set to True
to allow SageMaker to extract session tags from a training job creation role and reuse these tags when assuming the training job execution role.
source§impl SessionChainingConfig
impl SessionChainingConfig
sourcepub fn builder() -> SessionChainingConfigBuilder
pub fn builder() -> SessionChainingConfigBuilder
Creates a new builder-style object to manufacture SessionChainingConfig
.
Trait Implementations§
source§impl Clone for SessionChainingConfig
impl Clone for SessionChainingConfig
source§fn clone(&self) -> SessionChainingConfig
fn clone(&self) -> SessionChainingConfig
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 SessionChainingConfig
impl Debug for SessionChainingConfig
source§impl PartialEq for SessionChainingConfig
impl PartialEq for SessionChainingConfig
source§fn eq(&self, other: &SessionChainingConfig) -> bool
fn eq(&self, other: &SessionChainingConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SessionChainingConfig
Auto Trait Implementations§
impl Freeze for SessionChainingConfig
impl RefUnwindSafe for SessionChainingConfig
impl Send for SessionChainingConfig
impl Sync for SessionChainingConfig
impl Unpin for SessionChainingConfig
impl UnwindSafe for SessionChainingConfig
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.