Menu
Amazon EC2 Container Service
API Reference (API Version 2014-11-13)

ContainerOverride

The overrides that should be sent to a container.

Contents

command

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

Type: array of Strings

Required: No

environment

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

Type: array of KeyValuePair objects

Required: No

name

The name of the container that receives the override. This parameter is required if a command or environment variable is specified.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: