extraHosts

@JvmName(name = "hiabrofntgsgkjat")
suspend fun extraHosts(value: Output<List<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "tgauionformgselb")
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 = "vapaqcmamcrevjki")
suspend fun extraHosts(vararg values: Output<TaskDefinitionHostEntryArgs>)


@JvmName(name = "gltolqssigavcnbp")
suspend fun extraHosts(values: List<Output<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "gaduqaqxtmdxqwvk")
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 = "ubemewgpticopfvk")
suspend fun extraHosts(argument: List<suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit>)
@JvmName(name = "kmlyumtxtdmmuwcg")
suspend fun extraHosts(vararg argument: suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit)
@JvmName(name = "yexndscwiotatxfy")
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.