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

*********************************
disable_ebs_encryption_by_default
*********************************



.. py:method:: EC2.Client.disable_ebs_encryption_by_default(**kwargs)

  

  Disables EBS encryption by default for your account in the current Region.

   

  After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume.

   

  Disabling encryption by default does not change the encryption status of your existing volumes.

   

  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/DisableEbsEncryptionByDefault>`_  


  **Request Syntax**
  ::

    response = client.disable_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
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The updated status of encryption by default.

        
  