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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Contains information about an entry in a list of grants.

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.



1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#creation_dateTime

The date and time when the grant was created.

Returns:

  • (Time)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#grant_idString

The unique identifier for the grant.

Returns:

  • (String)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#grantee_principalString

The principal that receives the grant’s permissions.

Returns:

  • (String)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#issuing_accountString

The AWS account under which the grant was issued.

Returns:

  • (String)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#key_idString

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

Returns:

  • (String)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#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)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#operationsArray<String>

The list of operations permitted by the grant.

Returns:

  • (Array<String>)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end

#retiring_principalString

The principal that can retire the grant.

Returns:

  • (String)


1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
# File 'lib/aws-sdk-kms/types.rb', line 1315

class GrantListEntry < Struct.new(
  :key_id,
  :grant_id,
  :name,
  :creation_date,
  :grantee_principal,
  :retiring_principal,
  :issuing_account,
  :operations,
  :constraints)
  include Aws::Structure
end