Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash
upstash.RedisDatabase
Explore with Pulumi AI
Example Usage
using Pulumi;
using Upstash = Pulumi.Upstash;
class MyStack : Stack
{
public MyStack()
{
var exampleDB = new Upstash.RedisDatabase("exampleDB", new Upstash.RedisDatabaseArgs
{
DatabaseName = "Terraform DB6",
Multizone = true,
Region = "eu-west-1",
Tls = true,
});
}
}
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/upstash/pulumi-upstash/sdk/go/upstash"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := upstash.NewRedisDatabase(ctx, "exampleDB", &upstash.RedisDatabaseArgs{
DatabaseName: pulumi.String("Terraform DB6"),
Multizone: pulumi.Bool(true),
Region: pulumi.String("eu-west-1"),
Tls: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleDB = new RedisDatabase("exampleDB", RedisDatabaseArgs.builder()
.databaseName("Terraform DB6")
.multizone("true")
.region("eu-west-1")
.tls("true")
.build());
}
}
import pulumi
import upstash_pulumi as upstash
example_db = upstash.RedisDatabase("exampleDB",
database_name="Terraform DB6",
multizone=True,
region="eu-west-1",
tls=True)
import * as pulumi from "@pulumi/pulumi";
import * as upstash from "@pulumi/upstash";
const exampleDB = new upstash.RedisDatabase("exampleDB", {
databaseName: "Terraform DB6",
multizone: true,
region: "eu-west-1",
tls: true,
});
resources:
exampleDB:
type: upstash:RedisDatabase
properties:
databaseName: Terraform DB6
multizone: true
region: eu-west-1
tls: true
Create RedisDatabase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RedisDatabase(name: string, args: RedisDatabaseArgs, opts?: CustomResourceOptions);
@overload
def RedisDatabase(resource_name: str,
args: RedisDatabaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RedisDatabase(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
region: Optional[str] = None,
auto_scale: Optional[bool] = None,
consistent: Optional[bool] = None,
eviction: Optional[bool] = None,
multizone: Optional[bool] = None,
primary_region: Optional[str] = None,
read_regions: Optional[Sequence[str]] = None,
tls: Optional[bool] = None)
func NewRedisDatabase(ctx *Context, name string, args RedisDatabaseArgs, opts ...ResourceOption) (*RedisDatabase, error)
public RedisDatabase(string name, RedisDatabaseArgs args, CustomResourceOptions? opts = null)
public RedisDatabase(String name, RedisDatabaseArgs args)
public RedisDatabase(String name, RedisDatabaseArgs args, CustomResourceOptions options)
type: upstash:RedisDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RedisDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RedisDatabaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RedisDatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RedisDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RedisDatabaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var redisDatabaseResource = new Upstash.RedisDatabase("redisDatabaseResource", new()
{
DatabaseName = "string",
Region = "string",
AutoScale = false,
Eviction = false,
PrimaryRegion = "string",
ReadRegions = new[]
{
"string",
},
Tls = false,
});
example, err := upstash.NewRedisDatabase(ctx, "redisDatabaseResource", &upstash.RedisDatabaseArgs{
DatabaseName: pulumi.String("string"),
Region: pulumi.String("string"),
AutoScale: pulumi.Bool(false),
Eviction: pulumi.Bool(false),
PrimaryRegion: pulumi.String("string"),
ReadRegions: pulumi.StringArray{
pulumi.String("string"),
},
Tls: pulumi.Bool(false),
})
var redisDatabaseResource = new RedisDatabase("redisDatabaseResource", RedisDatabaseArgs.builder()
.databaseName("string")
.region("string")
.autoScale(false)
.eviction(false)
.primaryRegion("string")
.readRegions("string")
.tls(false)
.build());
redis_database_resource = upstash.RedisDatabase("redisDatabaseResource",
database_name="string",
region="string",
auto_scale=False,
eviction=False,
primary_region="string",
read_regions=["string"],
tls=False)
const redisDatabaseResource = new upstash.RedisDatabase("redisDatabaseResource", {
databaseName: "string",
region: "string",
autoScale: false,
eviction: false,
primaryRegion: "string",
readRegions: ["string"],
tls: false,
});
type: upstash:RedisDatabase
properties:
autoScale: false
databaseName: string
eviction: false
primaryRegion: string
readRegions:
- string
region: string
tls: false
RedisDatabase Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RedisDatabase resource accepts the following input properties:
- Database
Name string - Name of the database
- Region string
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- Auto
Scale bool - Upgrade to higher plans automatically when it hits quotas
- Consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- Eviction bool
- Enable eviction, to evict keys when your database reaches the max size
- Multizone bool
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- Primary
Region string - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- Read
Regions List<string> - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- Tls bool
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- Database
Name string - Name of the database
- Region string
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- Auto
Scale bool - Upgrade to higher plans automatically when it hits quotas
- Consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- Eviction bool
- Enable eviction, to evict keys when your database reaches the max size
- Multizone bool
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- Primary
Region string - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- Read
Regions []string - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- Tls bool
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- database
Name String - Name of the database
- region String
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- auto
Scale Boolean - Upgrade to higher plans automatically when it hits quotas
- consistent Boolean
- When enabled, all writes are synchronously persisted to the disk.
- eviction Boolean
- Enable eviction, to evict keys when your database reaches the max size
- multizone Boolean
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- primary
Region String - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read
Regions List<String> - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- tls Boolean
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- database
Name string - Name of the database
- region string
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- auto
Scale boolean - Upgrade to higher plans automatically when it hits quotas
- consistent boolean
- When enabled, all writes are synchronously persisted to the disk.
- eviction boolean
- Enable eviction, to evict keys when your database reaches the max size
- multizone boolean
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- primary
Region string - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read
Regions string[] - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- tls boolean
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- database_
name str - Name of the database
- region str
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- auto_
scale bool - Upgrade to higher plans automatically when it hits quotas
- consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- eviction bool
- Enable eviction, to evict keys when your database reaches the max size
- multizone bool
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- primary_
region str - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read_
regions Sequence[str] - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- tls bool
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- database
Name String - Name of the database
- region String
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- auto
Scale Boolean - Upgrade to higher plans automatically when it hits quotas
- consistent Boolean
- When enabled, all writes are synchronously persisted to the disk.
- eviction Boolean
- Enable eviction, to evict keys when your database reaches the max size
- multizone Boolean
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- primary
Region String - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read
Regions List<String> - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- tls Boolean
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
Outputs
All input properties are implicitly available as output properties. Additionally, the RedisDatabase resource produces the following output properties:
- Creation
Time int - Creation time of the database
- Database
Id string - Unique Database ID for created database
- Database
Type string - Type of the database
- Db
Daily intBandwidth Limit - Daily bandwidth limit for the database
- Db
Disk intThreshold - Disk threshold for the database
- Db
Max intClients - Max clients for the database
- Db
Max intCommands Per Second - Max commands per second for the database
- Db
Max intEntry Size - Max entry size for the database
- Db
Max intRequest Size - Max request size for the database
- Db
Memory intThreshold - Memory threshold for the database
- Endpoint string
- Database URL for connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Password string
- Password of the database
- Port int
- Port of the endpoint
- Read
Only stringRest Token - Rest Token for the database.
- Rest
Token string - Rest Token for the database.
- State string
- State of the database
- User
Email string - User email for the database
- Creation
Time int - Creation time of the database
- Database
Id string - Unique Database ID for created database
- Database
Type string - Type of the database
- Db
Daily intBandwidth Limit - Daily bandwidth limit for the database
- Db
Disk intThreshold - Disk threshold for the database
- Db
Max intClients - Max clients for the database
- Db
Max intCommands Per Second - Max commands per second for the database
- Db
Max intEntry Size - Max entry size for the database
- Db
Max intRequest Size - Max request size for the database
- Db
Memory intThreshold - Memory threshold for the database
- Endpoint string
- Database URL for connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Password string
- Password of the database
- Port int
- Port of the endpoint
- Read
Only stringRest Token - Rest Token for the database.
- Rest
Token string - Rest Token for the database.
- State string
- State of the database
- User
Email string - User email for the database
- creation
Time Integer - Creation time of the database
- database
Id String - Unique Database ID for created database
- database
Type String - Type of the database
- db
Daily IntegerBandwidth Limit - Daily bandwidth limit for the database
- db
Disk IntegerThreshold - Disk threshold for the database
- db
Max IntegerClients - Max clients for the database
- db
Max IntegerCommands Per Second - Max commands per second for the database
- db
Max IntegerEntry Size - Max entry size for the database
- db
Max IntegerRequest Size - Max request size for the database
- db
Memory IntegerThreshold - Memory threshold for the database
- endpoint String
- Database URL for connection
- id String
- The provider-assigned unique ID for this managed resource.
- password String
- Password of the database
- port Integer
- Port of the endpoint
- read
Only StringRest Token - Rest Token for the database.
- rest
Token String - Rest Token for the database.
- state String
- State of the database
- user
Email String - User email for the database
- creation
Time number - Creation time of the database
- database
Id string - Unique Database ID for created database
- database
Type string - Type of the database
- db
Daily numberBandwidth Limit - Daily bandwidth limit for the database
- db
Disk numberThreshold - Disk threshold for the database
- db
Max numberClients - Max clients for the database
- db
Max numberCommands Per Second - Max commands per second for the database
- db
Max numberEntry Size - Max entry size for the database
- db
Max numberRequest Size - Max request size for the database
- db
Memory numberThreshold - Memory threshold for the database
- endpoint string
- Database URL for connection
- id string
- The provider-assigned unique ID for this managed resource.
- password string
- Password of the database
- port number
- Port of the endpoint
- read
Only stringRest Token - Rest Token for the database.
- rest
Token string - Rest Token for the database.
- state string
- State of the database
- user
Email string - User email for the database
- creation_
time int - Creation time of the database
- database_
id str - Unique Database ID for created database
- database_
type str - Type of the database
- db_
daily_ intbandwidth_ limit - Daily bandwidth limit for the database
- db_
disk_ intthreshold - Disk threshold for the database
- db_
max_ intclients - Max clients for the database
- db_
max_ intcommands_ per_ second - Max commands per second for the database
- db_
max_ intentry_ size - Max entry size for the database
- db_
max_ intrequest_ size - Max request size for the database
- db_
memory_ intthreshold - Memory threshold for the database
- endpoint str
- Database URL for connection
- id str
- The provider-assigned unique ID for this managed resource.
- password str
- Password of the database
- port int
- Port of the endpoint
- read_
only_ strrest_ token - Rest Token for the database.
- rest_
token str - Rest Token for the database.
- state str
- State of the database
- user_
email str - User email for the database
- creation
Time Number - Creation time of the database
- database
Id String - Unique Database ID for created database
- database
Type String - Type of the database
- db
Daily NumberBandwidth Limit - Daily bandwidth limit for the database
- db
Disk NumberThreshold - Disk threshold for the database
- db
Max NumberClients - Max clients for the database
- db
Max NumberCommands Per Second - Max commands per second for the database
- db
Max NumberEntry Size - Max entry size for the database
- db
Max NumberRequest Size - Max request size for the database
- db
Memory NumberThreshold - Memory threshold for the database
- endpoint String
- Database URL for connection
- id String
- The provider-assigned unique ID for this managed resource.
- password String
- Password of the database
- port Number
- Port of the endpoint
- read
Only StringRest Token - Rest Token for the database.
- rest
Token String - Rest Token for the database.
- state String
- State of the database
- user
Email String - User email for the database
Look up Existing RedisDatabase Resource
Get an existing RedisDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RedisDatabaseState, opts?: CustomResourceOptions): RedisDatabase
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_scale: Optional[bool] = None,
consistent: Optional[bool] = None,
creation_time: Optional[int] = None,
database_id: Optional[str] = None,
database_name: Optional[str] = None,
database_type: Optional[str] = None,
db_daily_bandwidth_limit: Optional[int] = None,
db_disk_threshold: Optional[int] = None,
db_max_clients: Optional[int] = None,
db_max_commands_per_second: Optional[int] = None,
db_max_entry_size: Optional[int] = None,
db_max_request_size: Optional[int] = None,
db_memory_threshold: Optional[int] = None,
endpoint: Optional[str] = None,
eviction: Optional[bool] = None,
multizone: Optional[bool] = None,
password: Optional[str] = None,
port: Optional[int] = None,
primary_region: Optional[str] = None,
read_only_rest_token: Optional[str] = None,
read_regions: Optional[Sequence[str]] = None,
region: Optional[str] = None,
rest_token: Optional[str] = None,
state: Optional[str] = None,
tls: Optional[bool] = None,
user_email: Optional[str] = None) -> RedisDatabase
func GetRedisDatabase(ctx *Context, name string, id IDInput, state *RedisDatabaseState, opts ...ResourceOption) (*RedisDatabase, error)
public static RedisDatabase Get(string name, Input<string> id, RedisDatabaseState? state, CustomResourceOptions? opts = null)
public static RedisDatabase get(String name, Output<String> id, RedisDatabaseState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Scale bool - Upgrade to higher plans automatically when it hits quotas
- Consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- Creation
Time int - Creation time of the database
- Database
Id string - Unique Database ID for created database
- Database
Name string - Name of the database
- Database
Type string - Type of the database
- Db
Daily intBandwidth Limit - Daily bandwidth limit for the database
- Db
Disk intThreshold - Disk threshold for the database
- Db
Max intClients - Max clients for the database
- Db
Max intCommands Per Second - Max commands per second for the database
- Db
Max intEntry Size - Max entry size for the database
- Db
Max intRequest Size - Max request size for the database
- Db
Memory intThreshold - Memory threshold for the database
- Endpoint string
- Database URL for connection
- Eviction bool
- Enable eviction, to evict keys when your database reaches the max size
- Multizone bool
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- Password string
- Password of the database
- Port int
- Port of the endpoint
- Primary
Region string - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- Read
Only stringRest Token - Rest Token for the database.
- Read
Regions List<string> - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- Region string
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- Rest
Token string - Rest Token for the database.
- State string
- State of the database
- Tls bool
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- User
Email string - User email for the database
- Auto
Scale bool - Upgrade to higher plans automatically when it hits quotas
- Consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- Creation
Time int - Creation time of the database
- Database
Id string - Unique Database ID for created database
- Database
Name string - Name of the database
- Database
Type string - Type of the database
- Db
Daily intBandwidth Limit - Daily bandwidth limit for the database
- Db
Disk intThreshold - Disk threshold for the database
- Db
Max intClients - Max clients for the database
- Db
Max intCommands Per Second - Max commands per second for the database
- Db
Max intEntry Size - Max entry size for the database
- Db
Max intRequest Size - Max request size for the database
- Db
Memory intThreshold - Memory threshold for the database
- Endpoint string
- Database URL for connection
- Eviction bool
- Enable eviction, to evict keys when your database reaches the max size
- Multizone bool
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- Password string
- Password of the database
- Port int
- Port of the endpoint
- Primary
Region string - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- Read
Only stringRest Token - Rest Token for the database.
- Read
Regions []string - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- Region string
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- Rest
Token string - Rest Token for the database.
- State string
- State of the database
- Tls bool
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- User
Email string - User email for the database
- auto
Scale Boolean - Upgrade to higher plans automatically when it hits quotas
- consistent Boolean
- When enabled, all writes are synchronously persisted to the disk.
- creation
Time Integer - Creation time of the database
- database
Id String - Unique Database ID for created database
- database
Name String - Name of the database
- database
Type String - Type of the database
- db
Daily IntegerBandwidth Limit - Daily bandwidth limit for the database
- db
Disk IntegerThreshold - Disk threshold for the database
- db
Max IntegerClients - Max clients for the database
- db
Max IntegerCommands Per Second - Max commands per second for the database
- db
Max IntegerEntry Size - Max entry size for the database
- db
Max IntegerRequest Size - Max request size for the database
- db
Memory IntegerThreshold - Memory threshold for the database
- endpoint String
- Database URL for connection
- eviction Boolean
- Enable eviction, to evict keys when your database reaches the max size
- multizone Boolean
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- password String
- Password of the database
- port Integer
- Port of the endpoint
- primary
Region String - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read
Only StringRest Token - Rest Token for the database.
- read
Regions List<String> - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- region String
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- rest
Token String - Rest Token for the database.
- state String
- State of the database
- tls Boolean
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- user
Email String - User email for the database
- auto
Scale boolean - Upgrade to higher plans automatically when it hits quotas
- consistent boolean
- When enabled, all writes are synchronously persisted to the disk.
- creation
Time number - Creation time of the database
- database
Id string - Unique Database ID for created database
- database
Name string - Name of the database
- database
Type string - Type of the database
- db
Daily numberBandwidth Limit - Daily bandwidth limit for the database
- db
Disk numberThreshold - Disk threshold for the database
- db
Max numberClients - Max clients for the database
- db
Max numberCommands Per Second - Max commands per second for the database
- db
Max numberEntry Size - Max entry size for the database
- db
Max numberRequest Size - Max request size for the database
- db
Memory numberThreshold - Memory threshold for the database
- endpoint string
- Database URL for connection
- eviction boolean
- Enable eviction, to evict keys when your database reaches the max size
- multizone boolean
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- password string
- Password of the database
- port number
- Port of the endpoint
- primary
Region string - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read
Only stringRest Token - Rest Token for the database.
- read
Regions string[] - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- region string
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- rest
Token string - Rest Token for the database.
- state string
- State of the database
- tls boolean
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- user
Email string - User email for the database
- auto_
scale bool - Upgrade to higher plans automatically when it hits quotas
- consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- creation_
time int - Creation time of the database
- database_
id str - Unique Database ID for created database
- database_
name str - Name of the database
- database_
type str - Type of the database
- db_
daily_ intbandwidth_ limit - Daily bandwidth limit for the database
- db_
disk_ intthreshold - Disk threshold for the database
- db_
max_ intclients - Max clients for the database
- db_
max_ intcommands_ per_ second - Max commands per second for the database
- db_
max_ intentry_ size - Max entry size for the database
- db_
max_ intrequest_ size - Max request size for the database
- db_
memory_ intthreshold - Memory threshold for the database
- endpoint str
- Database URL for connection
- eviction bool
- Enable eviction, to evict keys when your database reaches the max size
- multizone bool
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- password str
- Password of the database
- port int
- Port of the endpoint
- primary_
region str - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read_
only_ strrest_ token - Rest Token for the database.
- read_
regions Sequence[str] - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- region str
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- rest_
token str - Rest Token for the database.
- state str
- State of the database
- tls bool
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- user_
email str - User email for the database
- auto
Scale Boolean - Upgrade to higher plans automatically when it hits quotas
- consistent Boolean
- When enabled, all writes are synchronously persisted to the disk.
- creation
Time Number - Creation time of the database
- database
Id String - Unique Database ID for created database
- database
Name String - Name of the database
- database
Type String - Type of the database
- db
Daily NumberBandwidth Limit - Daily bandwidth limit for the database
- db
Disk NumberThreshold - Disk threshold for the database
- db
Max NumberClients - Max clients for the database
- db
Max NumberCommands Per Second - Max commands per second for the database
- db
Max NumberEntry Size - Max entry size for the database
- db
Max NumberRequest Size - Max request size for the database
- db
Memory NumberThreshold - Memory threshold for the database
- endpoint String
- Database URL for connection
- eviction Boolean
- Enable eviction, to evict keys when your database reaches the max size
- multizone Boolean
- When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, results in deletion and recreation of the resource)
- password String
- Password of the database
- port Number
- Port of the endpoint
- primary
Region String - Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2])
- read
Only StringRest Token - Rest Token for the database.
- read
Regions List<String> - Read regions for the database (Only works if region='global' and primary_region is set. Can be any combination of [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one given as primary.)
- region String
- region of the database. Possible values are: "global", "eu-west-1", "us-east-1", "us-west-1", "ap-northeast-1" , "eu-central1"
- rest
Token String - Rest Token for the database.
- state String
- State of the database
- tls Boolean
- When enabled, data is encrypted in transit. (If changed to false from true, results in deletion and recreation of the resource)
- user
Email String - User email for the database
Package Details
- Repository
- upstash upstash/pulumi-upstash
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upstash
Terraform Provider.