Class: Aws::AccessAnalyzer::Types::KmsGrantConfiguration

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

Overview

A proposed grant configuration for a KMS key. For more information, see [CreateGrant].

[1]: docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#constraintsTypes::KmsGrantConstraints

Use this structure to propose allowing [cryptographic operations] in the grant only when the operation request includes the specified [encryption context].

[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations [2]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context



2527
2528
2529
2530
2531
2532
2533
2534
2535
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2527

class KmsGrantConfiguration < Struct.new(
  :operations,
  :grantee_principal,
  :retiring_principal,
  :constraints,
  :issuing_account)
  SENSITIVE = []
  include Aws::Structure
end

#grantee_principalString

The principal that is given permission to perform the operations that the grant permits.

Returns:

  • (String)


2527
2528
2529
2530
2531
2532
2533
2534
2535
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2527

class KmsGrantConfiguration < Struct.new(
  :operations,
  :grantee_principal,
  :retiring_principal,
  :constraints,
  :issuing_account)
  SENSITIVE = []
  include Aws::Structure
end

#issuing_accountString

The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.

Returns:

  • (String)


2527
2528
2529
2530
2531
2532
2533
2534
2535
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2527

class KmsGrantConfiguration < Struct.new(
  :operations,
  :grantee_principal,
  :retiring_principal,
  :constraints,
  :issuing_account)
  SENSITIVE = []
  include Aws::Structure
end

#operationsArray<String>

A list of operations that the grant permits.

Returns:

  • (Array<String>)


2527
2528
2529
2530
2531
2532
2533
2534
2535
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2527

class KmsGrantConfiguration < Struct.new(
  :operations,
  :grantee_principal,
  :retiring_principal,
  :constraints,
  :issuing_account)
  SENSITIVE = []
  include Aws::Structure
end

#retiring_principalString

The principal that is given permission to retire the grant by using

RetireGrant][1

operation.

[1]: docs.aws.amazon.com/kms/latest/APIReference/API_RetireGrant.html

Returns:

  • (String)


2527
2528
2529
2530
2531
2532
2533
2534
2535
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2527

class KmsGrantConfiguration < Struct.new(
  :operations,
  :grantee_principal,
  :retiring_principal,
  :constraints,
  :issuing_account)
  SENSITIVE = []
  include Aws::Structure
end