You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::KMS::Types::GrantListEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about a grant.

Instance Attribute Summary collapse

Instance Attribute Details

#constraintsTypes::GrantConstraints

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

Returns:

  • (Types::GrantConstraints)

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

#creation_dateTime

The date and time when the grant was created.

Returns:

  • (Time)

    The date and time when the grant was created.

#grant_idString

The unique identifier for the grant.

Returns:

  • (String)

    The unique identifier for the grant.

#grantee_principalString

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 AWS service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

Returns:

  • (String)

    The identity that gets the permissions in the grant.

#issuing_accountString

The AWS account under which the grant was issued.

Returns:

  • (String)

    The AWS account under which the grant was issued.

#key_idString

The unique identifier for the customer master key (CMK) to which the grant applies.

Returns:

  • (String)

    The unique identifier for the customer master key (CMK) to which the grant applies.

#nameString

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.

Returns:

  • (String)

    The friendly name that identifies the grant.

#operationsArray<String>

The list of operations permitted by the grant.

Returns:

  • (Array<String>)

    The list of operations permitted by the grant.

#retiring_principalString

The principal that can retire the grant.

Returns:

  • (String)

    The principal that can retire the grant.