

# DefaultServerSideEncryption
<a name="API_DefaultServerSideEncryption"></a>

Contains information on the server side encryption method used in the S3 bucket. See [S3 Server-Side Encryption](https://docs.amazonaws.cn/AmazonS3/latest/dev/serv-side-encryption.html) for more information.

## Contents
<a name="API_DefaultServerSideEncryption_Contents"></a>

 ** encryptionType **   <a name="guardduty-Type-DefaultServerSideEncryption-encryptionType"></a>
The type of encryption used for objects within the S3 bucket.  
Type: String  
Required: No

 ** kmsMasterKeyArn **   <a name="guardduty-Type-DefaultServerSideEncryption-kmsMasterKeyArn"></a>
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket `EncryptionType` is `aws:kms`.  
Type: String  
Required: No

## See Also
<a name="API_DefaultServerSideEncryption_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/guardduty-2017-11-28/DefaultServerSideEncryption) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/DefaultServerSideEncryption) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/DefaultServerSideEncryption) 