@studion/infra-code-blocks
Version:
Studion common infra components
38 lines • 1.28 kB
TypeScript
import * as aws from '@pulumi/aws';
import * as pulumi from '@pulumi/pulumi';
import * as awsx from '@pulumi/awsx';
export declare namespace ElastiCacheRedis {
type Args = {
vpc: pulumi.Input<awsx.ec2.Vpc>;
/**
* Version number of the cache engine to be used
* @default '7.1'
*/
engineVersion?: string;
/**
* Instance type for cache nodes
* @default 'cache.t4g.micro'
*/
nodeType?: string;
/**
* The name of the parameter group to associate with this cache cluster.
* @default 'default.redis7'
*/
parameterGroupName?: pulumi.Input<string>;
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
};
}
export declare class ElastiCacheRedis extends pulumi.ComponentResource {
name: string;
vpc: pulumi.Output<awsx.ec2.Vpc>;
cluster: aws.elasticache.Cluster;
securityGroup: aws.ec2.SecurityGroup;
subnetGroup: aws.elasticache.SubnetGroup;
constructor(name: string, args: ElastiCacheRedis.Args, opts?: pulumi.ComponentResourceOptions);
private createRedisCluster;
private createSubnetGroup;
private createSecurityGroup;
}
//# sourceMappingURL=elasticache-redis.d.ts.map