TaskDefinitionHostEntry

data class TaskDefinitionHostEntry(val hostname: String? = null, val ipAddress: String? = null)

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.

Constructors

Link copied to clipboard
constructor(hostname: String? = null, ipAddress: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val hostname: String? = null

The hostname to use in the `/etc/hosts` entry.

Link copied to clipboard
val ipAddress: String? = null

The IP address to use in the `/etc/hosts` entry.