AWS SDK Version 3 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.

Describes a principal for use with Resource Access Manager.

Inheritance Hierarchy

System.Object
  Amazon.RAM.Model.Principal

Namespace: Amazon.RAM.Model
Assembly: AWSSDK.RAM.dll
Version: 3.x.y.z

Syntax

C#
public class Principal

The Principal type exposes the following members

Constructors

NameDescription
Public Method Principal()

Properties

NameTypeDescription
Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

The date and time when the principal was associated with the resource share.

Public Property External System.Boolean

Gets and sets the property External.

Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

  • True – The two accounts belong to same organization.

  • False – The two accounts do not belong to the same organization.

Public Property Id System.String

Gets and sets the property Id.

The ID of the principal that can be associated with a resource share.

Public Property LastUpdatedTime System.DateTime

Gets and sets the property LastUpdatedTime.

The date and time when the association between the resource share and the principal was last updated.

Public Property ResourceShareArn System.String

Gets and sets the property ResourceShareArn.

The Amazon Resource Name (ARN) of a resource share the principal is associated with.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5