AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[]

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)


1356
1357
1358
1359
1360
1361
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1356

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

#min_secondsInteger

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

Returns:

  • (Integer)


1356
1357
1358
1359
1360
1361
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1356

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