Class: Aws::SecurityHub::Types::AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails

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

Overview

The default S3 Object Lock retention mode and period that you want to apply to new objects placed in the specified Amazon S3 bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#daysInteger

The number of days that you want to specify for the default retention period.

Returns:

  • (Integer)


19049
19050
19051
19052
19053
19054
19055
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19049

class AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails < Struct.new(
  :days,
  :mode,
  :years)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.

Returns:

  • (String)


19049
19050
19051
19052
19053
19054
19055
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19049

class AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails < Struct.new(
  :days,
  :mode,
  :years)
  SENSITIVE = []
  include Aws::Structure
end

#yearsInteger

The number of years that you want to specify for the default retention period.

Returns:

  • (Integer)


19049
19050
19051
19052
19053
19054
19055
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19049

class AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails < Struct.new(
  :days,
  :mode,
  :years)
  SENSITIVE = []
  include Aws::Structure
end