Struct aws_sdk_accessanalyzer::model::KmsGrantConstraints [−][src]
#[non_exhaustive]pub struct KmsGrantConstraints {
pub encryption_context_equals: Option<HashMap<String, String>>,
pub encryption_context_subset: Option<HashMap<String, String>>,
}Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.encryption_context_equals: Option<HashMap<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.
encryption_context_subset: Option<HashMap<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.
Implementations
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.
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.
Creates a new builder-style object to manufacture KmsGrantConstraints
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for KmsGrantConstraints
impl Send for KmsGrantConstraints
impl Sync for KmsGrantConstraints
impl Unpin for KmsGrantConstraints
impl UnwindSafe for KmsGrantConstraints
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more