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 * 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,
});
import pulumi
import upstash_pulumi as upstash
example_db = upstash.RedisDatabase("exampleDB",
    database_name="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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RedisDatabase resource accepts the following input properties:
- DatabaseName 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"
- AutoScale 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)
- PrimaryRegion 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])
- ReadRegions 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)
- DatabaseName 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"
- AutoScale 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)
- PrimaryRegion 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])
- ReadRegions []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)
- databaseName 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"
- autoScale 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)
- primaryRegion 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])
- readRegions 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)
- databaseName 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"
- autoScale 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)
- primaryRegion 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])
- readRegions 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)
- databaseName 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"
- autoScale 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)
- primaryRegion 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])
- readRegions 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:
- CreationTime int
- Creation time of the database
- DatabaseId string
- Unique Database ID for created database
- DatabaseType string
- Type of the database
- DbDaily intBandwidth Limit 
- Daily bandwidth limit for the database
- DbDisk intThreshold 
- Disk threshold for the database
- DbMax intClients 
- Max clients for the database
- DbMax intCommands Per Second 
- Max commands per second for the database
- DbMax intEntry Size 
- Max entry size for the database
- DbMax intRequest Size 
- Max request size for the database
- DbMemory 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
- ReadOnly stringRest Token 
- Rest Token for the database.
- RestToken string
- Rest Token for the database.
- State string
- State of the database
- UserEmail string
- User email for the database
- CreationTime int
- Creation time of the database
- DatabaseId string
- Unique Database ID for created database
- DatabaseType string
- Type of the database
- DbDaily intBandwidth Limit 
- Daily bandwidth limit for the database
- DbDisk intThreshold 
- Disk threshold for the database
- DbMax intClients 
- Max clients for the database
- DbMax intCommands Per Second 
- Max commands per second for the database
- DbMax intEntry Size 
- Max entry size for the database
- DbMax intRequest Size 
- Max request size for the database
- DbMemory 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
- ReadOnly stringRest Token 
- Rest Token for the database.
- RestToken string
- Rest Token for the database.
- State string
- State of the database
- UserEmail string
- User email for the database
- creationTime Integer
- Creation time of the database
- databaseId String
- Unique Database ID for created database
- databaseType String
- Type of the database
- dbDaily IntegerBandwidth Limit 
- Daily bandwidth limit for the database
- dbDisk IntegerThreshold 
- Disk threshold for the database
- dbMax IntegerClients 
- Max clients for the database
- dbMax IntegerCommands Per Second 
- Max commands per second for the database
- dbMax IntegerEntry Size 
- Max entry size for the database
- dbMax IntegerRequest Size 
- Max request size for the database
- dbMemory 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
- readOnly StringRest Token 
- Rest Token for the database.
- restToken String
- Rest Token for the database.
- state String
- State of the database
- userEmail String
- User email for the database
- creationTime number
- Creation time of the database
- databaseId string
- Unique Database ID for created database
- databaseType string
- Type of the database
- dbDaily numberBandwidth Limit 
- Daily bandwidth limit for the database
- dbDisk numberThreshold 
- Disk threshold for the database
- dbMax numberClients 
- Max clients for the database
- dbMax numberCommands Per Second 
- Max commands per second for the database
- dbMax numberEntry Size 
- Max entry size for the database
- dbMax numberRequest Size 
- Max request size for the database
- dbMemory 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
- readOnly stringRest Token 
- Rest Token for the database.
- restToken string
- Rest Token for the database.
- state string
- State of the database
- userEmail 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
- creationTime Number
- Creation time of the database
- databaseId String
- Unique Database ID for created database
- databaseType String
- Type of the database
- dbDaily NumberBandwidth Limit 
- Daily bandwidth limit for the database
- dbDisk NumberThreshold 
- Disk threshold for the database
- dbMax NumberClients 
- Max clients for the database
- dbMax NumberCommands Per Second 
- Max commands per second for the database
- dbMax NumberEntry Size 
- Max entry size for the database
- dbMax NumberRequest Size 
- Max request size for the database
- dbMemory 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
- readOnly StringRest Token 
- Rest Token for the database.
- restToken String
- Rest Token for the database.
- state String
- State of the database
- userEmail 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) -> RedisDatabasefunc 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)resources:  _:    type: upstash:RedisDatabase    get:      id: ${id}- 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.
- AutoScale bool
- Upgrade to higher plans automatically when it hits quotas
- Consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- CreationTime int
- Creation time of the database
- DatabaseId string
- Unique Database ID for created database
- DatabaseName string
- Name of the database
- DatabaseType string
- Type of the database
- DbDaily intBandwidth Limit 
- Daily bandwidth limit for the database
- DbDisk intThreshold 
- Disk threshold for the database
- DbMax intClients 
- Max clients for the database
- DbMax intCommands Per Second 
- Max commands per second for the database
- DbMax intEntry Size 
- Max entry size for the database
- DbMax intRequest Size 
- Max request size for the database
- DbMemory 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
- PrimaryRegion 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])
- ReadOnly stringRest Token 
- Rest Token for the database.
- ReadRegions 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"
- RestToken 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)
- UserEmail string
- User email for the database
- AutoScale bool
- Upgrade to higher plans automatically when it hits quotas
- Consistent bool
- When enabled, all writes are synchronously persisted to the disk.
- CreationTime int
- Creation time of the database
- DatabaseId string
- Unique Database ID for created database
- DatabaseName string
- Name of the database
- DatabaseType string
- Type of the database
- DbDaily intBandwidth Limit 
- Daily bandwidth limit for the database
- DbDisk intThreshold 
- Disk threshold for the database
- DbMax intClients 
- Max clients for the database
- DbMax intCommands Per Second 
- Max commands per second for the database
- DbMax intEntry Size 
- Max entry size for the database
- DbMax intRequest Size 
- Max request size for the database
- DbMemory 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
- PrimaryRegion 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])
- ReadOnly stringRest Token 
- Rest Token for the database.
- ReadRegions []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"
- RestToken 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)
- UserEmail string
- User email for the database
- autoScale Boolean
- Upgrade to higher plans automatically when it hits quotas
- consistent Boolean
- When enabled, all writes are synchronously persisted to the disk.
- creationTime Integer
- Creation time of the database
- databaseId String
- Unique Database ID for created database
- databaseName String
- Name of the database
- databaseType String
- Type of the database
- dbDaily IntegerBandwidth Limit 
- Daily bandwidth limit for the database
- dbDisk IntegerThreshold 
- Disk threshold for the database
- dbMax IntegerClients 
- Max clients for the database
- dbMax IntegerCommands Per Second 
- Max commands per second for the database
- dbMax IntegerEntry Size 
- Max entry size for the database
- dbMax IntegerRequest Size 
- Max request size for the database
- dbMemory 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
- primaryRegion 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])
- readOnly StringRest Token 
- Rest Token for the database.
- readRegions 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"
- restToken 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)
- userEmail String
- User email for the database
- autoScale boolean
- Upgrade to higher plans automatically when it hits quotas
- consistent boolean
- When enabled, all writes are synchronously persisted to the disk.
- creationTime number
- Creation time of the database
- databaseId string
- Unique Database ID for created database
- databaseName string
- Name of the database
- databaseType string
- Type of the database
- dbDaily numberBandwidth Limit 
- Daily bandwidth limit for the database
- dbDisk numberThreshold 
- Disk threshold for the database
- dbMax numberClients 
- Max clients for the database
- dbMax numberCommands Per Second 
- Max commands per second for the database
- dbMax numberEntry Size 
- Max entry size for the database
- dbMax numberRequest Size 
- Max request size for the database
- dbMemory 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
- primaryRegion 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])
- readOnly stringRest Token 
- Rest Token for the database.
- readRegions 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"
- restToken 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)
- userEmail 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
- autoScale Boolean
- Upgrade to higher plans automatically when it hits quotas
- consistent Boolean
- When enabled, all writes are synchronously persisted to the disk.
- creationTime Number
- Creation time of the database
- databaseId String
- Unique Database ID for created database
- databaseName String
- Name of the database
- databaseType String
- Type of the database
- dbDaily NumberBandwidth Limit 
- Daily bandwidth limit for the database
- dbDisk NumberThreshold 
- Disk threshold for the database
- dbMax NumberClients 
- Max clients for the database
- dbMax NumberCommands Per Second 
- Max commands per second for the database
- dbMax NumberEntry Size 
- Max entry size for the database
- dbMax NumberRequest Size 
- Max request size for the database
- dbMemory 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
- primaryRegion 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])
- readOnly StringRest Token 
- Rest Token for the database.
- readRegions 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"
- restToken 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)
- userEmail 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 upstashTerraform Provider.