class Aws::ECS::Types::HostEntry

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

@note When making an API call, you may pass HostEntry

data as a hash:

    {
      hostname: "String", # required
      ip_address: "String", # required
    }

@!attribute [rw] hostname

The hostname to use in the `/etc/hosts` entry.
@return [String]

@!attribute [rw] ip_address

The IP address to use in the `/etc/hosts` entry.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostEntry AWS API Documentation

Constants

SENSITIVE