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.
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);
GetEbsEncryptionByDefaultCommandInput for command's input shape.
input
GetEbsEncryptionByDefaultCommandOutput for command's response shape.
response
config for EC2Client's config shape.
config
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.
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);
GetEbsEncryptionByDefaultCommandInput for command's
input
shape.GetEbsEncryptionByDefaultCommandOutput for command's
response
shape.config for EC2Client's
config
shape.