Resource: awsEbsEncryptionByDefault
Provides a resource to manage whether default EBS encryption is enabled for your AWS account in the current AWS region. To manage the default KMS key for the region, see the awsEbsDefaultKmsKey
resource.
\~> NOTE: Removing this Terraform resource disables default EBS encryption.
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.ebsEncryptionByDefault.EbsEncryptionByDefault(this, "example", {
enabled: true,
});
Argument Reference
The following arguments are supported:
enabled
- (Optional) Whether or not default EBS encryption is enabled. Valid values aretrue
orfalse
. Defaults totrue
.
Attributes Reference
No additional attributes are exported.
Import
Default EBS encryption state can be imported, e.g.,