Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DisableEbsEncryptionByDefaultCommand

Disables EBS encryption by default for your account in the current Region.

After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume.

Disabling encryption by default does not change the encryption status of your existing volumes.

For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, DisableEbsEncryptionByDefaultCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, DisableEbsEncryptionByDefaultCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new DisableEbsEncryptionByDefaultCommand(input);
const response = await client.send(command);
see

DisableEbsEncryptionByDefaultCommandInput for command's input shape.

see

DisableEbsEncryptionByDefaultCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DisableEbsEncryptionByDefaultCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions