Class: Aws::GeoRoutes::Types::IsolineTrafficOptions

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

Overview

Controls how real-time and historical traffic data is used when calculating reachable areas. This affects both the size and shape of isolines by accounting for expected travel speeds based on congestion patterns.

Constant Summary collapse

SENSITIVE =
[:flow_event_threshold_override]

Instance Attribute Summary collapse

Instance Attribute Details

#flow_event_threshold_overrideInteger

The duration in seconds that real-time congestion data is considered valid before reverting to historical traffic patterns. This helps balance between using current conditions and more predictable historical data when calculating travel times.

Unit: seconds

Returns:

  • (Integer)


1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1635

class IsolineTrafficOptions < Struct.new(
  :flow_event_threshold_override,
  :usage)
  SENSITIVE = [:flow_event_threshold_override]
  include Aws::Structure
end

#usageString

Controls whether traffic data is used in calculations. UseTrafficData considers both real-time congestion and historical patterns, while IgnoreTrafficData calculates routes based solely on road types and speed limits. Using traffic data provides more accurate real-world estimates but may produce different results at different times of day.

Default value: UseTrafficData

Returns:

  • (String)


1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1635

class IsolineTrafficOptions < Struct.new(
  :flow_event_threshold_override,
  :usage)
  SENSITIVE = [:flow_event_threshold_override]
  include Aws::Structure
end