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)


19022
19023
19024
19025
19026
19027
# File 'lib/aws-sdk-securityhub/types.rb', line 19022

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

#ruleTypes::AwsS3BucketObjectLockConfigurationRuleDetails

Specifies the Object Lock rule for the specified object.



19022
19023
19024
19025
19026
19027
# File 'lib/aws-sdk-securityhub/types.rb', line 19022

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