This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::TaskDefinition HostEntry
The HostEntry property specifies a hostname and an IP address that are
         added to the /etc/hosts file of a container through the
            extraHosts parameter of its ContainerDefinition
         resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
- Hostname
- 
                    The hostname to use in the /etc/hostsentry.Required: No Type: String Update requires: Replacement 
- IpAddress
- 
                    The IP address to use in the /etc/hostsentry.Required: No Type: String Update requires: Replacement