CfnGlobalReplicationGroupMixinProps
- class aws_cdk.mixins_preview.aws_elasticache.mixins.CfnGlobalReplicationGroupMixinProps(*, automatic_failover_enabled=None, cache_node_type=None, cache_parameter_group_name=None, engine=None, engine_version=None, global_node_group_count=None, global_replication_group_description=None, global_replication_group_id_suffix=None, members=None, regional_configurations=None)
Bases:
objectProperties for CfnGlobalReplicationGroupPropsMixin.
- Parameters:
automatic_failover_enabled (
Union[bool,IResolvable,None]) – Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.AutomaticFailoverEnabledmust be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.cache_node_type (
Optional[str]) – The cache node type of the Global datastore.cache_parameter_group_name (
Optional[str]) – The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.engine (
Optional[str]) – The ElastiCache engine. For Valkey or Redis OSS only.engine_version (
Optional[str]) – The Elasticache Valkey or Redis OSS engine version.global_node_group_count (
Union[int,float,None]) – The number of node groups that comprise the Global Datastore.global_replication_group_description (
Optional[str]) – The optional description of the Global datastore.global_replication_group_id_suffix (
Optional[str]) – The suffix name of a Global Datastore. The suffix guarantees uniqueness of the Global Datastore name across multiple regions.members (
Union[IResolvable,Sequence[Union[IResolvable,GlobalReplicationGroupMemberProperty,Dict[str,Any]]],None]) – The replication groups that comprise the Global datastore.regional_configurations (
Union[IResolvable,Sequence[Union[IResolvable,RegionalConfigurationProperty,Dict[str,Any]]],None]) – The Regions that comprise the Global Datastore.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_elasticache import mixins as elasticache_mixins cfn_global_replication_group_mixin_props = elasticache_mixins.CfnGlobalReplicationGroupMixinProps( automatic_failover_enabled=False, cache_node_type="cacheNodeType", cache_parameter_group_name="cacheParameterGroupName", engine="engine", engine_version="engineVersion", global_node_group_count=123, global_replication_group_description="globalReplicationGroupDescription", global_replication_group_id_suffix="globalReplicationGroupIdSuffix", members=[elasticache_mixins.CfnGlobalReplicationGroupPropsMixin.GlobalReplicationGroupMemberProperty( replication_group_id="replicationGroupId", replication_group_region="replicationGroupRegion", role="role" )], regional_configurations=[elasticache_mixins.CfnGlobalReplicationGroupPropsMixin.RegionalConfigurationProperty( replication_group_id="replicationGroupId", replication_group_region="replicationGroupRegion", resharding_configurations=[elasticache_mixins.CfnGlobalReplicationGroupPropsMixin.ReshardingConfigurationProperty( node_group_id="nodeGroupId", preferred_availability_zones=["preferredAvailabilityZones"] )] )] )
Attributes
- automatic_failover_enabled
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
AutomaticFailoverEnabledmust be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.
- cache_node_type
The cache node type of the Global datastore.
- cache_parameter_group_name
The name of the cache parameter group to use with the Global datastore.
It must be compatible with the major engine version used by the Global datastore.
- engine
The ElastiCache engine.
For Valkey or Redis OSS only.
- engine_version
The Elasticache Valkey or Redis OSS engine version.
- global_node_group_count
The number of node groups that comprise the Global Datastore.
- global_replication_group_description
The optional description of the Global datastore.
- global_replication_group_id_suffix
The suffix name of a Global Datastore.
The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
- members
The replication groups that comprise the Global datastore.
- regional_configurations
The Regions that comprise the Global Datastore.