AwsS3BucketBucketLifecycleConfigurationRulesDetails - AWS Security Hub

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.

This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats that you can send to Security Hub:

  • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

  • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

  • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

If a finding provider sends a finding to Security Hub that contains a timestamp in nanoseconds, we round it to milliseconds. For example, we round 2024-10-31T23:00:00.123456789Z to 2024-10-31T23:00:00.123Z.

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 to false, the policy takes no action.

If you provide ExpiredObjectDeleteMarker, you cannot provide ExpirationInDays or ExpirationDate.

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: