AWS SDK for .NET Documentation
AssumeRoleResult Class
AmazonAmazon.SecurityToken.ModelAssumeRoleResult Did this page help you?   Yes   No    Tell us about it...
Contains the result of a successful call to the AssumeRole action, including temporary AWS credentials that can be used to make AWS requests.
Declaration Syntax
C#
public class AssumeRoleResult
Members
All MembersConstructorsMethodsProperties



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

AssumedRoleUser
Gets and sets the property AssumedRoleUser.

The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the resulting temporary security credentials. For example, you can reference these credentials as a principal in a resource-based policy by using the ARN or assumed role ID. The ARN and ID include the

CopyC#
RoleSessionName
that you specified when you called
CopyC#
AssumeRole
.


Credentials
Gets and sets the property Credentials.

The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.


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.)
PackedPolicySize
Gets and sets the property PackedPolicySize.

A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAssumedRoleUser(AssumedRoleUser) Obsolete.
Sets the AssumedRoleUser property

WithCredentials(Credentials) Obsolete.
Sets the Credentials property

WithPackedPolicySize(Int32) Obsolete.
Sets the PackedPolicySize property

Inheritance Hierarchy
Object
AssumeRoleResult

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