Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetEbsEncryptionByDefaultCommand

Describes whether EBS encryption by default is enabled for your account in the current Region.

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, GetEbsEncryptionByDefaultCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, GetEbsEncryptionByDefaultCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new GetEbsEncryptionByDefaultCommand(input);
const response = await client.send(command);
see

GetEbsEncryptionByDefaultCommandInput for command's input shape.

see

GetEbsEncryptionByDefaultCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetEbsEncryptionByDefaultCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions