EC2 / Client / get_ebs_encryption_by_default
get_ebs_encryption_by_default#
- EC2.Client.get_ebs_encryption_by_default(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.get_ebs_encryption_by_default( DryRun=True|False )
- Parameters:
DryRun (boolean) – 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 isUnauthorizedOperation
.- Return type:
dict
- Returns:
Response Syntax
{ 'EbsEncryptionByDefault': True|False }
Response Structure
(dict) –
EbsEncryptionByDefault (boolean) –
Indicates whether encryption by default is enabled.