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

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.

The policy that grants an entity permission to assume the role.

The date and time, in ISO 8601 date-time format, when the role was created.

A description of the role that you provide.

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.

The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.

The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.

The friendly name that identifies the role.

Trait Implementations

impl Default for Role
[src]

Returns the "default value" for a type. Read more

impl Debug for Role
[src]

Formats the value using the given formatter. Read more

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Role
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Role

impl Sync for Role