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)


19055
19056
19057
19058
19059
19060
19061
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19055

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)


19055
19056
19057
19058
19059
19060
19061
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19055

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)


19055
19056
19057
19058
19059
19060
19061
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19055

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