1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. ValkeyInstance
Viewing docs for stackit v0.0.8
published on Friday, Oct 16, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.8
published on Friday, Oct 16, 2026 by stackitcloud

    Key Value Store(valkey) instance resource schema. Must have a region specified in the provider configuration.

    Example Usage

    resource "stackit_valkey_instance" "example" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name       = "example-instance"
      version    = "x"
      plan_name  = "stackit-keyvalue-1.2.10-replica"
      parameters = {
        sgw_acl                 = "193.148.160.0/19,45.129.40.0/21,45.135.244.0/22"
        enable_monitoring       = false
        down_after_milliseconds = 30000
        syslog                  = ["logs4.your-syslog-endpoint.com:54321"]
      }
    }
    

    Create ValkeyInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ValkeyInstance(name: string, args: ValkeyInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def ValkeyInstance(resource_name: str,
                       args: ValkeyInstanceArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ValkeyInstance(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       plan_name: Optional[str] = None,
                       project_id: Optional[str] = None,
                       version: Optional[str] = None,
                       name: Optional[str] = None,
                       parameters: Optional[ValkeyInstanceParametersArgs] = None,
                       region: Optional[str] = None)
    func NewValkeyInstance(ctx *Context, name string, args ValkeyInstanceArgs, opts ...ResourceOption) (*ValkeyInstance, error)
    public ValkeyInstance(string name, ValkeyInstanceArgs args, CustomResourceOptions? opts = null)
    public ValkeyInstance(String name, ValkeyInstanceArgs args)
    public ValkeyInstance(String name, ValkeyInstanceArgs args, CustomResourceOptions options)
    
    type: stackit:ValkeyInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "stackit_valkey_instance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ValkeyInstanceArgs
    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 ValkeyInstanceArgs
    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 ValkeyInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ValkeyInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ValkeyInstanceArgs
    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 valkeyInstanceResource = new Stackit.ValkeyInstance("valkeyInstanceResource", new()
    {
        PlanName = "string",
        ProjectId = "string",
        Version = "string",
        Name = "string",
        Parameters = new Stackit.Inputs.ValkeyInstanceParametersArgs
        {
            DownAfterMilliseconds = 0,
            EnableMonitoring = false,
            FailoverTimeout = 0,
            Graphite = "string",
            LazyfreeLazyEviction = "string",
            LazyfreeLazyExpire = "string",
            LuaTimeLimit = 0,
            MaxDiskThreshold = 0,
            Maxclients = 0,
            MaxmemoryPolicy = "string",
            MaxmemorySamples = 0,
            MetricsFrequency = 0,
            MetricsPrefix = "string",
            MinReplicasMaxLag = 0,
            MinReplicasToWrite = 0,
            MonitoringInstanceId = "string",
            NotifyKeyspaceEvents = "string",
            ReplBacklogSize = "string",
            SgwAcl = "string",
            Snapshot = "string",
            Syslogs = new[]
            {
                "string",
            },
        },
        Region = "string",
    });
    
    example, err := stackit.NewValkeyInstance(ctx, "valkeyInstanceResource", &stackit.ValkeyInstanceArgs{
    	PlanName:  pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	Version:   pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Parameters: &stackit.ValkeyInstanceParametersArgs{
    		DownAfterMilliseconds: pulumi.Int(0),
    		EnableMonitoring:      pulumi.Bool(false),
    		FailoverTimeout:       pulumi.Int(0),
    		Graphite:              pulumi.String("string"),
    		LazyfreeLazyEviction:  pulumi.String("string"),
    		LazyfreeLazyExpire:    pulumi.String("string"),
    		LuaTimeLimit:          pulumi.Int(0),
    		MaxDiskThreshold:      pulumi.Int(0),
    		Maxclients:            pulumi.Int(0),
    		MaxmemoryPolicy:       pulumi.String("string"),
    		MaxmemorySamples:      pulumi.Int(0),
    		MetricsFrequency:      pulumi.Int(0),
    		MetricsPrefix:         pulumi.String("string"),
    		MinReplicasMaxLag:     pulumi.Int(0),
    		MinReplicasToWrite:    pulumi.Int(0),
    		MonitoringInstanceId:  pulumi.String("string"),
    		NotifyKeyspaceEvents:  pulumi.String("string"),
    		ReplBacklogSize:       pulumi.String("string"),
    		SgwAcl:                pulumi.String("string"),
    		Snapshot:              pulumi.String("string"),
    		Syslogs: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Region: pulumi.String("string"),
    })
    
    resource "stackit_valkey_instance" "valkeyInstanceResource" {
      lifecycle {
        create_before_destroy = true
      }
      plan_name  = "string"
      project_id = "string"
      version    = "string"
      name       = "string"
      parameters = {
        down_after_milliseconds = 0
        enable_monitoring       = false
        failover_timeout        = 0
        graphite                = "string"
        lazyfree_lazy_eviction  = "string"
        lazyfree_lazy_expire    = "string"
        lua_time_limit          = 0
        max_disk_threshold      = 0
        maxclients              = 0
        maxmemory_policy        = "string"
        maxmemory_samples       = 0
        metrics_frequency       = 0
        metrics_prefix          = "string"
        min_replicas_max_lag    = 0
        min_replicas_to_write   = 0
        monitoring_instance_id  = "string"
        notify_keyspace_events  = "string"
        repl_backlog_size       = "string"
        sgw_acl                 = "string"
        snapshot                = "string"
        syslogs                 = ["string"]
      }
      region = "string"
    }
    
    var valkeyInstanceResource = new ValkeyInstance("valkeyInstanceResource", ValkeyInstanceArgs.builder()
        .planName("string")
        .projectId("string")
        .version("string")
        .name("string")
        .parameters(ValkeyInstanceParametersArgs.builder()
            .downAfterMilliseconds(0)
            .enableMonitoring(false)
            .failoverTimeout(0)
            .graphite("string")
            .lazyfreeLazyEviction("string")
            .lazyfreeLazyExpire("string")
            .luaTimeLimit(0)
            .maxDiskThreshold(0)
            .maxclients(0)
            .maxmemoryPolicy("string")
            .maxmemorySamples(0)
            .metricsFrequency(0)
            .metricsPrefix("string")
            .minReplicasMaxLag(0)
            .minReplicasToWrite(0)
            .monitoringInstanceId("string")
            .notifyKeyspaceEvents("string")
            .replBacklogSize("string")
            .sgwAcl("string")
            .snapshot("string")
            .syslogs("string")
            .build())
        .region("string")
        .build());
    
    valkey_instance_resource = stackit.ValkeyInstance("valkeyInstanceResource",
        plan_name="string",
        project_id="string",
        version="string",
        name="string",
        parameters={
            "down_after_milliseconds": 0,
            "enable_monitoring": False,
            "failover_timeout": 0,
            "graphite": "string",
            "lazyfree_lazy_eviction": "string",
            "lazyfree_lazy_expire": "string",
            "lua_time_limit": 0,
            "max_disk_threshold": 0,
            "maxclients": 0,
            "maxmemory_policy": "string",
            "maxmemory_samples": 0,
            "metrics_frequency": 0,
            "metrics_prefix": "string",
            "min_replicas_max_lag": 0,
            "min_replicas_to_write": 0,
            "monitoring_instance_id": "string",
            "notify_keyspace_events": "string",
            "repl_backlog_size": "string",
            "sgw_acl": "string",
            "snapshot": "string",
            "syslogs": ["string"],
        },
        region="string")
    
    const valkeyInstanceResource = new stackit.ValkeyInstance("valkeyInstanceResource", {
        planName: "string",
        projectId: "string",
        version: "string",
        name: "string",
        parameters: {
            downAfterMilliseconds: 0,
            enableMonitoring: false,
            failoverTimeout: 0,
            graphite: "string",
            lazyfreeLazyEviction: "string",
            lazyfreeLazyExpire: "string",
            luaTimeLimit: 0,
            maxDiskThreshold: 0,
            maxclients: 0,
            maxmemoryPolicy: "string",
            maxmemorySamples: 0,
            metricsFrequency: 0,
            metricsPrefix: "string",
            minReplicasMaxLag: 0,
            minReplicasToWrite: 0,
            monitoringInstanceId: "string",
            notifyKeyspaceEvents: "string",
            replBacklogSize: "string",
            sgwAcl: "string",
            snapshot: "string",
            syslogs: ["string"],
        },
        region: "string",
    });
    
    type: stackit:ValkeyInstance
    properties:
        name: string
        parameters:
            downAfterMilliseconds: 0
            enableMonitoring: false
            failoverTimeout: 0
            graphite: string
            lazyfreeLazyEviction: string
            lazyfreeLazyExpire: string
            luaTimeLimit: 0
            maxDiskThreshold: 0
            maxclients: 0
            maxmemoryPolicy: string
            maxmemorySamples: 0
            metricsFrequency: 0
            metricsPrefix: string
            minReplicasMaxLag: 0
            minReplicasToWrite: 0
            monitoringInstanceId: string
            notifyKeyspaceEvents: string
            replBacklogSize: string
            sgwAcl: string
            snapshot: string
            syslogs:
                - string
        planName: string
        projectId: string
        region: string
        version: string
    

    ValkeyInstance 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 ValkeyInstance resource accepts the following input properties:

    PlanName string
    The selected plan name.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Version string
    The service version.
    Name string
    Instance name.
    Parameters ValkeyInstanceParameters
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    Region string
    The resource region. If not defined, the provider region is used.
    PlanName string
    The selected plan name.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Version string
    The service version.
    Name string
    Instance name.
    Parameters ValkeyInstanceParametersArgs
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    Region string
    The resource region. If not defined, the provider region is used.
    plan_name string
    The selected plan name.
    project_id string
    STACKIT project ID to which the instance is associated.
    version string
    The service version.
    name string
    Instance name.
    parameters object
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    region string
    The resource region. If not defined, the provider region is used.
    planName String
    The selected plan name.
    projectId String
    STACKIT project ID to which the instance is associated.
    version String
    The service version.
    name String
    Instance name.
    parameters ValkeyInstanceParameters
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    region String
    The resource region. If not defined, the provider region is used.
    planName string
    The selected plan name.
    projectId string
    STACKIT project ID to which the instance is associated.
    version string
    The service version.
    name string
    Instance name.
    parameters ValkeyInstanceParameters
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    region string
    The resource region. If not defined, the provider region is used.
    plan_name str
    The selected plan name.
    project_id str
    STACKIT project ID to which the instance is associated.
    version str
    The service version.
    name str
    Instance name.
    parameters ValkeyInstanceParametersArgs
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    region str
    The resource region. If not defined, the provider region is used.
    planName String
    The selected plan name.
    projectId String
    STACKIT project ID to which the instance is associated.
    version String
    The service version.
    name String
    Instance name.
    parameters Property Map
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    region String
    The resource region. If not defined, the provider region is used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ValkeyInstance resource produces the following output properties:

    CfGuid string
    CfOrganizationGuid string
    CfSpaceGuid string
    DashboardUrl string
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageUrl string
    InstanceId string
    ID of the Valkey instance.
    PlanId string
    The selected plan ID.
    CfGuid string
    CfOrganizationGuid string
    CfSpaceGuid string
    DashboardUrl string
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageUrl string
    InstanceId string
    ID of the Valkey instance.
    PlanId string
    The selected plan ID.
    cf_guid string
    cf_organization_guid string
    cf_space_guid string
    dashboard_url string
    id string
    The provider-assigned unique ID for this managed resource.
    image_url string
    instance_id string
    ID of the Valkey instance.
    plan_id string
    The selected plan ID.
    cfGuid String
    cfOrganizationGuid String
    cfSpaceGuid String
    dashboardUrl String
    id String
    The provider-assigned unique ID for this managed resource.
    imageUrl String
    instanceId String
    ID of the Valkey instance.
    planId String
    The selected plan ID.
    cfGuid string
    cfOrganizationGuid string
    cfSpaceGuid string
    dashboardUrl string
    id string
    The provider-assigned unique ID for this managed resource.
    imageUrl string
    instanceId string
    ID of the Valkey instance.
    planId string
    The selected plan ID.
    cf_guid str
    cf_organization_guid str
    cf_space_guid str
    dashboard_url str
    id str
    The provider-assigned unique ID for this managed resource.
    image_url str
    instance_id str
    ID of the Valkey instance.
    plan_id str
    The selected plan ID.
    cfGuid String
    cfOrganizationGuid String
    cfSpaceGuid String
    dashboardUrl String
    id String
    The provider-assigned unique ID for this managed resource.
    imageUrl String
    instanceId String
    ID of the Valkey instance.
    planId String
    The selected plan ID.

    Look up Existing ValkeyInstance Resource

    Get an existing ValkeyInstance 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?: ValkeyInstanceState, opts?: CustomResourceOptions): ValkeyInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cf_guid: Optional[str] = None,
            cf_organization_guid: Optional[str] = None,
            cf_space_guid: Optional[str] = None,
            dashboard_url: Optional[str] = None,
            image_url: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[ValkeyInstanceParametersArgs] = None,
            plan_id: Optional[str] = None,
            plan_name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            version: Optional[str] = None) -> ValkeyInstance
    func GetValkeyInstance(ctx *Context, name string, id IDInput, state *ValkeyInstanceState, opts ...ResourceOption) (*ValkeyInstance, error)
    public static ValkeyInstance Get(string name, Input<string> id, ValkeyInstanceState? state, CustomResourceOptions? opts = null)
    public static ValkeyInstance get(String name, Output<String> id, ValkeyInstanceState state, CustomResourceOptions options)
    resources:  _:    type: stackit:ValkeyInstance    get:      id: ${id}
    import {
      to = stackit_valkey_instance.example
      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.
    The following state arguments are supported:
    CfGuid string
    CfOrganizationGuid string
    CfSpaceGuid string
    DashboardUrl string
    ImageUrl string
    InstanceId string
    ID of the Valkey instance.
    Name string
    Instance name.
    Parameters ValkeyInstanceParameters
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    PlanId string
    The selected plan ID.
    PlanName string
    The selected plan name.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Version string
    The service version.
    CfGuid string
    CfOrganizationGuid string
    CfSpaceGuid string
    DashboardUrl string
    ImageUrl string
    InstanceId string
    ID of the Valkey instance.
    Name string
    Instance name.
    Parameters ValkeyInstanceParametersArgs
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    PlanId string
    The selected plan ID.
    PlanName string
    The selected plan name.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Version string
    The service version.
    cf_guid string
    cf_organization_guid string
    cf_space_guid string
    dashboard_url string
    image_url string
    instance_id string
    ID of the Valkey instance.
    name string
    Instance name.
    parameters object
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    plan_id string
    The selected plan ID.
    plan_name string
    The selected plan name.
    project_id string
    STACKIT project ID to which the instance is associated.
    region string
    The resource region. If not defined, the provider region is used.
    version string
    The service version.
    cfGuid String
    cfOrganizationGuid String
    cfSpaceGuid String
    dashboardUrl String
    imageUrl String
    instanceId String
    ID of the Valkey instance.
    name String
    Instance name.
    parameters ValkeyInstanceParameters
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    planId String
    The selected plan ID.
    planName String
    The selected plan name.
    projectId String
    STACKIT project ID to which the instance is associated.
    region String
    The resource region. If not defined, the provider region is used.
    version String
    The service version.
    cfGuid string
    cfOrganizationGuid string
    cfSpaceGuid string
    dashboardUrl string
    imageUrl string
    instanceId string
    ID of the Valkey instance.
    name string
    Instance name.
    parameters ValkeyInstanceParameters
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    planId string
    The selected plan ID.
    planName string
    The selected plan name.
    projectId string
    STACKIT project ID to which the instance is associated.
    region string
    The resource region. If not defined, the provider region is used.
    version string
    The service version.
    cf_guid str
    cf_organization_guid str
    cf_space_guid str
    dashboard_url str
    image_url str
    instance_id str
    ID of the Valkey instance.
    name str
    Instance name.
    parameters ValkeyInstanceParametersArgs
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    plan_id str
    The selected plan ID.
    plan_name str
    The selected plan name.
    project_id str
    STACKIT project ID to which the instance is associated.
    region str
    The resource region. If not defined, the provider region is used.
    version str
    The service version.
    cfGuid String
    cfOrganizationGuid String
    cfSpaceGuid String
    dashboardUrl String
    imageUrl String
    instanceId String
    ID of the Valkey instance.
    name String
    Instance name.
    parameters Property Map
    Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
    planId String
    The selected plan ID.
    planName String
    The selected plan name.
    projectId String
    STACKIT project ID to which the instance is associated.
    region String
    The resource region. If not defined, the provider region is used.
    version String
    The service version.

    Supporting Types

    ValkeyInstanceParameters, ValkeyInstanceParametersArgs

    DownAfterMilliseconds int
    The number of milliseconds after which the instance is considered down.
    EnableMonitoring bool
    Enable monitoring.
    FailoverTimeout int
    The failover timeout in milliseconds.
    Graphite string
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    LazyfreeLazyEviction string
    The lazy eviction enablement (yes or no).
    LazyfreeLazyExpire string
    The lazy expire enablement (yes or no).
    LuaTimeLimit int
    The Lua time limit.
    MaxDiskThreshold int
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    Maxclients int
    The maximum number of clients.
    MaxmemoryPolicy string
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    MaxmemorySamples int
    The maximum memory samples.
    MetricsFrequency int
    The frequency in seconds at which metrics are emitted.
    MetricsPrefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    MinReplicasMaxLag int
    The minimum replicas maximum lag.
    MinReplicasToWrite int
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    MonitoringInstanceId string
    The ID of the STACKIT monitoring instance.
    NotifyKeyspaceEvents string
    The notify keyspace events.
    ReplBacklogSize string
    The replication backlog size for the cluster.
    SgwAcl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    Snapshot string
    The snapshot configuration.
    Syslogs List<string>
    List of syslog servers to send logs to.
    DownAfterMilliseconds int
    The number of milliseconds after which the instance is considered down.
    EnableMonitoring bool
    Enable monitoring.
    FailoverTimeout int
    The failover timeout in milliseconds.
    Graphite string
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    LazyfreeLazyEviction string
    The lazy eviction enablement (yes or no).
    LazyfreeLazyExpire string
    The lazy expire enablement (yes or no).
    LuaTimeLimit int
    The Lua time limit.
    MaxDiskThreshold int
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    Maxclients int
    The maximum number of clients.
    MaxmemoryPolicy string
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    MaxmemorySamples int
    The maximum memory samples.
    MetricsFrequency int
    The frequency in seconds at which metrics are emitted.
    MetricsPrefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    MinReplicasMaxLag int
    The minimum replicas maximum lag.
    MinReplicasToWrite int
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    MonitoringInstanceId string
    The ID of the STACKIT monitoring instance.
    NotifyKeyspaceEvents string
    The notify keyspace events.
    ReplBacklogSize string
    The replication backlog size for the cluster.
    SgwAcl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    Snapshot string
    The snapshot configuration.
    Syslogs []string
    List of syslog servers to send logs to.
    down_after_milliseconds number
    The number of milliseconds after which the instance is considered down.
    enable_monitoring bool
    Enable monitoring.
    failover_timeout number
    The failover timeout in milliseconds.
    graphite string
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    lazyfree_lazy_eviction string
    The lazy eviction enablement (yes or no).
    lazyfree_lazy_expire string
    The lazy expire enablement (yes or no).
    lua_time_limit number
    The Lua time limit.
    max_disk_threshold number
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    maxclients number
    The maximum number of clients.
    maxmemory_policy string
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    maxmemory_samples number
    The maximum memory samples.
    metrics_frequency number
    The frequency in seconds at which metrics are emitted.
    metrics_prefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    min_replicas_max_lag number
    The minimum replicas maximum lag.
    min_replicas_to_write number
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    monitoring_instance_id string
    The ID of the STACKIT monitoring instance.
    notify_keyspace_events string
    The notify keyspace events.
    repl_backlog_size string
    The replication backlog size for the cluster.
    sgw_acl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    snapshot string
    The snapshot configuration.
    syslogs list(string)
    List of syslog servers to send logs to.
    downAfterMilliseconds Integer
    The number of milliseconds after which the instance is considered down.
    enableMonitoring Boolean
    Enable monitoring.
    failoverTimeout Integer
    The failover timeout in milliseconds.
    graphite String
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    lazyfreeLazyEviction String
    The lazy eviction enablement (yes or no).
    lazyfreeLazyExpire String
    The lazy expire enablement (yes or no).
    luaTimeLimit Integer
    The Lua time limit.
    maxDiskThreshold Integer
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    maxclients Integer
    The maximum number of clients.
    maxmemoryPolicy String
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    maxmemorySamples Integer
    The maximum memory samples.
    metricsFrequency Integer
    The frequency in seconds at which metrics are emitted.
    metricsPrefix String
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    minReplicasMaxLag Integer
    The minimum replicas maximum lag.
    minReplicasToWrite Integer
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    monitoringInstanceId String
    The ID of the STACKIT monitoring instance.
    notifyKeyspaceEvents String
    The notify keyspace events.
    replBacklogSize String
    The replication backlog size for the cluster.
    sgwAcl String
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    snapshot String
    The snapshot configuration.
    syslogs List<String>
    List of syslog servers to send logs to.
    downAfterMilliseconds number
    The number of milliseconds after which the instance is considered down.
    enableMonitoring boolean
    Enable monitoring.
    failoverTimeout number
    The failover timeout in milliseconds.
    graphite string
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    lazyfreeLazyEviction string
    The lazy eviction enablement (yes or no).
    lazyfreeLazyExpire string
    The lazy expire enablement (yes or no).
    luaTimeLimit number
    The Lua time limit.
    maxDiskThreshold number
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    maxclients number
    The maximum number of clients.
    maxmemoryPolicy string
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    maxmemorySamples number
    The maximum memory samples.
    metricsFrequency number
    The frequency in seconds at which metrics are emitted.
    metricsPrefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    minReplicasMaxLag number
    The minimum replicas maximum lag.
    minReplicasToWrite number
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    monitoringInstanceId string
    The ID of the STACKIT monitoring instance.
    notifyKeyspaceEvents string
    The notify keyspace events.
    replBacklogSize string
    The replication backlog size for the cluster.
    sgwAcl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    snapshot string
    The snapshot configuration.
    syslogs string[]
    List of syslog servers to send logs to.
    down_after_milliseconds int
    The number of milliseconds after which the instance is considered down.
    enable_monitoring bool
    Enable monitoring.
    failover_timeout int
    The failover timeout in milliseconds.
    graphite str
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    lazyfree_lazy_eviction str
    The lazy eviction enablement (yes or no).
    lazyfree_lazy_expire str
    The lazy expire enablement (yes or no).
    lua_time_limit int
    The Lua time limit.
    max_disk_threshold int
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    maxclients int
    The maximum number of clients.
    maxmemory_policy str
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    maxmemory_samples int
    The maximum memory samples.
    metrics_frequency int
    The frequency in seconds at which metrics are emitted.
    metrics_prefix str
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    min_replicas_max_lag int
    The minimum replicas maximum lag.
    min_replicas_to_write int
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    monitoring_instance_id str
    The ID of the STACKIT monitoring instance.
    notify_keyspace_events str
    The notify keyspace events.
    repl_backlog_size str
    The replication backlog size for the cluster.
    sgw_acl str
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    snapshot str
    The snapshot configuration.
    syslogs Sequence[str]
    List of syslog servers to send logs to.
    downAfterMilliseconds Number
    The number of milliseconds after which the instance is considered down.
    enableMonitoring Boolean
    Enable monitoring.
    failoverTimeout Number
    The failover timeout in milliseconds.
    graphite String
    Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
    lazyfreeLazyEviction String
    The lazy eviction enablement (yes or no).
    lazyfreeLazyExpire String
    The lazy expire enablement (yes or no).
    luaTimeLimit Number
    The Lua time limit.
    maxDiskThreshold Number
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    maxclients Number
    The maximum number of clients.
    maxmemoryPolicy String
    The policy to handle the maximum memory (volatile-lru, noeviction, etc).
    maxmemorySamples Number
    The maximum memory samples.
    metricsFrequency Number
    The frequency in seconds at which metrics are emitted.
    metricsPrefix String
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
    minReplicasMaxLag Number
    The minimum replicas maximum lag.
    minReplicasToWrite Number
    The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
    monitoringInstanceId String
    The ID of the STACKIT monitoring instance.
    notifyKeyspaceEvents String
    The notify keyspace events.
    replBacklogSize String
    The replication backlog size for the cluster.
    sgwAcl String
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    snapshot String
    The snapshot configuration.
    syslogs List<String>
    List of syslog servers to send logs to.

    Import

    In Terraform v1.5.0 and later, the + "" + import + “" + block can be used with the + "” + id + “" + attribute, for example:

    # Only use the import statement, if you want to import an existing valkey instance
    import {
      to = stackit_valkey_instance.import-example
      id = "${var.project_id},${var.region},${var.valkey_instance_id}"
    }
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.8
    published on Friday, Oct 16, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial