Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for CreateCluster.
Creating a Request
createCluster :: CreateCluster Source
Creates a value of CreateCluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCluster Source
See: createCluster
smart constructor.
Request Lenses
ccClusterName :: Lens' CreateCluster (Maybe Text) Source
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.
Destructuring the Response
Creates a value of CreateClusterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterResponse Source
See: createClusterResponse
smart constructor.
Response Lenses
ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster) Source
The full description of your new cluster.
ccrsResponseStatus :: Lens' CreateClusterResponse Int Source
The response status code.