Menu
Amazon EC2 Container Service
API Reference (API Version 2014-11-13)

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:

On this page: