pub struct Role {
pub arn: String,
pub assume_role_policy_document: String,
pub create_date: String,
pub description: String,
pub max_session_duration: i32,
pub path: String,
pub role_id: String,
pub role_name: String,
pub tags: Vec<Tag>,
pub permissions_boundary: PermissionsBoundary,
pub namespace: String,
}
Expand description
A role is similar to a user, in that it is an identity with permission policies that determine what the identity can and cannot do.
Fields§
§arn: String
Arn that identifies the role.
assume_role_policy_document: String
The trust relationship policy document that grants an entity permission to assume the role.
create_date: String
ISO 8601 DateTime when role was created.
description: String
The description of the IAM role.
max_session_duration: i32
The maximum session duration (in seconds) that you want to set for the specified role.
path: String
The path to the IAM role.
role_id: String
Unique Id associated with the role.
role_name: String
Simple name identifying the role.
The list of Tags associated with the role.
permissions_boundary: PermissionsBoundary
Permissions boundary
namespace: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Role
impl<'de> Deserialize<'de> for Role
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
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