Interface CfnGlobalReplicationGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnGlobalReplicationGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.453Z") @Stability(Stable) public interface CfnGlobalReplicationGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnGlobalReplicationGroup.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticache.*;
 CfnGlobalReplicationGroupProps cfnGlobalReplicationGroupProps = CfnGlobalReplicationGroupProps.builder()
         .members(List.of(GlobalReplicationGroupMemberProperty.builder()
                 .replicationGroupId("replicationGroupId")
                 .replicationGroupRegion("replicationGroupRegion")
                 .role("role")
                 .build()))
         // the properties below are optional
         .automaticFailoverEnabled(false)
         .cacheNodeType("cacheNodeType")
         .cacheParameterGroupName("cacheParameterGroupName")
         .engineVersion("engineVersion")
         .globalNodeGroupCount(123)
         .globalReplicationGroupDescription("globalReplicationGroupDescription")
         .globalReplicationGroupIdSuffix("globalReplicationGroupIdSuffix")
         .regionalConfigurations(List.of(RegionalConfigurationProperty.builder()
                 .replicationGroupId("replicationGroupId")
                 .replicationGroupRegion("replicationGroupRegion")
                 .reshardingConfigurations(List.of(ReshardingConfigurationProperty.builder()
                         .nodeGroupId("nodeGroupId")
                         .preferredAvailabilityZones(List.of("preferredAvailabilityZones"))
                         .build()))
                 .build()))
         .build();
 
  • Method Details

    • getMembers

      @Stability(Stable) @NotNull Object getMembers()
      The replication groups that comprise the Global datastore.
    • getAutomaticFailoverEnabled

      @Stability(Stable) @Nullable default Object getAutomaticFailoverEnabled()
      Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.

      AutomaticFailoverEnabled must be enabled for Redis (cluster mode enabled) replication groups.

    • getCacheNodeType

      @Stability(Stable) @Nullable default String getCacheNodeType()
      The cache node type of the Global datastore.
    • getCacheParameterGroupName

      @Stability(Stable) @Nullable default String getCacheParameterGroupName()
      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.

    • getEngineVersion

      @Stability(Stable) @Nullable default String getEngineVersion()
      The Elasticache Redis engine version.
    • getGlobalNodeGroupCount

      @Stability(Stable) @Nullable default Number getGlobalNodeGroupCount()
      The number of node groups that comprise the Global Datastore.
    • getGlobalReplicationGroupDescription

      @Stability(Stable) @Nullable default String getGlobalReplicationGroupDescription()
      The optional description of the Global datastore.
    • getGlobalReplicationGroupIdSuffix

      @Stability(Stable) @Nullable default String getGlobalReplicationGroupIdSuffix()
      The suffix name of a Global Datastore.

      The suffix guarantees uniqueness of the Global Datastore name across multiple regions.

    • getRegionalConfigurations

      @Stability(Stable) @Nullable default Object getRegionalConfigurations()
      The Regions that comprise the Global Datastore.
    • builder

      @Stability(Stable) static CfnGlobalReplicationGroupProps.Builder builder()
      Returns:
      a CfnGlobalReplicationGroupProps.Builder of CfnGlobalReplicationGroupProps