C# Class Amazon.ElastiCache.Model.CreateCacheClusterRequest

Container for the parameters to the CreateCacheCluster operation.

The CreateCacheCluster operation creates a new cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software - either Memcached or Redis.

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
Mostrar archivo Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateCacheClusterRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateCacheClusterRequest ( string cacheClusterId, int numCacheNodes, string cacheNodeType, string engine, List cacheSecurityGroupNames ) : System

Instantiates CreateCacheClusterRequest with the parameterized properties

Private Methods

Method Description
IsSetAZMode ( ) : bool
IsSetAuthToken ( ) : bool
IsSetAutoMinorVersionUpgrade ( ) : bool
IsSetCacheClusterId ( ) : bool
IsSetCacheNodeType ( ) : bool
IsSetCacheParameterGroupName ( ) : bool
IsSetCacheSecurityGroupNames ( ) : bool
IsSetCacheSubnetGroupName ( ) : bool
IsSetEngine ( ) : bool
IsSetEngineVersion ( ) : bool
IsSetNotificationTopicArn ( ) : bool
IsSetNumCacheNodes ( ) : bool
IsSetPort ( ) : bool
IsSetPreferredAvailabilityZone ( ) : bool
IsSetPreferredAvailabilityZones ( ) : bool
IsSetPreferredMaintenanceWindow ( ) : bool
IsSetReplicationGroupId ( ) : bool
IsSetSecurityGroupIds ( ) : bool
IsSetSnapshotArns ( ) : bool
IsSetSnapshotName ( ) : bool
IsSetSnapshotRetentionLimit ( ) : bool
IsSetSnapshotWindow ( ) : bool
IsSetTags ( ) : bool

Method Details

CreateCacheClusterRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateCacheClusterRequest ( ) : System
return System

CreateCacheClusterRequest() public method

Instantiates CreateCacheClusterRequest with the parameterized properties
public CreateCacheClusterRequest ( string cacheClusterId, int numCacheNodes, string cacheNodeType, string engine, List cacheSecurityGroupNames ) : System
cacheClusterId string The node group (shard) identifier. This parameter is stored as a lowercase string. Constraints:
  • A name must contain from 1 to 20 alphanumeric characters or hyphens.
  • The first character must be a letter.
  • A name cannot end with a hyphen or contain two consecutive hyphens.
numCacheNodes int The initial number of cache nodes that the cache cluster has. For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. If you need more than 20 nodes for your Memcached cluster, please fill out the ElastiCache Limit Increase Request form at http://aws.amazon.com/contact-us/elasticache-node-limit-request/.
cacheNodeType string The compute and memory capacity of the nodes in the node group (shard). Valid node types are as follows:
  • General purpose:
    • Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge
    • Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge
  • Compute optimized: cache.c1.xlarge
  • Memory optimized:
    • Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge
    • Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge
Notes:
  • All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
  • Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances.
  • Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
engine string The name of the cache engine to be used for this cache cluster. Valid values for this parameter are: memcached | redis
cacheSecurityGroupNames List A list of security group names to associate with this cache cluster. Use this parameter only when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (Amazon VPC).
return System