ecs_execute_command: Runs a command remotely on a container within a task

View source: R/ecs_operations.R

ecs_execute_commandR Documentation

Runs a command remotely on a container within a task

Description

Runs a command remotely on a container within a task.

See https://www.paws-r-sdk.com/docs/ecs_execute_command/ for full documentation.

Usage

ecs_execute_command(
  cluster = NULL,
  container = NULL,
  command,
  interactive,
  task
)

Arguments

cluster

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

container

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

command

[required] The command to run on the container.

interactive

[required] Use this flag to run your command in interactive mode.

task

[required] The Amazon Resource Name (ARN) or ID of the task the container is part of.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.