:doc:`EC2 <../../ec2>` / Client / get_ebs_encryption_by_default

*****************************
get_ebs_encryption_by_default
*****************************



.. py:method:: 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 <https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html>`__ in the *Amazon EBS User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefault>`_  


  **Request Syntax**
  ::

    response = client.get_ebs_encryption_by_default(
        DryRun=True|False
    )
    
  :type DryRun: boolean
  :param DryRun: 

    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``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'EbsEncryptionByDefault': True|False,
          'SseType': 'sse-ebs'|'sse-kms'|'none'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **EbsEncryptionByDefault** *(boolean) --* 

        Indicates whether encryption by default is enabled.

        
      

      - **SseType** *(string) --* 

        Reserved for future use.

        
  