AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateCluster and EndCreateCluster.

Namespace: Amazon.DAX
Assembly: AWSSDK.DAX.dll
Version: 3.x.y.z

Syntax

C#
public virtual Task<CreateClusterResponse> CreateClusterAsync(
         CreateClusterRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.DAX.Model.CreateClusterRequest

Container for the necessary parameters to execute the CreateCluster service method.

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value


The response from the CreateCluster service method, as returned by DAX.

Exceptions

ExceptionCondition
ClusterAlreadyExistsException You already have a DAX cluster with the given identifier.
ClusterQuotaForCustomerExceededException You have attempted to exceed the maximum number of DAX clusters for your AWS account.
InsufficientClusterCapacityException There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).
InvalidClusterStateException The requested DAX cluster is not in the available state.
InvalidParameterCombinationException Two or more incompatible parameters were specified.
InvalidParameterGroupStateException One or more parameters in a parameter group are in an invalid state.
InvalidParameterValueException The value for a parameter is invalid.
InvalidVPCNetworkStateException The VPC network is in an invalid state.
NodeQuotaForClusterExceededException You have attempted to exceed the maximum number of nodes for a DAX cluster.
NodeQuotaForCustomerExceededException You have attempted to exceed the maximum number of nodes for your AWS account.
ParameterGroupNotFoundException The specified parameter group does not exist.
ServiceLinkedRoleNotFoundException The specified service linked role (SLR) was not found.
ServiceQuotaExceededException You have reached the maximum number of x509 certificates that can be created for encrypted clusters in a 30 day period. Contact AWS customer support to discuss options for continuing to create encrypted clusters.
SubnetGroupNotFoundException The requested subnet group name does not refer to an existing subnet group.
TagQuotaPerResourceExceededException You have exceeded the maximum number of tags for this DAX cluster.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5

See Also