Skip to content

GrantListEntry

Structure Class

GrantListEntry dataclass

Bases: _SerdeShape

Contains information about a grant.

Attributes

constraints class-attribute instance-attribute
constraints: GrantConstraints | None = ...

The constraints on the grant, such as encryption context pairs or a SourceArn, that restrict the subsequent operations the grant allows.

creation_date class-attribute instance-attribute
creation_date: datetime | None = ...

The date and time when the grant was created.

grant_id class-attribute instance-attribute
grant_id: str | None = ...

The unique identifier for the grant.

grantee_principal class-attribute instance-attribute
grantee_principal: str | None = ...

The identity that gets the permissions in the grant.

When a grant is created with the GranteePrincipal field, the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, if the grantee principal is an Amazon Web Services service, the GranteePrincipal field contains an Amazon Web Services service principal, which might correspond to several different grantee principals, such as an IAM user, IAM role, or Amazon Web Services account.

grantee_service_principal class-attribute instance-attribute
grantee_service_principal: str | None = ...

The Amazon Web Services service principal that gets the permissions in the grant.

issuing_account class-attribute instance-attribute
issuing_account: str | None = ...

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

key_id class-attribute instance-attribute
key_id: str | None = ...

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

name class-attribute instance-attribute
name: str | None = ...

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 class-attribute instance-attribute
operations: list[str] | None = ...

The list of operations permitted by the grant.

retiring_principal class-attribute instance-attribute
retiring_principal: str | None = ...

The principal that can retire the grant.

retiring_service_principal class-attribute instance-attribute
retiring_service_principal: str | None = ...

The Amazon Web Services service principal that can retire the grant.