Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ModifyReplicationGroupShardConfigurationMessage

import type { ModifyReplicationGroupShardConfigurationMessage } from "https://aws-api.deno.dev/v0.3/services/elasticache.ts?docs=full";

Represents the input for a ModifyReplicationGroupShardConfiguration operation.

interface ModifyReplicationGroupShardConfigurationMessage {
ApplyImmediately: boolean;
NodeGroupCount: number;
NodeGroupsToRemove?: string[] | null;
NodeGroupsToRetain?: string[] | null;
ReplicationGroupId: string;
ReshardingConfiguration?: ReshardingConfiguration[] | null;
}

§Properties

§
ApplyImmediately: boolean
[src]

Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

Value: true

§
NodeGroupCount: number
[src]

The number of node groups (shards) that results from the modification of the shard configuration.

§
NodeGroupsToRemove?: string[] | null
[src]

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster.

ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove from the cluster.

§
NodeGroupsToRetain?: string[] | null
[src]

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRetain is a list of NodeGroupIds to retain in the cluster.

ElastiCache for Redis will attempt to remove all node groups except those listed by NodeGroupsToRetain from the cluster.

§
ReplicationGroupId: string
[src]

The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.

§
ReshardingConfiguration?: ReshardingConfiguration[] | null
[src]

Specifies the preferred availability zones for each node group in the cluster. If the value of NodeGroupCount is greater than the current number of node groups (shards), you can use this parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter ElastiCache selects availability zones for you.

You can specify this parameter only if the value of NodeGroupCount is greater than the current number of node groups (shards).