

# AwsS3BucketObjectLockConfigurationRuleDetails
<a name="API_AwsS3BucketObjectLockConfigurationRuleDetails"></a>

 Specifies the S3 Object Lock rule for the specified object. In Amazon S3, Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely. 

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

 ** DefaultRetention **   <a name="securityhub-Type-AwsS3BucketObjectLockConfigurationRuleDetails-DefaultRetention"></a>
 The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.   
Type: [AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails](API_AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.md) object  
Required: No

## See Also
<a name="API_AwsS3BucketObjectLockConfigurationRuleDetails_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/AwsS3BucketObjectLockConfigurationRuleDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/AwsS3BucketObjectLockConfigurationRuleDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/AwsS3BucketObjectLockConfigurationRuleDetails) 