You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Inspector::Types::DurationRange

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

Overview

Note:

When making an API call, you may pass DurationRange data as a hash:

{
  min_seconds: 1,
  max_seconds: 1,
}

This data type is used in the AssessmentTemplateFilter data type.

Instance Attribute Summary collapse

Instance Attribute Details

#max_secondsInteger

The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).

Returns:

  • (Integer)


1095
1096
1097
1098
1099
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1095

class DurationRange < Struct.new(
  :min_seconds,
  :max_seconds)
  include Aws::Structure
end

#min_secondsInteger

The minimum value of the duration range. Must be greater than zero.

Returns:

  • (Integer)


1095
1096
1097
1098
1099
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1095

class DurationRange < Struct.new(
  :min_seconds,
  :max_seconds)
  include Aws::Structure
end