Redis
@cosmos-building-blocks/service › Globals › Redis
Hierarchy
Construct
↳ Redis
Implements
- IConstruct
- IConstruct
- IRedis
Index
Constructors
Properties
Methods
Constructors
constructor
+ new Redis(scope
: Construct, id
: string, props
: RedisProps): Redis
Overrides void
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:108
Parameters:
Name | Type |
---|---|
scope | Construct |
id | string |
props | RedisProps |
Returns: Redis
Properties
Readonly
cacheSubnetGroup
• cacheSubnetGroup: CfnSubnetGroup
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:88
Subnet Group created by construct using Subnets provided in props
Readonly
redisEndpoint
• redisEndpoint: string
Implementation of IRedis.redisEndpoint
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:100
Redis endpoint of the Primary Address
Readonly
redisPort
• redisPort: string
Implementation of IRedis.redisPort
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:104
Redis port of the Primary Address
Readonly
redisProtocol
• redisProtocol: string
Implementation of IRedis.redisProtocol
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:96
Redis Protocol of the Primary Address connection (redis[s])
Readonly
redisReplicationGroup
• redisReplicationGroup: CfnReplicationGroup
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:84
Actual Redis Cluster
Readonly
redisSecurityGroups
• redisSecurityGroups: ISecurityGroup[]
Implementation of IRedis.redisSecurityGroups
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:92
Security Group assigned to Redis Cluster
Readonly
redisUri
• redisUri: string
Implementation of IRedis.redisUri
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:108
Redis URI `{protocol}://{endpoint}:{port} of the Primary Address
Methods
Static
fromRedisAttributes
▸ fromRedisAttributes(scope
: Construct, id
: string, attrs
: RedisAttributes): IRedis
Defined in packages/@cosmos-building-blocks/service/src/redis.ts:190
Parameters:
Name | Type |
---|---|
scope | Construct |
id | string |
attrs | RedisAttributes |
Returns: IRedis