createCluster
inline suspend fun PcsClient.createCluster(crossinline block: CreateClusterRequest.Builder.() -> Unit): CreateClusterResponse
Creates a cluster in your account. Amazon Web Services PCS creates the cluster controller in a service-owned account. The cluster controller communicates with the cluster resources in your account. The subnets and security groups for the cluster must already exist before you use this API action.
It takes time for Amazon Web Services PCS to create the cluster. The cluster is in a Creating
state until it is ready to use. There can only be 1 cluster in a Creating
state per Amazon Web Services Region per Amazon Web Services account. CreateCluster
fails with a ServiceQuotaExceededException
if there is already a cluster in a Creating
state.