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

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

Overview

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",
    },
  ],
}

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.



18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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.



18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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.



18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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)


18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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.



18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18189

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