AwsElastiCacheReplicationGroupArgs
interface AwsElastiCacheReplicationGroupArgs {
applyImmediately?: Input<boolean>;
description: Input<string>;
engine: 'redis' | 'valkey';
engineLog?: AwsElastiCacheEngineLogArgs;
engineVersion: Input<string>;
kmsKey?: AwsKmsKeyInput;
maintenanceWindow?: Input<string>;
name: string;
nodeType: Input<string>;
numNodeGroups?: number;
parameterGroup?: Input<string> | AwsElastiCache;
port?: Input<number>;
preferredCacheClusterAzs?: Input<string>[];
replicasPerNodeGroup?: number;
securityGroupIds: Input<string>[];
slowLog?: AwsElastiCacheSlowLogArgs;
snapshotRetentionLimit?: number;
snapshotWindow?: Input<string>;
subnetGroup: Input<string> | AwsElastiCache;
tags?: AwsElastiCacheTags;
}Private, encrypted ElastiCache replication-group configuration.
Example
const replicationGroup: AwsElastiCacheReplicationGroupArgs = { name: 'ordersCache', description: 'Private cache', engine: 'valkey', engineVersion: '8.0', nodeType: 'cache.r7g.large', subnetGroup: 'shared-cache', securityGroupIds: ['sg-00000001'] };Properties
applyImmediately: Input<boolean>
Whether AWS applies eligible replication-group changes immediately. Defaults to false, which defers changes to the maintenance window. Set to true only when an immediate change is intended.
description: Input<string>
Description visible in the AWS console.
engine: 'redis' | 'valkey'
Selected cache engine. Redis OSS is retained for compatibility with the existing infrastructure.
engineLog: AwsElastiCacheEngineLogArgs
Optional CloudWatch destination for JSON-formatted Redis OSS/Valkey engine logs.
engineVersion: Input<string>
Engine version forwarded to AWS.
kmsKey: AwsKmsKeyInput
Optional customer-managed key. Omit to use secure service-managed encryption.
Remarks
Supply { keyArn } for a known commercial-partition KMS key ARN, or { identifier } for an external key ID, key ARN, alias name, or alias ARN. An AwsKms reference can supply its keyArn directly.
maintenanceWindow: Input<string>
Weekly UTC maintenance window.
Default: `tue:04:00-tue:05:00`
name: string
Stable camelCase name used for Pulumi identity and the generated replication-group identifier.
nodeType: Input<string>
Required cache node instance class.
numNodeGroups: number
Number of shards. Defaults to one.
parameterGroup: Input<string> | AwsElastiCache
Optional parameter-group name or an AwsElastiCache parameter-group capability reference.
port: Input<number>
Cache endpoint port.
Default: ```ts 6379 ```
preferredCacheClusterAzs: Input<string>[]
Optional ordered availability zones for a single-shard group.
replicasPerNodeGroup: number
Read replicas per shard. Defaults to two.
securityGroupIds: Input<string>[]
Private security-group IDs; at least one is required.
slowLog: AwsElastiCacheSlowLogArgs
Optional CloudWatch destination for JSON-formatted Redis OSS/Valkey slow-query logs.
snapshotRetentionLimit: number
Automatic snapshot retention in days. Defaults to seven; zero is rejected.
snapshotWindow: Input<string>
Daily UTC snapshot window.
Default: `01:00-02:00`
subnetGroup: Input<string> | AwsElastiCache
Existing subnet-group name or an AwsElastiCache subnet-group capability reference.
tags: AwsElastiCacheTags
Additional tags. Name, jobcloud:project, and jobcloud:env are reserved for the component.