Class: Aws::SecurityHub::Types::AwsS3BucketObjectLockConfiguration

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

Overview

The container element for S3 Object Lock configuration parameters. In Amazon S3, Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#object_lock_enabledString

Indicates whether the bucket has an Object Lock configuration enabled.

Returns:

  • (String)


18267
18268
18269
18270
18271
18272
# File 'lib/aws-sdk-securityhub/types.rb', line 18267

class AwsS3BucketObjectLockConfiguration < Struct.new(
  :object_lock_enabled,
  :rule)
  SENSITIVE = []
  include Aws::Structure
end

#ruleTypes::AwsS3BucketObjectLockConfigurationRuleDetails

Specifies the Object Lock rule for the specified object.



18267
18268
18269
18270
18271
18272
# File 'lib/aws-sdk-securityhub/types.rb', line 18267

class AwsS3BucketObjectLockConfiguration < Struct.new(
  :object_lock_enabled,
  :rule)
  SENSITIVE = []
  include Aws::Structure
end