| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.ECS.CreateCluster
Description
Creates a new Amazon ECS cluster. By default, your account will receive 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.
During the preview, each account is limited to two clusters.
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html
Request
data CreateCluster Source
Instances
| Eq CreateCluster | |
| Ord CreateCluster | |
| Read CreateCluster | |
| Show CreateCluster | |
| ToJSON CreateCluster | |
| Monoid CreateCluster | |
| AWSRequest CreateCluster | |
| ToQuery CreateCluster | |
| ToPath CreateCluster | |
| ToHeaders CreateCluster | |
| type Sv CreateCluster = ECS | |
| type Rs CreateCluster = CreateClusterResponse |
Request constructor
createCluster :: CreateCluster Source
CreateCluster constructor.
The fields accessible through corresponding lenses are:
Request lenses
ccClusterName :: Lens' CreateCluster (Maybe Text) Source
The name of your cluster. If you do not specify a name for your cluster, you will create a cluster named 'default'.
Response
Response constructor
createClusterResponse :: CreateClusterResponse Source
CreateClusterResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
ccrCluster :: Lens' CreateClusterResponse (Maybe Cluster) Source
The full description of your new cluster.