Skip to content

ResetEncryptionKey

Source: src/AWS/Inspector2/ResetEncryptionKey.ts

Runtime binding for inspector2:ResetEncryptionKey.

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

Provide the implementation with Effect.provide(AWS.Inspector2.ResetEncryptionKeyHttp).

// init
const resetEncryptionKey = yield* AWS.Inspector2.ResetEncryptionKey();
// runtime
yield* resetEncryptionKey({
resourceType: "AWS_ECR_CONTAINER_IMAGE",
scanType: "PACKAGE",
});