Class: Aws::SecurityHub::Types::AwsS3BucketBucketLifecycleConfigurationRulesDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

Configuration for a lifecycle rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#abort_incomplete_multipart_uploadTypes::AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails

How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.



18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#expiration_dateString

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 with examples:

  • ‘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`)

Returns:

  • (String)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#expiration_in_daysInteger

The length in days of the lifetime for objects that are subject to the rule.

Returns:

  • (Integer)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#expired_object_delete_markerBoolean

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`.

Returns:

  • (Boolean)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#filterTypes::AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails

Identifies the objects that a rule applies to.



18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The unique identifier of the rule.

Returns:

  • (String)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#noncurrent_version_expiration_in_daysInteger

The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

Returns:

  • (Integer)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#noncurrent_version_transitionsArray<Types::AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails>

Transition rules that describe when noncurrent objects transition to a specified storage class.



18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

A prefix that identifies one or more objects that the rule applies to.

Returns:

  • (String)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status of the rule. Indicates whether the rule is currently being applied.

Returns:

  • (String)


18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end

#transitionsArray<Types::AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails>

Transition rules that indicate when objects transition to a specified storage class.



18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
# File 'lib/aws-sdk-securityhub/types.rb', line 18558

class AwsS3BucketBucketLifecycleConfigurationRulesDetails < Struct.new(
  :abort_incomplete_multipart_upload,
  :expiration_date,
  :expiration_in_days,
  :expired_object_delete_marker,
  :filter,
  :id,
  :noncurrent_version_expiration_in_days,
  :noncurrent_version_transitions,
  :prefix,
  :status,
  :transitions)
  SENSITIVE = []
  include Aws::Structure
end