HostEntry - Amazon Elastic Container Service

HostEntry

Hostnames and IP address entries that are added to the /etc/hosts file of a container via the extraHosts parameter of its ContainerDefinition .

Contents

hostname

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

Type: String

Required: Yes

ipAddress

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

Type: String

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: