class
Amazonite::Kms::GrantListEntry
- Amazonite::Kms::GrantListEntry
- Reference
- Object
Overview
Contains information about a grant.
Included Modules
- JSON::Serializable
Defined in:
kms/grant_list_entry.crConstructors
- .new(pull : JSON::PullParser)
- .new(key_id : String | Nil = nil, grant_id : String | Nil = nil, name : String | Nil = nil, creation_date : Time | Nil = nil, grantee_principal : String | Nil = nil, retiring_principal : String | Nil = nil, issuing_account : String | Nil = nil, operations : Array(GrantOperation) | Nil = nil, constraints : GrantConstraints | Nil = nil, grantee_service_principal : String | Nil = nil, retiring_service_principal : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#constraints : GrantConstraints | Nil
The constraints on the grant, such as encryption context pairs or a SourceArn, that restrict the subsequent operations the grant allows.
-
#constraints=(constraints : GrantConstraints | Nil)
The constraints on the grant, such as encryption context pairs or a SourceArn, that restrict the subsequent operations the grant allows.
-
#creation_date : Time | Nil
The date and time when the grant was created.
-
#creation_date=(creation_date : Time | Nil)
The date and time when the grant was created.
-
#grant_id : String | Nil
The unique identifier for the grant.
-
#grant_id=(grant_id : String | Nil)
The unique identifier for the grant.
-
#grantee_principal : String | Nil
The identity that gets the permissions in the grant.
-
#grantee_principal=(grantee_principal : String | Nil)
The identity that gets the permissions in the grant.
-
#grantee_service_principal : String | Nil
The Amazon Web Services service principal that gets the permissions in the grant.
-
#grantee_service_principal=(grantee_service_principal : String | Nil)
The Amazon Web Services service principal that gets the permissions in the grant.
-
#hash(hasher)
See
Object#hash(hasher) -
#issuing_account : String | Nil
The Amazon Web Services account under which the grant was issued.
-
#issuing_account=(issuing_account : String | Nil)
The Amazon Web Services account under which the grant was issued.
-
#key_id : String | Nil
The unique identifier for the KMS key to which the grant applies.
-
#key_id=(key_id : String | Nil)
The unique identifier for the KMS key to which the grant applies.
-
#name : String | Nil
The friendly name that identifies the grant.
-
#name=(name : String | Nil)
The friendly name that identifies the grant.
-
#operations : Array(GrantOperation) | Nil
The list of operations permitted by the grant.
-
#operations=(operations : Array(GrantOperation) | Nil)
The list of operations permitted by the grant.
-
#retiring_principal : String | Nil
The principal that can retire the grant.
-
#retiring_principal=(retiring_principal : String | Nil)
The principal that can retire the grant.
-
#retiring_service_principal : String | Nil
The Amazon Web Services service principal that can retire the grant.
-
#retiring_service_principal=(retiring_service_principal : String | Nil)
The Amazon Web Services service principal that can retire the grant.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The constraints on the grant, such as encryption context pairs or a SourceArn, that restrict the subsequent operations the grant allows.
The constraints on the grant, such as encryption context pairs or a SourceArn, that restrict the subsequent operations the grant allows.
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.
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.
The Amazon Web Services service principal that gets the permissions in the grant.
The Amazon Web Services service principal that gets the permissions in the grant.
The Amazon Web Services account under which the grant was issued.
The Amazon Web Services account under which the grant was issued.
The unique identifier for the KMS key to which the grant applies.
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.
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.
The list of operations permitted by the grant.
The principal that can retire the grant.
The Amazon Web Services service principal that can retire the grant.
The Amazon Web Services service principal that can retire the grant.