NAME

Paws::IAM::Role

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::IAM::Role object:

$service_obj->Method(Att1 => { Arn => $value, ..., RoleName => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::Role object:

$result = $service_obj->Method(...);
$result->Att1->Arn

DESCRIPTION

Contains information about an IAM role.

This data type is used as a response element in the following actions:

  • CreateRole

  • GetRole

  • ListRoles

ATTRIBUTES

REQUIRED Arn => Str

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 I<Using IAM> guide.

AssumeRolePolicyDocument => Str

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

REQUIRED CreateDate => Str

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

REQUIRED Path => Str

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

REQUIRED RoleId => Str

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

REQUIRED RoleName => Str

The friendly name that identifies the role.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::IAM

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues