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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DurationRange as input to an Aws::Client method, you can use a vanilla Hash:

{
  min_seconds: 1,
  max_seconds: 1,
}

This data type is used in the AssessmentTemplateFilter data type.

Returned by:

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)

    The maximum value of the duration range.

#min_secondsInteger

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

Returns:

  • (Integer)

    The minimum value of the duration range.