NAME

Paws::KMS::GrantListEntry

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::KMS::GrantListEntry object:

$service_obj->Method(Att1 => { Constraints => $value, ..., RetiringPrincipal => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::KMS::GrantListEntry object:

$result = $service_obj->Method(...);
$result->Att1->Constraints

DESCRIPTION

Contains information about a grant.

ATTRIBUTES

Constraints => Paws::KMS::GrantConstraints

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

CreationDate => Str

The date and time when the grant was created.

GranteePrincipal => Str

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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services), which might represent several different grantee principals.

GrantId => Str

The unique identifier for the grant.

IssuingAccount => Str

The AWS account under which the grant was issued.

KeyId => Str

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

Name => Str

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.

Operations => ArrayRef[Str|Undef]

The list of operations permitted by the grant.

RetiringPrincipal => Str

The principal that can retire the grant.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::KMS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues