

# AwsS3BucketServerSideEncryptionRule
<a name="API_AwsS3BucketServerSideEncryptionRule"></a>

An encryption rule to apply to the S3 bucket.

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

 ** ApplyServerSideEncryptionByDefault **   <a name="securityhub-Type-AwsS3BucketServerSideEncryptionRule-ApplyServerSideEncryptionByDefault"></a>
Specifies the default server-side encryption to apply to new objects in the bucket. If a `PUT` object request doesn't specify any server-side encryption, this default encryption is applied.  
Type: [AwsS3BucketServerSideEncryptionByDefault](API_AwsS3BucketServerSideEncryptionByDefault.md) object  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/securityhub-2018-10-26/AwsS3BucketServerSideEncryptionRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/AwsS3BucketServerSideEncryptionRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/AwsS3BucketServerSideEncryptionRule) 