TtlTarget¶
- class TtlTarget(set_ttl_to: Optional[int] = None, inc_ttl_by: Optional[int] = None, dec_ttl_by: Optional[int] = None)[source]¶
This class provides access to the
TTLtarget- Parameters:
set_ttl_to – set the TTL to this value
inc_ttl_by – increase the TTL by this value
dec_ttl_by – decrease the TTL by this value
Exactly one of
set_ttl_to,inc_ttl_by,dec_ttl_byshould not be equal toNone.- get_target_name() str¶
Returns the target name
- is_terminating() bool¶
Returns
Trueif this is a terminating target