Class CfnGlobalReplicationGroupProps
Properties for defining a CfnGlobalReplicationGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.AWS.ElastiCache.dll
Syntax (csharp)
public class CfnGlobalReplicationGroupProps : Object, ICfnGlobalReplicationGroupProps
Syntax (vb)
Public Class CfnGlobalReplicationGroupProps
Inherits Object
Implements ICfnGlobalReplicationGroupProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElastiCache;
var cfnGlobalReplicationGroupProps = new CfnGlobalReplicationGroupProps {
Members = new [] { new GlobalReplicationGroupMemberProperty {
ReplicationGroupId = "replicationGroupId",
ReplicationGroupRegion = "replicationGroupRegion",
Role = "role"
} },
// the properties below are optional
AutomaticFailoverEnabled = false,
CacheNodeType = "cacheNodeType",
CacheParameterGroupName = "cacheParameterGroupName",
EngineVersion = "engineVersion",
GlobalNodeGroupCount = 123,
GlobalReplicationGroupDescription = "globalReplicationGroupDescription",
GlobalReplicationGroupIdSuffix = "globalReplicationGroupIdSuffix",
RegionalConfigurations = new [] { new RegionalConfigurationProperty {
ReplicationGroupId = "replicationGroupId",
ReplicationGroupRegion = "replicationGroupRegion",
ReshardingConfigurations = new [] { new ReshardingConfigurationProperty {
NodeGroupId = "nodeGroupId",
PreferredAvailabilityZones = new [] { "preferredAvailabilityZones" }
} }
} }
};
Synopsis
Constructors
CfnGlobalReplicationGroupProps() |
Properties
AutomaticFailoverEnabled | Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. |
CacheNodeType | The cache node type of the Global datastore. |
CacheParameterGroupName | The name of the cache parameter group to use with the Global datastore. |
EngineVersion | The Elasticache Redis engine version. |
GlobalNodeGroupCount | The number of node groups that comprise the Global Datastore. |
GlobalReplicationGroupDescription | The optional description of the Global datastore. |
GlobalReplicationGroupIdSuffix | The suffix name of a Global Datastore. |
Members | The replication groups that comprise the Global datastore. |
RegionalConfigurations | The Regions that comprise the Global Datastore. |
Constructors
CfnGlobalReplicationGroupProps()
public CfnGlobalReplicationGroupProps()
Properties
AutomaticFailoverEnabled
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
public object AutomaticFailoverEnabled { get; set; }
Property Value
System.Object
Remarks
AutomaticFailoverEnabled
must be enabled for Redis (cluster mode enabled) replication groups.
CacheNodeType
The cache node type of the Global datastore.
public string CacheNodeType { get; set; }
Property Value
System.String
Remarks
CacheParameterGroupName
The name of the cache parameter group to use with the Global datastore.
public string CacheParameterGroupName { get; set; }
Property Value
System.String
Remarks
It must be compatible with the major engine version used by the Global datastore.
EngineVersion
The Elasticache Redis engine version.
public string EngineVersion { get; set; }
Property Value
System.String
Remarks
GlobalNodeGroupCount
The number of node groups that comprise the Global Datastore.
public Nullable<double> GlobalNodeGroupCount { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
GlobalReplicationGroupDescription
The optional description of the Global datastore.
public string GlobalReplicationGroupDescription { get; set; }
Property Value
System.String
Remarks
GlobalReplicationGroupIdSuffix
The suffix name of a Global Datastore.
public string GlobalReplicationGroupIdSuffix { get; set; }
Property Value
System.String
Remarks
The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
Members
The replication groups that comprise the Global datastore.
public object Members { get; set; }
Property Value
System.Object
Remarks
RegionalConfigurations
The Regions that comprise the Global Datastore.
public object RegionalConfigurations { get; set; }
Property Value
System.Object