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/hosts
entry.Required: No
Type: String
Update requires: Replacement
IpAddress
-
The IP address to use in the
/etc/hosts
entry.Required: No
Type: String
Update requires: Replacement