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)


18261
18262
18263
18264
18265
18266
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18261

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

#ruleTypes::AwsS3BucketObjectLockConfigurationRuleDetails

Specifies the Object Lock rule for the specified object.



18261
18262
18263
18264
18265
18266
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18261

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