extraHosts

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


@JvmName(name = "blhlhjwphosnbupu")
suspend fun extraHosts(values: List<Output<TaskDefinitionHostEntryArgs>>)
@JvmName(name = "qdlcnbycflfbddll")
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 = "dcpbxqfkogopmjqp")
suspend fun extraHosts(argument: List<suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit>)
@JvmName(name = "tmsodnolbgxtylvx")
suspend fun extraHosts(vararg argument: suspend TaskDefinitionHostEntryArgsBuilder.() -> Unit)
@JvmName(name = "sworsmnmhnxuwgid")
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.