ecs_create_cluster: Creates a new Amazon ECS cluster
Description
Creates a new Amazon ECS cluster. By default, your account receives a
default cluster when you launch your first container instance.
However, you can create your own cluster with a unique name with the
CreateCluster action.
Usage
ecs_create_cluster(clusterName, tags)
Arguments
clusterName
The name of your cluster. If you do not specify a name for your cluster,
you create a cluster named default. Up to 255 letters (uppercase and
lowercase), numbers, hyphens, and underscores are allowed.
tags
The metadata that you apply to the cluster to help you categorize and
organize them. Each tag consists of a key and an optional value, both of
which you define. Tag keys can have a maximum character length of 128
characters, and tag values can have a maximum length of 256 characters.
When you call the CreateCluster API operation, Amazon ECS attempts to
create the service-linked role for your account so that required
resources in other AWS services can be managed on your behalf. However,
if the IAM user that makes the call does not have permissions to create
the service-linked role, it is not created. For more information, see
Using Service-Linked Roles for Amazon ECS
in the Amazon Elastic Container Service Developer Guide.