extraHosts

@JvmName(name = "krltohddhxpqayxd")
suspend fun extraHosts(value: Output<List<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "dposxthekebelofk")
suspend fun extraHosts(value: List<TaskDefinitionHostEntryArgs>?)

Parameters

value

A list of hostnames and IP address mappings to append to the `/etc/hosts` file on the container. This parameter maps to `ExtraHosts` in the Create a container section of the Docker Remote API and the `--add-host` option to docker run. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.


@JvmName(name = "vumaharxagxvbygo")
suspend fun extraHosts(vararg values: Output<TaskDefinitionHostEntryArgs>)


@JvmName(name = "sagpdlthepllhvlt")
suspend fun extraHosts(values: List<Output<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "mqejnwrfwatgxenk")
suspend fun extraHosts(vararg values: TaskDefinitionHostEntryArgs)

Parameters

values

A list of hostnames and IP address mappings to append to the `/etc/hosts` file on the container. This parameter maps to `ExtraHosts` in the Create a container section of the Docker Remote API and the `--add-host` option to docker run. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.


@JvmName(name = "dpcvlbylvtqonbns")
suspend fun extraHosts(argument: List<suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit>)
@JvmName(name = "oamwbhfglrwoulwt")
suspend fun extraHosts(vararg argument: suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit)
@JvmName(name = "vfkmowjgspuelrax")
suspend fun extraHosts(argument: suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit)

Parameters

argument

A list of hostnames and IP address mappings to append to the `/etc/hosts` file on the container. This parameter maps to `ExtraHosts` in the Create a container section of the Docker Remote API and the `--add-host` option to docker run. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.