GetEncryptionKey
Source:
src/AWS/Inspector2/GetEncryptionKey.ts
Runtime binding for inspector2:GetEncryptionKey.
Gets an encryption key.
Provide the implementation with
Effect.provide(AWS.Inspector2.GetEncryptionKeyHttp).
Account Settings & Usage
Section titled “Account Settings & Usage”// initconst getEncryptionKey = yield* AWS.Inspector2.GetEncryptionKey();
// runtimeconst { kmsKeyId } = yield* getEncryptionKey({ resourceType: "AWS_ECR_CONTAINER_IMAGE", scanType: "PACKAGE",});