Submit Container State Change
| ecs_submit_container_state_change | R Documentation |
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent¶
Description¶
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a container changed states.
Usage¶
ecs_submit_container_state_change(cluster, task, containerName,
runtimeId, status, exitCode, reason, networkBindings)
Arguments¶
clusterThe short name or full ARN of the cluster that hosts the container.
taskThe task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
containerNameThe name of the container.
runtimeIdThe ID of the Docker container.
statusThe status of the state change request.
exitCodeThe exit code that's returned for the state change request.
reasonThe reason for the state change request.
networkBindingsThe network bindings of the container.
Value¶
A list with the following syntax:
Request syntax¶
svc$submit_container_state_change(
cluster = "string",
task = "string",
containerName = "string",
runtimeId = "string",
status = "string",
exitCode = 123,
reason = "string",
networkBindings = list(
list(
bindIP = "string",
containerPort = 123,
hostPort = 123,
protocol = "tcp"|"udp",
containerPortRange = "string",
hostPortRange = "string"
)
)
)