GrantConstraintArgs

data class GrantConstraintArgs(val encryptionContextEquals: Output<Map<String, String>>? = null, val encryptionContextSubset: Output<Map<String, String>>? = null) : ConvertibleToJava<GrantConstraintArgs>

Constructors

Link copied to clipboard
constructor(encryptionContextEquals: Output<Map<String, String>>? = null, encryptionContextSubset: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val encryptionContextEquals: Output<Map<String, String>>? = null

A list of key-value pairs that must match the encryption context in subsequent cryptographic operation requests. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint. Conflicts with encryption_context_subset.

Link copied to clipboard
val encryptionContextSubset: Output<Map<String, String>>? = null

A list of key-value pairs that must be included in the encryption context of subsequent cryptographic operation requests. 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. Conflicts with encryption_context_equals.

Functions

Link copied to clipboard
open override fun toJava(): GrantConstraintArgs