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.

Contains information about a grant.

Inheritance Hierarchy

System.Object
  Amazon.KeyManagementService.Model.GrantListEntry

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

Syntax

C#
public class GrantListEntry

The GrantListEntry type exposes the following members

Constructors

NameDescription
Public Method GrantListEntry()

Properties

NameTypeDescription
Public Property Constraints Amazon.KeyManagementService.Model.GrantConstraints

Gets and sets the property Constraints.

A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.

Public Property CreationDate System.DateTime

Gets and sets the property CreationDate.

The date and time when the grant was created.

Public Property GranteePrincipal System.String

Gets and sets the property GranteePrincipal.

The identity that gets the permissions in the grant.

The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an Amazon Web Services service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

Public Property GrantId System.String

Gets and sets the property GrantId.

The unique identifier for the grant.

Public Property IssuingAccount System.String

Gets and sets the property IssuingAccount.

The Amazon Web Services account under which the grant was issued.

Public Property KeyId System.String

Gets and sets the property KeyId.

The unique identifier for the KMS key to which the grant applies.

Public Property Name System.String

Gets and sets the property Name.

The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null.

Public Property Operations System.Collections.Generic.List<System.String>

Gets and sets the property Operations.

The list of operations permitted by the grant.

Public Property RetiringPrincipal System.String

Gets and sets the property RetiringPrincipal.

The principal that can retire the grant.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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