import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Resource type definition for AWS::ElastiCache::ReplicationGroup
 */
export declare class ReplicationGroup extends pulumi.CustomResource {
    /**
     * Get an existing ReplicationGroup resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ReplicationGroup;
    /**
     * Returns true if the given object is an instance of ReplicationGroup.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ReplicationGroup;
    /**
     * A flag that enables encryption at rest when set to true.AtRestEncryptionEnabled after the replication group is created. To enable encryption at rest on a replication group you must set AtRestEncryptionEnabled to true when you create the replication group.
     */
    readonly atRestEncryptionEnabled: pulumi.Output<boolean | undefined>;
    /**
     * Reserved parameter. The password used to access a password protected server.AuthToken can be specified only on replication groups where TransitEncryptionEnabled is true. For more information.
     */
    readonly authToken: pulumi.Output<string | undefined>;
    /**
     * This parameter is currently disabled.
     */
    readonly autoMinorVersionUpgrade: pulumi.Output<boolean | undefined>;
    /**
     * 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.
     */
    readonly automaticFailoverEnabled: pulumi.Output<boolean | undefined>;
    /**
     * The compute and memory capacity of the nodes in the node group (shard).
     */
    readonly cacheNodeType: pulumi.Output<string | undefined>;
    /**
     * The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used.
     */
    readonly cacheParameterGroupName: pulumi.Output<string | undefined>;
    /**
     * A list of cache security group names to associate with this replication group.
     */
    readonly cacheSecurityGroupNames: pulumi.Output<string[] | undefined>;
    /**
     * The name of the cache subnet group to be used for the replication group.
     */
    readonly cacheSubnetGroupName: pulumi.Output<string | undefined>;
    /**
     * Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see Modify cluster mode.
     */
    readonly clusterMode: pulumi.Output<string | undefined>;
    /**
     * The configuration details of the replication group.
     */
    readonly configurationEndPoint: pulumi.Output<outputs.elasticache.ReplicationGroupEndpoint>;
    /**
     * Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes.
     */
    readonly dataTieringEnabled: pulumi.Output<boolean | undefined>;
    /**
     * The name of the cache engine to be used for the clusters in this replication group.
     */
    readonly engine: pulumi.Output<string | undefined>;
    /**
     * The version number of the cache engine to be used for the clusters in this replication group. To view the supported cache engine versions, use the DescribeCacheEngineVersions operation.
     */
    readonly engineVersion: pulumi.Output<string | undefined>;
    /**
     * The name of the Global datastore
     */
    readonly globalReplicationGroupId: pulumi.Output<string | undefined>;
    /**
     * The network type you choose when creating a replication group, either ipv4 | ipv6. IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
     */
    readonly ipDiscovery: pulumi.Output<string | undefined>;
    /**
     * The ID of the KMS key used to encrypt the disk on the cluster.
     */
    readonly kmsKeyId: pulumi.Output<string | undefined>;
    /**
     * Specifies the destination, format and type of the logs.
     */
    readonly logDeliveryConfigurations: pulumi.Output<outputs.elasticache.ReplicationGroupLogDeliveryConfigurationRequest[] | undefined>;
    /**
     * A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ.
     */
    readonly multiAzEnabled: pulumi.Output<boolean | undefined>;
    /**
     * Must be either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system
     */
    readonly networkType: pulumi.Output<string | undefined>;
    /**
     * NodeGroupConfiguration is a property of the AWS::ElastiCache::ReplicationGroup resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group.
     */
    readonly nodeGroupConfiguration: pulumi.Output<outputs.elasticache.ReplicationGroupNodeGroupConfiguration[] | undefined>;
    /**
     * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
     */
    readonly notificationTopicArn: pulumi.Output<string | undefined>;
    /**
     * The number of clusters this replication group initially has.This parameter is not used if there is more than one node group (shard). You should use ReplicasPerNodeGroup instead.
     */
    readonly numCacheClusters: pulumi.Output<number | undefined>;
    /**
     * An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group. For Redis (cluster mode disabled) either omit this parameter or set it to 1.
     */
    readonly numNodeGroups: pulumi.Output<number | undefined>;
    /**
     * The port number on which each member of the replication group accepts connections.
     */
    readonly port: pulumi.Output<number | undefined>;
    /**
     * A list of EC2 Availability Zones in which the replication group's clusters are created. The order of the Availability Zones in the list is the order in which clusters are allocated. The primary cluster is created in the first AZ in the list. This parameter is not used if there is more than one node group (shard). You should use NodeGroupConfiguration instead.
     */
    readonly preferredCacheClusterAzs: pulumi.Output<string[] | undefined>;
    /**
     * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
     */
    readonly preferredMaintenanceWindow: pulumi.Output<string | undefined>;
    /**
     * The identifier of the cluster that serves as the primary for this replication group. This cluster must already exist and have a status of available.
     */
    readonly primaryClusterId: pulumi.Output<string | undefined>;
    /**
     * The primary endpoint configuration
     */
    readonly primaryEndPoint: pulumi.Output<outputs.elasticache.ReplicationGroupEndpoint>;
    readonly readEndPoint: pulumi.Output<outputs.elasticache.ReadEndPointProperties>;
    /**
     * The endpoint of the reader node in the replication group.
     */
    readonly readerEndPoint: pulumi.Output<outputs.elasticache.ReplicationGroupEndpoint>;
    /**
     * An optional parameter that specifies the number of replica nodes in each node group (shard). Valid values are 0 to 5.
     */
    readonly replicasPerNodeGroup: pulumi.Output<number | undefined>;
    /**
     * A user-created description for the replication group.
     */
    readonly replicationGroupDescription: pulumi.Output<string>;
    /**
     * The replication group identifier. This parameter is stored as a lowercase string.
     */
    readonly replicationGroupId: pulumi.Output<string | undefined>;
    /**
     * One or more Amazon VPC security groups associated with this replication group.
     */
    readonly securityGroupIds: pulumi.Output<string[] | undefined>;
    /**
     * A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3.
     */
    readonly snapshotArns: pulumi.Output<string[] | undefined>;
    /**
     * The name of a snapshot from which to restore data into the new replication group. The snapshot status changes to restoring while the new replication group is being created.
     */
    readonly snapshotName: pulumi.Output<string | undefined>;
    /**
     * The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
     */
    readonly snapshotRetentionLimit: pulumi.Output<number | undefined>;
    /**
     * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
     */
    readonly snapshotWindow: pulumi.Output<string | undefined>;
    /**
     * The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.
     */
    readonly snapshottingClusterId: pulumi.Output<string | undefined>;
    /**
     * A list of cost allocation tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
     */
    readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
    /**
     * A flag that enables in-transit encryption when set to true.
     */
    readonly transitEncryptionEnabled: pulumi.Output<boolean | undefined>;
    /**
     * A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting TransitEncryptionEnabled to true, you can set your TransitEncryptionMode to preferred in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis OSS clients to use encrypted connections you can modify the value to required to allow encrypted connections only. Setting TransitEncryptionMode to required is a two-step process that requires you to first set the TransitEncryptionMode to preferred, after that you can set TransitEncryptionMode to required. This process will not trigger the replacement of the replication group.
     */
    readonly transitEncryptionMode: pulumi.Output<string | undefined>;
    /**
     * The ID of user group to associate with the replication group.
     */
    readonly userGroupIds: pulumi.Output<string[] | undefined>;
    /**
     * Create a ReplicationGroup resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ReplicationGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * The set of arguments for constructing a ReplicationGroup resource.
 */
export interface ReplicationGroupArgs {
    /**
     * A flag that enables encryption at rest when set to true.AtRestEncryptionEnabled after the replication group is created. To enable encryption at rest on a replication group you must set AtRestEncryptionEnabled to true when you create the replication group.
     */
    atRestEncryptionEnabled?: pulumi.Input<boolean>;
    /**
     * Reserved parameter. The password used to access a password protected server.AuthToken can be specified only on replication groups where TransitEncryptionEnabled is true. For more information.
     */
    authToken?: pulumi.Input<string>;
    /**
     * This parameter is currently disabled.
     */
    autoMinorVersionUpgrade?: pulumi.Input<boolean>;
    /**
     * 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.
     */
    automaticFailoverEnabled?: pulumi.Input<boolean>;
    /**
     * The compute and memory capacity of the nodes in the node group (shard).
     */
    cacheNodeType?: pulumi.Input<string>;
    /**
     * The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used.
     */
    cacheParameterGroupName?: pulumi.Input<string>;
    /**
     * A list of cache security group names to associate with this replication group.
     */
    cacheSecurityGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The name of the cache subnet group to be used for the replication group.
     */
    cacheSubnetGroupName?: pulumi.Input<string>;
    /**
     * Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see Modify cluster mode.
     */
    clusterMode?: pulumi.Input<string>;
    /**
     * Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes.
     */
    dataTieringEnabled?: pulumi.Input<boolean>;
    /**
     * The name of the cache engine to be used for the clusters in this replication group.
     */
    engine?: pulumi.Input<string>;
    /**
     * The version number of the cache engine to be used for the clusters in this replication group. To view the supported cache engine versions, use the DescribeCacheEngineVersions operation.
     */
    engineVersion?: pulumi.Input<string>;
    /**
     * The name of the Global datastore
     */
    globalReplicationGroupId?: pulumi.Input<string>;
    /**
     * The network type you choose when creating a replication group, either ipv4 | ipv6. IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
     */
    ipDiscovery?: pulumi.Input<string>;
    /**
     * The ID of the KMS key used to encrypt the disk on the cluster.
     */
    kmsKeyId?: pulumi.Input<string>;
    /**
     * Specifies the destination, format and type of the logs.
     */
    logDeliveryConfigurations?: pulumi.Input<pulumi.Input<inputs.elasticache.ReplicationGroupLogDeliveryConfigurationRequestArgs>[]>;
    /**
     * A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ.
     */
    multiAzEnabled?: pulumi.Input<boolean>;
    /**
     * Must be either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system
     */
    networkType?: pulumi.Input<string>;
    /**
     * NodeGroupConfiguration is a property of the AWS::ElastiCache::ReplicationGroup resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group.
     */
    nodeGroupConfiguration?: pulumi.Input<pulumi.Input<inputs.elasticache.ReplicationGroupNodeGroupConfigurationArgs>[]>;
    /**
     * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
     */
    notificationTopicArn?: pulumi.Input<string>;
    /**
     * The number of clusters this replication group initially has.This parameter is not used if there is more than one node group (shard). You should use ReplicasPerNodeGroup instead.
     */
    numCacheClusters?: pulumi.Input<number>;
    /**
     * An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group. For Redis (cluster mode disabled) either omit this parameter or set it to 1.
     */
    numNodeGroups?: pulumi.Input<number>;
    /**
     * The port number on which each member of the replication group accepts connections.
     */
    port?: pulumi.Input<number>;
    /**
     * A list of EC2 Availability Zones in which the replication group's clusters are created. The order of the Availability Zones in the list is the order in which clusters are allocated. The primary cluster is created in the first AZ in the list. This parameter is not used if there is more than one node group (shard). You should use NodeGroupConfiguration instead.
     */
    preferredCacheClusterAzs?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
     */
    preferredMaintenanceWindow?: pulumi.Input<string>;
    /**
     * The identifier of the cluster that serves as the primary for this replication group. This cluster must already exist and have a status of available.
     */
    primaryClusterId?: pulumi.Input<string>;
    /**
     * An optional parameter that specifies the number of replica nodes in each node group (shard). Valid values are 0 to 5.
     */
    replicasPerNodeGroup?: pulumi.Input<number>;
    /**
     * A user-created description for the replication group.
     */
    replicationGroupDescription: pulumi.Input<string>;
    /**
     * The replication group identifier. This parameter is stored as a lowercase string.
     */
    replicationGroupId?: pulumi.Input<string>;
    /**
     * One or more Amazon VPC security groups associated with this replication group.
     */
    securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3.
     */
    snapshotArns?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The name of a snapshot from which to restore data into the new replication group. The snapshot status changes to restoring while the new replication group is being created.
     */
    snapshotName?: pulumi.Input<string>;
    /**
     * The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
     */
    snapshotRetentionLimit?: pulumi.Input<number>;
    /**
     * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
     */
    snapshotWindow?: pulumi.Input<string>;
    /**
     * The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.
     */
    snapshottingClusterId?: pulumi.Input<string>;
    /**
     * A list of cost allocation tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
    /**
     * A flag that enables in-transit encryption when set to true.
     */
    transitEncryptionEnabled?: pulumi.Input<boolean>;
    /**
     * A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting TransitEncryptionEnabled to true, you can set your TransitEncryptionMode to preferred in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis OSS clients to use encrypted connections you can modify the value to required to allow encrypted connections only. Setting TransitEncryptionMode to required is a two-step process that requires you to first set the TransitEncryptionMode to preferred, after that you can set TransitEncryptionMode to required. This process will not trigger the replacement of the replication group.
     */
    transitEncryptionMode?: pulumi.Input<string>;
    /**
     * The ID of user group to associate with the replication group.
     */
    userGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
}
