AWS SDK for .NET Documentation
Role Class
AmazonAmazon.IdentityManagement.ModelRole Did this page help you?   Yes   No    Tell us about it...
The Role data type contains information about a role.

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

Declaration Syntax
C#
public class Role
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Role()()()()
Initializes a new instance of the Role class

Arn
Gets and sets the property Arn.

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.


AssumeRolePolicyDocument
Gets and sets the property AssumeRolePolicyDocument.

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

The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.


CreateDate
Gets and sets the property CreateDate.

The date when the role was created.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Path
Gets and sets the property Path.

Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.


RoleId
Gets and sets the property RoleId.

The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.


RoleName
Gets and sets the property RoleName.

The name identifying the role.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithArn(String) Obsolete.
Sets the Arn property

WithAssumeRolePolicyDocument(String) Obsolete.
Sets the AssumeRolePolicyDocument property

WithCreateDate(DateTime) Obsolete.
Sets the CreateDate property

WithPath(String) Obsolete.
Sets the Path property

WithRoleId(String) Obsolete.
Sets the RoleId property

WithRoleName(String) Obsolete.
Sets the RoleName property

Inheritance Hierarchy
Object
Role

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)