示例#1
0
 public MyStack()
 {
     var replica = new Aws.ElastiCache.Cluster("replica", new Aws.ElastiCache.ClusterArgs
     {
         ReplicationGroupId = aws_elasticache_replication_group.Example.Id,
     });
 }
示例#2
0
 public MyStack()
 {
     var example = new Aws.ElastiCache.Cluster("example", new Aws.ElastiCache.ClusterArgs
     {
         Engine             = "memcached",
         NodeType           = "cache.m4.large",
         NumCacheNodes      = 2,
         ParameterGroupName = "default.memcached1.4",
         Port = 11211,
     });
 }
示例#3
0
 public MyStack()
 {
     var example = new Aws.ElastiCache.Cluster("example", new Aws.ElastiCache.ClusterArgs
     {
         Engine             = "redis",
         EngineVersion      = "3.2.10",
         NodeType           = "cache.m4.large",
         NumCacheNodes      = 1,
         ParameterGroupName = "default.redis3.2",
         Port = 6379,
     });
 }