paws.compute (version 0.1.0)

ecs_update_container_agent: Updates the Amazon ECS container agent on a specified container instance

Description

Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent does not interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.

Usage

ecs_update_container_agent(cluster, containerInstance)

Arguments

cluster

The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.

containerInstance

[required] The container instance ID or full ARN entries for the container instance on which you would like to update the Amazon ECS container agent.

Request syntax

svc$update_container_agent(
  cluster = "string",
  containerInstance = "string"
)

Details

UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide.