Skip to content

ECS  >  Dictionaries  >  HostEntryDict

HostEntryDict

Dictionary Type

HostEntryDict

Bases: TypedDict

Dictionary form of HostEntry.

Attributes

hostname instance-attribute
hostname: Required[str]

The hostname to use in the /etc/hosts entry.

ip_address instance-attribute
ip_address: Required[str]

The IP address to use in the /etc/hosts entry.