Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 Container Service TaskDefinition ContainerDefinitions HostEntry

HostEntry is a property of the Amazon EC2 Container Service TaskDefinition ContainerDefinitions property that specifies the hostnames and IP address entries to add to the Amazon EC2 Container Service (Amazon ECS) container's /etc/hosts file.

Syntax

JSON

Copy
{ "Hostname" : String, "IpAddress" : String }

YAML

Copy
Hostname: String IpAddress: String

Properties

Hostname

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

Required: Yes

Type: String

IpAddress

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

Required: Yes

Type: String