Package com.pulumi.aws.kms.outputs
Class GrantConstraint
- java.lang.Object
-
- com.pulumi.aws.kms.outputs.GrantConstraint
-
public final class GrantConstraint extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGrantConstraint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrantConstraint.Builderbuilder()static GrantConstraint.Builderbuilder(GrantConstraint defaults)java.util.Map<java.lang.String,java.lang.String>encryptionContextEquals()java.util.Map<java.lang.String,java.lang.String>encryptionContextSubset()
-
-
-
Method Detail
-
encryptionContextEquals
public java.util.Map<java.lang.String,java.lang.String> encryptionContextEquals()
- Returns:
- 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 `encryptionContextSubset`.
-
encryptionContextSubset
public java.util.Map<java.lang.String,java.lang.String> encryptionContextSubset()
- Returns:
- 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 `encryptionContextEquals`.
-
builder
public static GrantConstraint.Builder builder()
-
builder
public static GrantConstraint.Builder builder(GrantConstraint defaults)
-
-