class Aws::EndpointProvider
def add_rule(options = {})
(**options)
-
:services
(Array
) -- A list of services this rule -
:region_prefix
(String
) -- Causes regions with this -
:priority
(Integer
) -- A number from 0 to 999. -
:pattern
(required, String
) -- The endpoint pattern with
def add_rule(options = {}) @rules = (@rules + [new_rule(options)]).sort_by { |r| r['priority'] } end