extraHosts

@JvmName(name = "clvqfixkyvgtutun")
suspend fun extraHosts(value: Output<List<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "isamwravutagdhfh")
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 docker container create command 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 = "mdbnucdohrgulckj")
suspend fun extraHosts(vararg values: Output<TaskDefinitionHostEntryArgs>)


@JvmName(name = "ubumsxfnnevjpasl")
suspend fun extraHosts(values: List<Output<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "hnrggxyngyhupmlo")
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 docker container create command 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 = "dafxelvhdjobwcft")
suspend fun extraHosts(argument: List<suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit>)
@JvmName(name = "hmvptlisrmgrjwdd")
suspend fun extraHosts(vararg argument: suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit)
@JvmName(name = "jipibgkmshtfgnxv")
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 docker container create command and the `--add-host` option to docker run. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.