TaskDefinitionHostEntryArgs

data class TaskDefinitionHostEntryArgs(val hostname: Output<String>? = null, val ipAddress: Output<String>? = null) : ConvertibleToJava<TaskDefinitionHostEntryArgs>

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: Output<String>? = null, ipAddress: Output<String>? = null)

Properties

Link copied to clipboard
val hostname: Output<String>? = null

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

Link copied to clipboard
val ipAddress: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): TaskDefinitionHostEntryArgs