CfnGlobalReplicationGroupProps

class aws_cdk.aws_elasticache.CfnGlobalReplicationGroupProps(*, automatic_failover_enabled=None, cache_node_type=None, cache_parameter_group_name=None, engine_version=None, global_node_group_count=None, global_replication_group_description=None, global_replication_group_id_suffix=None, members, regional_configurations=None)

Bases: object

Properties for defining a AWS::ElastiCache::GlobalReplicationGroup.

Parameters
  • automatic_failover_enabled (Union[bool, IResolvable, None]) – AWS::ElastiCache::GlobalReplicationGroup.AutomaticFailoverEnabled.

  • cache_node_type (Optional[str]) – AWS::ElastiCache::GlobalReplicationGroup.CacheNodeType.

  • cache_parameter_group_name (Optional[str]) – AWS::ElastiCache::GlobalReplicationGroup.CacheParameterGroupName.

  • engine_version (Optional[str]) – AWS::ElastiCache::GlobalReplicationGroup.EngineVersion.

  • global_node_group_count (Union[int, float, None]) – AWS::ElastiCache::GlobalReplicationGroup.GlobalNodeGroupCount.

  • global_replication_group_description (Optional[str]) – AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupDescription.

  • global_replication_group_id_suffix (Optional[str]) – AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupIdSuffix.

  • members (Union[IResolvable, Sequence[Union[GlobalReplicationGroupMemberProperty, IResolvable]]]) – AWS::ElastiCache::GlobalReplicationGroup.Members.

  • regional_configurations (Union[IResolvable, Sequence[Union[IResolvable, RegionalConfigurationProperty]], None]) – AWS::ElastiCache::GlobalReplicationGroup.RegionalConfigurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_elasticache as elasticache

cfn_global_replication_group_props = elasticache.CfnGlobalReplicationGroupProps(
    members=[elasticache.CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty(
        replication_group_id="replicationGroupId",
        replication_group_region="replicationGroupRegion",
        role="role"
    )],

    # the properties below are optional
    automatic_failover_enabled=False,
    cache_node_type="cacheNodeType",
    cache_parameter_group_name="cacheParameterGroupName",
    engine_version="engineVersion",
    global_node_group_count=123,
    global_replication_group_description="globalReplicationGroupDescription",
    global_replication_group_id_suffix="globalReplicationGroupIdSuffix",
    regional_configurations=[elasticache.CfnGlobalReplicationGroup.RegionalConfigurationProperty(
        replication_group_id="replicationGroupId",
        replication_group_region="replicationGroupRegion",
        resharding_configurations=[elasticache.CfnGlobalReplicationGroup.ReshardingConfigurationProperty(
            node_group_id="nodeGroupId",
            preferred_availability_zones=["preferredAvailabilityZones"]
        )]
    )]
)

Attributes

automatic_failover_enabled

AWS::ElastiCache::GlobalReplicationGroup.AutomaticFailoverEnabled.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-automaticfailoverenabled

Return type

Union[bool, IResolvable, None]

cache_node_type

AWS::ElastiCache::GlobalReplicationGroup.CacheNodeType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-cachenodetype

Return type

Optional[str]

cache_parameter_group_name

AWS::ElastiCache::GlobalReplicationGroup.CacheParameterGroupName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-cacheparametergroupname

Return type

Optional[str]

engine_version

AWS::ElastiCache::GlobalReplicationGroup.EngineVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-engineversion

Return type

Optional[str]

global_node_group_count

AWS::ElastiCache::GlobalReplicationGroup.GlobalNodeGroupCount.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-globalnodegroupcount

Return type

Union[int, float, None]

global_replication_group_description

AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupDescription.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupdescription

Return type

Optional[str]

global_replication_group_id_suffix

AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupIdSuffix.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupidsuffix

Return type

Optional[str]

members

AWS::ElastiCache::GlobalReplicationGroup.Members.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-members

Return type

Union[IResolvable, List[Union[GlobalReplicationGroupMemberProperty, IResolvable]]]

regional_configurations

AWS::ElastiCache::GlobalReplicationGroup.RegionalConfigurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-regionalconfigurations

Return type

Union[IResolvable, List[Union[IResolvable, RegionalConfigurationProperty]], None]