Struct rusoto_iam::Role [−][src]
pub struct Role { pub arn: String, pub assume_role_policy_document: Option<String>, pub create_date: String, pub description: Option<String>, pub max_session_duration: Option<i64>, pub path: String, pub role_id: String, pub role_name: String, }
Contains information about an IAM role. This structure is returned as a response element in several API operations that interact with roles.
Fields
arn: String
The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.
assume_role_policy_document: Option<String>
The policy that grants an entity permission to assume the role.
create_date: String
The date and time, in ISO 8601 date-time format, when the role was created.
description: Option<String>
A description of the role that you provide.
max_session_duration: Option<i64>
The maximum session duration (in seconds) for the specified role. Anyone who uses the AWS CLI or API to assume the role can specify the duration using the optional DurationSeconds
API parameter or duration-seconds
CLI parameter.
path: String
The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.
role_id: String
The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.
role_name: String
The friendly name that identifies the role.
Trait Implementations
impl Default for Role
[src]
impl Default for Role
impl Debug for Role
[src]
impl Debug for Role
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Role
[src]
impl Clone for Role
fn clone(&self) -> Role
[src]
fn clone(&self) -> Role
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Role
[src]
impl PartialEq for Role