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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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)


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

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

#ruleTypes::AwsS3BucketObjectLockConfigurationRuleDetails

Specifies the Object Lock rule for the specified object.



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

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