Class: Aws::AccessAnalyzer::Types::KmsGrantConstraints
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccessAnalyzer::Types::KmsGrantConstraints
- Defined in:
- gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb
Overview
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context. You can specify only one type of encryption context. An empty map is treated as not specified. For more information, see GrantConstraints.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#encryption_context_equals ⇒ Hash<String,String>
A list of key-value pairs that must match the encryption context in the [cryptographic operation][1] request.
-
#encryption_context_subset ⇒ Hash<String,String>
A list of key-value pairs that must be included in the encryption context of the [cryptographic operation][1] request.
Instance Attribute Details
#encryption_context_equals ⇒ Hash<String,String>
A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint.
2701 2702 2703 2704 2705 2706 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2701 class KmsGrantConstraints < Struct.new( :encryption_context_equals, :encryption_context_subset) SENSITIVE = [] include Aws::Structure end |
#encryption_context_subset ⇒ Hash<String,String>
A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs.
2701 2702 2703 2704 2705 2706 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2701 class KmsGrantConstraints < Struct.new( :encryption_context_equals, :encryption_context_subset) SENSITIVE = [] include Aws::Structure end |