class Aws::SecurityHub::Types::AwsS3BucketBucketLifecycleConfigurationRulesDetails
Configuration for a lifecycle rule.
@note When making an API call, you may pass AwsS3BucketBucketLifecycleConfigurationRulesDetails
data as a hash: { abort_incomplete_multipart_upload: { days_after_initiation: 1, }, expiration_date: "NonEmptyString", expiration_in_days: 1, expired_object_delete_marker: false, filter: { predicate: { operands: [ { prefix: "NonEmptyString", tag: { key: "NonEmptyString", value: "NonEmptyString", }, type: "NonEmptyString", }, ], prefix: "NonEmptyString", tag: { key: "NonEmptyString", value: "NonEmptyString", }, type: "NonEmptyString", }, }, id: "NonEmptyString", noncurrent_version_expiration_in_days: 1, noncurrent_version_transitions: [ { days: 1, storage_class: "NonEmptyString", }, ], prefix: "NonEmptyString", status: "NonEmptyString", transitions: [ { date: "NonEmptyString", days: 1, storage_class: "NonEmptyString", }, ], }
@!attribute [rw] abort_incomplete_multipart_upload
How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload. @return [Types::AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails]
@!attribute [rw] expiration_date
The date when objects are moved or deleted. Uses the `date-time` format specified in [RFC 3339 section 5.6, Internet Date/Time Format][1]. The value cannot contain spaces. For example, `2020-03-22T13:22:13.933Z`. [1]: https://tools.ietf.org/html/rfc3339#section-5.6 @return [String]
@!attribute [rw] expiration_in_days
The length in days of the lifetime for objects that are subject to the rule. @return [Integer]
@!attribute [rw] expired_object_delete_marker
Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to `true`, the delete marker is expired. If set to `false`, the policy takes no action. If you provide `ExpiredObjectDeleteMarker`, you cannot provide `ExpirationInDays` or `ExpirationDate`. @return [Boolean]
@!attribute [rw] filter
Identifies the objects that a rule applies to. @return [Types::AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails]
@!attribute [rw] id
The unique identifier of the rule. @return [String]
@!attribute [rw] noncurrent_version_expiration_in_days
The number of days that an object is noncurrent before Amazon S3 can perform the associated action. @return [Integer]
@!attribute [rw] noncurrent_version_transitions
Transition rules that describe when noncurrent objects transition to a specified storage class. @return [Array<Types::AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails>]
@!attribute [rw] prefix
A prefix that identifies one or more objects that the rule applies to. @return [String]
@!attribute [rw] status
The current status of the rule. Indicates whether the rule is currently being applied. @return [String]
@!attribute [rw] transitions
Transition rules that indicate when objects transition to a specified storage class. @return [Array<Types::AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails>]
@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsS3BucketBucketLifecycleConfigurationRulesDetails AWS API Documentation
Constants
- SENSITIVE