Skip to main content

Upstash

Upstash is a serverless data platform offering Redis and Kafka services with per-request pricing.

Resources

UpstashRedis

Create and manage Upstash Redis databases.

Props

UpstashRegion
required
Primary region for the database. Available regions:
  • us-east-1
  • us-west-1
  • us-west-2
  • eu-west-1
  • eu-central-1
  • ap-southeast-1
  • ap-southeast-2
  • ap-northeast-1
  • sa-east-1
string
default:"${app}-${stage}-${id}"
Name of the database
UpstashRegion[]
Read regions for the database
number
Monthly budget for the database
boolean
Whether to enable eviction for the database
Secret
API key to use (overrides environment variable)
string
Email to use (overrides environment variable)

Returns

string
ID of the database
string
Name of the database
string
Type of the database in terms of pricing model
'global'
Region where database is hosted
number
Database port for clients to connect
number
Creation time of the database as Unix time
string
State of database (active or deleted)
Secret
Password of the database
string
Email or team id of the owner of the database
string
Endpoint URL of the database
boolean
Whether TLS is enabled
Secret
REST token for the database
Secret
Read-only REST token for the database