Class: Aws::ECS::Types::HostEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::HostEntry
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Hostnames and IP address entries that are added to the ‘/etc/hosts` file of a container via the `extraHosts` parameter of its [ContainerDefinition].
[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html
Constant Summary collapse
- SENSITIVE =
[]
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.