Skip to content

Data Source: awsEbsEncryptionByDefault

Provides a way to check whether default EBS encryption is enabled for your AWS account in the current AWS region.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsEbsEncryptionByDefault.DataAwsEbsEncryptionByDefault(
  this,
  "current",
  {}
);

Attributes Reference

The following attributes are exported:

  • enabled - Whether or not default EBS encryption is enabled. Returns as true or false.
  • id - Region of default EBS encryption.

Timeouts

Configuration options:

  • read - (Default 20M)