Class GlobalReplicationGroupArgs


  • public final class GlobalReplicationGroupArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • automaticFailoverEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> automaticFailoverEnabled()
        Returns:
        Specifies whether read-only replicas will be automatically promoted to read/write primary if the existing primary fails. When creating, by default the Global Replication Group inherits the automatic failover setting of the primary replication group.
      • cacheNodeType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cacheNodeType()
        Returns:
        The instance class used. See AWS documentation for information on [supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html). When creating, by default the Global Replication Group inherits the node type of the primary replication group.
      • engine

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> engine()
        Returns:
        The name of the cache engine to be used for the clusters in this global replication group. When creating, by default the Global Replication Group inherits the engine of the primary replication group. If an engine is specified, the Global Replication Group and all member replication groups will be upgraded to this engine. Valid values are `redis` or `valkey`. Default is `redis` if `engineVersion` is specified.
      • engineVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> engineVersion()
        Returns:
        Engine version to use for the Global Replication Group. When creating, by default the Global Replication Group inherits the version of the primary replication group. If a version is specified, the Global Replication Group and all member replication groups will be upgraded to this version. Cannot be downgraded without replacing the Global Replication Group and all member replication groups. When the version is 7 or higher, the major and minor version should be set, e.g., `7.2`. When the version is 6, the major and minor version can be set, e.g., `6.2`, or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`. The actual engine version used is returned in the attribute `engineVersionActual`, see Attribute Reference below.
      • globalReplicationGroupDescription

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> globalReplicationGroupDescription()
        Returns:
        A user-created description for the global replication group.
      • globalReplicationGroupIdSuffix

        public com.pulumi.core.Output<java.lang.String> globalReplicationGroupIdSuffix()
        Returns:
        The suffix name of a Global Datastore. If `globalReplicationGroupIdSuffix` is changed, creates a new resource.
      • numNodeGroups

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> numNodeGroups()
        Returns:
        The number of node groups (shards) on the global replication group.
      • parameterGroupName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> parameterGroupName()
        Returns:
        An ElastiCache Parameter Group to use for the Global Replication Group. Required when upgrading a major engine version, but will be ignored if left configured after the upgrade is complete. Specifying without a major version upgrade will fail. When a replication group joins a global datastore, AWS auto-generates a new parameter group (prefixed `global-datastore-`) derived from the primary's parameter group. Note that ElastiCache creates a copy of this parameter group for each member replication group.
      • primaryReplicationGroupId

        public com.pulumi.core.Output<java.lang.String> primaryReplicationGroupId()
        Returns:
        The ID of the primary cluster that accepts writes and will replicate updates to the secondary cluster. Changing this value will trigger a failover to the specified replication group.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.