Enables EBS encryption by default for your account in the current Region.
After you enable encryption by default, the EBS volumes that you create are are always encrypted, either using the default CMK or the CMK that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.
You can specify the default CMK for encryption by default using
modify_ebs_default_kms_key_id
or
reset_ebs_default_kms_key_id
.
Enabling encryption by default has no effect on the encryption status of your existing volumes.
After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.
ec2_enable_ebs_encryption_by_default(DryRun)
A list with the following syntax:
list(
EbsEncryptionByDefault = TRUE|FALSE
)
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
svc$enable_ebs_encryption_by_default(
DryRun = TRUE|FALSE
)