Struct aws_sdk_eksauth::types::AssumedRoleUser
source · #[non_exhaustive]pub struct AssumedRoleUser {
pub arn: String,
pub assume_role_id: String,
}
Expand description
An object with the permanent IAM role identity and the temporary session name.
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.arn: String
The ARN of the IAM role that the temporary credentials authenticate to.
assume_role_id: String
The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:
), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID
Implementations§
source§impl AssumedRoleUser
impl AssumedRoleUser
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The ARN of the IAM role that the temporary credentials authenticate to.
sourcepub fn assume_role_id(&self) -> &str
pub fn assume_role_id(&self) -> &str
The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:
), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID
source§impl AssumedRoleUser
impl AssumedRoleUser
sourcepub fn builder() -> AssumedRoleUserBuilder
pub fn builder() -> AssumedRoleUserBuilder
Creates a new builder-style object to manufacture AssumedRoleUser
.
Trait Implementations§
source§impl Clone for AssumedRoleUser
impl Clone for AssumedRoleUser
source§fn clone(&self) -> AssumedRoleUser
fn clone(&self) -> AssumedRoleUser
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssumedRoleUser
impl Debug for AssumedRoleUser
source§impl PartialEq for AssumedRoleUser
impl PartialEq for AssumedRoleUser
impl StructuralPartialEq for AssumedRoleUser
Auto Trait Implementations§
impl Freeze for AssumedRoleUser
impl RefUnwindSafe for AssumedRoleUser
impl Send for AssumedRoleUser
impl Sync for AssumedRoleUser
impl Unpin for AssumedRoleUser
impl UnwindSafe for AssumedRoleUser
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