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

ecs-cli configure default

Description

Sets the cluster configuration that will be read from by default.

Note

Unlike the AWS CLI, the Amazon ECS CLI does not expect or require that the default configuration be named default. The name of a configuration does not determine whether or not it is default.

Syntax

ecs-cli configure default --config-name config_name

Options

Name Description

--config-name config_name

Specifies the name of this cluster configuration. This is the name that will then be able to be referenced in commands using the --cluster-config flag. If this option is omitted, then the name is set to default.

Type: String

Required: No

--help, -h

Shows the help text for the specified command.

Required: No

Examples

Example

This example configures the Amazon ECS CLI to set the ecs-cli-demo cluster configuration as the default.

Copy
ecs-cli configure default --config-name ecs-cli-demo

There is no output if the command is successful.