Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

KmsGrantConstraints

import type { KmsGrantConstraints } from "https://aws-api.deno.dev/v0.4/services/accessanalyzer.ts?docs=full";

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.

interface KmsGrantConstraints {
encryptionContextEquals?: {
[key: string]: string | null | undefined;
}
| null;
encryptionContextSubset?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
encryptionContextEquals?: {
[key: string]: string | null | undefined;
}
| null
[src]

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.

§
encryptionContextSubset?: {
[key: string]: string | null | undefined;
}
| null
[src]

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.