You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECS::Types::HostEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::HostEntry
- Defined in:
- (unknown)
Overview
Note:
When passing HostEntry as input to an Aws::Client method, you can use a vanilla Hash:
{
hostname: "String", # required
ip_address: "String", # required
}
Hostnames and IP address entries that are added to the /etc/hosts
file of a container via the extraHosts
parameter of its ContainerDefinition.
Instance Attribute Summary collapse
-
#hostname ⇒ String
The hostname to use in the
/etc/hosts
entry. -
#ip_address ⇒ String
The IP address to use in the
/etc/hosts
entry.
Instance Attribute Details
#hostname ⇒ String
The hostname to use in the /etc/hosts
entry.
#ip_address ⇒ String
The IP address to use in the /etc/hosts
entry.