This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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