AwsS3BucketBucketLifecycleConfigurationRulesDetails
Configuration for a lifecycle rule.
Contents
- AbortIncompleteMultipartUpload
-
How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.
Type: AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails object
Required: No
- ExpirationDate
-
The date when objects are moved or deleted.
For more information about the validation and formatting of timestamp fields in AWS Security Hub, see Timestamps.
Type: String
Pattern:
.*\S.*
Required: No
- ExpirationInDays
-
The length in days of the lifetime for objects that are subject to the rule.
Type: Integer
Required: No
- ExpiredObjectDeleteMarker
-
Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to
true
, the delete marker is expired. If set tofalse
, the policy takes no action.If you provide
ExpiredObjectDeleteMarker
, you cannot provideExpirationInDays
orExpirationDate
.Type: Boolean
Required: No
- Filter
-
Identifies the objects that a rule applies to.
Type: AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails object
Required: No
- ID
-
The unique identifier of the rule.
Type: String
Pattern:
.*\S.*
Required: No
- NoncurrentVersionExpirationInDays
-
The number of days that an object is noncurrent before Amazon S3 can perform the associated action.
Type: Integer
Required: No
- NoncurrentVersionTransitions
-
Transition rules that describe when noncurrent objects transition to a specified storage class.
Type: Array of AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails objects
Required: No
- Prefix
-
A prefix that identifies one or more objects that the rule applies to.
Type: String
Pattern:
.*\S.*
Required: No
- Status
-
The current status of the rule. Indicates whether the rule is currently being applied.
Type: String
Pattern:
.*\S.*
Required: No
- Transitions
-
Transition rules that indicate when objects transition to a specified storage class.
Type: Array of AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: