import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::ElastiCache::ReplicationGroup */ export declare function getReplicationGroup(args: GetReplicationGroupArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetReplicationGroupArgs { /** * The replication group identifier. This parameter is stored as a lowercase string. */ replicationGroupId: string; } export interface GetReplicationGroupResult { /** * This parameter is currently disabled. */ readonly autoMinorVersionUpgrade?: 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. */ readonly automaticFailoverEnabled?: boolean; /** * The compute and memory capacity of the nodes in the node group (shard). */ readonly cacheNodeType?: 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. */ readonly clusterMode?: string; /** * The configuration details of the replication group. */ readonly configurationEndPoint?: outputs.elasticache.ReplicationGroupEndpoint; /** * The name of the cache engine to be used for the clusters in this replication group. */ readonly engine?: 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. */ readonly ipDiscovery?: string; /** * Specifies the destination, format and type of the logs. */ readonly logDeliveryConfigurations?: outputs.elasticache.ReplicationGroupLogDeliveryConfigurationRequest[]; /** * A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ. */ readonly multiAzEnabled?: boolean; /** * 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?: number; /** * The primary endpoint configuration */ readonly primaryEndPoint?: outputs.elasticache.ReplicationGroupEndpoint; readonly readEndPoint?: outputs.elasticache.ReadEndPointProperties; /** * The endpoint of the reader node in the replication group. */ readonly readerEndPoint?: outputs.elasticache.ReplicationGroupEndpoint; /** * A user-created description for the replication group. */ readonly replicationGroupDescription?: 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. */ readonly snapshotRetentionLimit?: number; /** * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). */ readonly snapshotWindow?: 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. */ readonly snapshottingClusterId?: 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. */ readonly tags?: outputs.Tag[]; /** * A flag that enables in-transit encryption when set to true. */ readonly transitEncryptionEnabled?: 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. */ readonly transitEncryptionMode?: string; /** * The ID of user group to associate with the replication group. */ readonly userGroupIds?: string[]; } /** * Resource type definition for AWS::ElastiCache::ReplicationGroup */ export declare function getReplicationGroupOutput(args: GetReplicationGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetReplicationGroupOutputArgs { /** * The replication group identifier. This parameter is stored as a lowercase string. */ replicationGroupId: pulumi.Input; }