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: StringThe ARN of the IAM role that the temporary credentials authenticate to.
assume_role_id: StringThe 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
source§fn eq(&self, other: &AssumedRoleUser) -> bool
fn eq(&self, other: &AssumedRoleUser) -> bool
self and other values to be equal, and is used
by ==.