AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the GetRole operation. Retrieves information about the specified role, including the role's path, GUID, ARN, and the policy granting permission to assume the role. For more information about ARNs, go to ARNs. For more information about roles, go to Working with Roles.

Inheritance Hierarchy

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class GetRoleRequest : AmazonIdentityManagementServiceRequest
         IRequestEvents

The GetRoleRequest type exposes the following members

Constructors

NameDescription
Public Method GetRoleRequest()

Properties

NameTypeDescription
Public Property RoleName System.String Gets and sets the property RoleName.

The name of the role to get information about.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1