aws.memorydb.Cluster
Explore with Pulumi AI
Provides a MemoryDB Cluster.
More information about MemoryDB can be found in the Developer Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.memorydb.Cluster("example", {
    aclName: "open-access",
    name: "my-cluster",
    nodeType: "db.t4g.small",
    engine: "redis",
    engineVersion: "7.1",
    numShards: 2,
    securityGroupIds: [exampleAwsSecurityGroup.id],
    snapshotRetentionLimit: 7,
    subnetGroupName: exampleAwsMemorydbSubnetGroup.id,
});
import pulumi
import pulumi_aws as aws
example = aws.memorydb.Cluster("example",
    acl_name="open-access",
    name="my-cluster",
    node_type="db.t4g.small",
    engine="redis",
    engine_version="7.1",
    num_shards=2,
    security_group_ids=[example_aws_security_group["id"]],
    snapshot_retention_limit=7,
    subnet_group_name=example_aws_memorydb_subnet_group["id"])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := memorydb.NewCluster(ctx, "example", &memorydb.ClusterArgs{
			AclName:       pulumi.String("open-access"),
			Name:          pulumi.String("my-cluster"),
			NodeType:      pulumi.String("db.t4g.small"),
			Engine:        pulumi.String("redis"),
			EngineVersion: pulumi.String("7.1"),
			NumShards:     pulumi.Int(2),
			SecurityGroupIds: pulumi.StringArray{
				exampleAwsSecurityGroup.Id,
			},
			SnapshotRetentionLimit: pulumi.Int(7),
			SubnetGroupName:        pulumi.Any(exampleAwsMemorydbSubnetGroup.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.MemoryDb.Cluster("example", new()
    {
        AclName = "open-access",
        Name = "my-cluster",
        NodeType = "db.t4g.small",
        Engine = "redis",
        EngineVersion = "7.1",
        NumShards = 2,
        SecurityGroupIds = new[]
        {
            exampleAwsSecurityGroup.Id,
        },
        SnapshotRetentionLimit = 7,
        SubnetGroupName = exampleAwsMemorydbSubnetGroup.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.memorydb.Cluster;
import com.pulumi.aws.memorydb.ClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new Cluster("example", ClusterArgs.builder()
            .aclName("open-access")
            .name("my-cluster")
            .nodeType("db.t4g.small")
            .engine("redis")
            .engineVersion("7.1")
            .numShards(2)
            .securityGroupIds(exampleAwsSecurityGroup.id())
            .snapshotRetentionLimit(7)
            .subnetGroupName(exampleAwsMemorydbSubnetGroup.id())
            .build());
    }
}
resources:
  example:
    type: aws:memorydb:Cluster
    properties:
      aclName: open-access
      name: my-cluster
      nodeType: db.t4g.small
      engine: redis
      engineVersion: '7.1'
      numShards: 2
      securityGroupIds:
        - ${exampleAwsSecurityGroup.id}
      snapshotRetentionLimit: 7
      subnetGroupName: ${exampleAwsMemorydbSubnetGroup.id}
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);@overload
def Cluster(resource_name: str,
            args: ClusterArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            acl_name: Optional[str] = None,
            node_type: Optional[str] = None,
            final_snapshot_name: Optional[str] = None,
            subnet_group_name: Optional[str] = None,
            engine: Optional[str] = None,
            engine_version: Optional[str] = None,
            data_tiering: Optional[bool] = None,
            kms_key_arn: Optional[str] = None,
            maintenance_window: Optional[str] = None,
            multi_region_cluster_name: Optional[str] = None,
            name: Optional[str] = None,
            name_prefix: Optional[str] = None,
            tls_enabled: Optional[bool] = None,
            description: Optional[str] = None,
            port: Optional[int] = None,
            parameter_group_name: Optional[str] = None,
            num_shards: Optional[int] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            snapshot_arns: Optional[Sequence[str]] = None,
            snapshot_name: Optional[str] = None,
            snapshot_retention_limit: Optional[int] = None,
            snapshot_window: Optional[str] = None,
            sns_topic_arn: Optional[str] = None,
            num_replicas_per_shard: Optional[int] = None,
            tags: Optional[Mapping[str, str]] = None,
            auto_minor_version_upgrade: Optional[bool] = None)func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: aws:memorydb:Cluster
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 ClusterArgs
- 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 ClusterArgs
- 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 ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- 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 exampleclusterResourceResourceFromMemorydbcluster = new Aws.MemoryDb.Cluster("exampleclusterResourceResourceFromMemorydbcluster", new()
{
    AclName = "string",
    NodeType = "string",
    FinalSnapshotName = "string",
    SubnetGroupName = "string",
    Engine = "string",
    EngineVersion = "string",
    DataTiering = false,
    KmsKeyArn = "string",
    MaintenanceWindow = "string",
    MultiRegionClusterName = "string",
    Name = "string",
    NamePrefix = "string",
    TlsEnabled = false,
    Description = "string",
    Port = 0,
    ParameterGroupName = "string",
    NumShards = 0,
    SecurityGroupIds = new[]
    {
        "string",
    },
    SnapshotArns = new[]
    {
        "string",
    },
    SnapshotName = "string",
    SnapshotRetentionLimit = 0,
    SnapshotWindow = "string",
    SnsTopicArn = "string",
    NumReplicasPerShard = 0,
    Tags = 
    {
        { "string", "string" },
    },
    AutoMinorVersionUpgrade = false,
});
example, err := memorydb.NewCluster(ctx, "exampleclusterResourceResourceFromMemorydbcluster", &memorydb.ClusterArgs{
	AclName:                pulumi.String("string"),
	NodeType:               pulumi.String("string"),
	FinalSnapshotName:      pulumi.String("string"),
	SubnetGroupName:        pulumi.String("string"),
	Engine:                 pulumi.String("string"),
	EngineVersion:          pulumi.String("string"),
	DataTiering:            pulumi.Bool(false),
	KmsKeyArn:              pulumi.String("string"),
	MaintenanceWindow:      pulumi.String("string"),
	MultiRegionClusterName: pulumi.String("string"),
	Name:                   pulumi.String("string"),
	NamePrefix:             pulumi.String("string"),
	TlsEnabled:             pulumi.Bool(false),
	Description:            pulumi.String("string"),
	Port:                   pulumi.Int(0),
	ParameterGroupName:     pulumi.String("string"),
	NumShards:              pulumi.Int(0),
	SecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	SnapshotArns: pulumi.StringArray{
		pulumi.String("string"),
	},
	SnapshotName:           pulumi.String("string"),
	SnapshotRetentionLimit: pulumi.Int(0),
	SnapshotWindow:         pulumi.String("string"),
	SnsTopicArn:            pulumi.String("string"),
	NumReplicasPerShard:    pulumi.Int(0),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	AutoMinorVersionUpgrade: pulumi.Bool(false),
})
var exampleclusterResourceResourceFromMemorydbcluster = new Cluster("exampleclusterResourceResourceFromMemorydbcluster", ClusterArgs.builder()
    .aclName("string")
    .nodeType("string")
    .finalSnapshotName("string")
    .subnetGroupName("string")
    .engine("string")
    .engineVersion("string")
    .dataTiering(false)
    .kmsKeyArn("string")
    .maintenanceWindow("string")
    .multiRegionClusterName("string")
    .name("string")
    .namePrefix("string")
    .tlsEnabled(false)
    .description("string")
    .port(0)
    .parameterGroupName("string")
    .numShards(0)
    .securityGroupIds("string")
    .snapshotArns("string")
    .snapshotName("string")
    .snapshotRetentionLimit(0)
    .snapshotWindow("string")
    .snsTopicArn("string")
    .numReplicasPerShard(0)
    .tags(Map.of("string", "string"))
    .autoMinorVersionUpgrade(false)
    .build());
examplecluster_resource_resource_from_memorydbcluster = aws.memorydb.Cluster("exampleclusterResourceResourceFromMemorydbcluster",
    acl_name="string",
    node_type="string",
    final_snapshot_name="string",
    subnet_group_name="string",
    engine="string",
    engine_version="string",
    data_tiering=False,
    kms_key_arn="string",
    maintenance_window="string",
    multi_region_cluster_name="string",
    name="string",
    name_prefix="string",
    tls_enabled=False,
    description="string",
    port=0,
    parameter_group_name="string",
    num_shards=0,
    security_group_ids=["string"],
    snapshot_arns=["string"],
    snapshot_name="string",
    snapshot_retention_limit=0,
    snapshot_window="string",
    sns_topic_arn="string",
    num_replicas_per_shard=0,
    tags={
        "string": "string",
    },
    auto_minor_version_upgrade=False)
const exampleclusterResourceResourceFromMemorydbcluster = new aws.memorydb.Cluster("exampleclusterResourceResourceFromMemorydbcluster", {
    aclName: "string",
    nodeType: "string",
    finalSnapshotName: "string",
    subnetGroupName: "string",
    engine: "string",
    engineVersion: "string",
    dataTiering: false,
    kmsKeyArn: "string",
    maintenanceWindow: "string",
    multiRegionClusterName: "string",
    name: "string",
    namePrefix: "string",
    tlsEnabled: false,
    description: "string",
    port: 0,
    parameterGroupName: "string",
    numShards: 0,
    securityGroupIds: ["string"],
    snapshotArns: ["string"],
    snapshotName: "string",
    snapshotRetentionLimit: 0,
    snapshotWindow: "string",
    snsTopicArn: "string",
    numReplicasPerShard: 0,
    tags: {
        string: "string",
    },
    autoMinorVersionUpgrade: false,
});
type: aws:memorydb:Cluster
properties:
    aclName: string
    autoMinorVersionUpgrade: false
    dataTiering: false
    description: string
    engine: string
    engineVersion: string
    finalSnapshotName: string
    kmsKeyArn: string
    maintenanceWindow: string
    multiRegionClusterName: string
    name: string
    namePrefix: string
    nodeType: string
    numReplicasPerShard: 0
    numShards: 0
    parameterGroupName: string
    port: 0
    securityGroupIds:
        - string
    snapshotArns:
        - string
    snapshotName: string
    snapshotRetentionLimit: 0
    snapshotWindow: string
    snsTopicArn: string
    subnetGroupName: string
    tags:
        string: string
    tlsEnabled: false
Cluster 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 Cluster resource accepts the following input properties:
- AclName string
- The name of the Access Control List to associate with the cluster.
- NodeType string
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- AutoMinor boolVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- DataTiering bool
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- Description string
- Description for the cluster. Defaults to "Managed by Pulumi".
- Engine string
- The engine that will run on your nodes. Supported values are redisandvalkey.
- EngineVersion string
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- FinalSnapshot stringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- MaintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- MultiRegion stringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NumReplicas intPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- NumShards int
- The number of shards in the cluster. Defaults to 1.
- ParameterGroup stringName 
- The name of the parameter group associated with the cluster.
- Port int
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- SecurityGroup List<string>Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- SnapshotArns List<string>
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- SnapshotName string
- The name of a snapshot from which to restore data into the new cluster.
- SnapshotRetention intLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- SnsTopic stringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- SubnetGroup stringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- AclName string
- The name of the Access Control List to associate with the cluster.
- NodeType string
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- AutoMinor boolVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- DataTiering bool
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- Description string
- Description for the cluster. Defaults to "Managed by Pulumi".
- Engine string
- The engine that will run on your nodes. Supported values are redisandvalkey.
- EngineVersion string
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- FinalSnapshot stringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- MaintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- MultiRegion stringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NumReplicas intPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- NumShards int
- The number of shards in the cluster. Defaults to 1.
- ParameterGroup stringName 
- The name of the parameter group associated with the cluster.
- Port int
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- SecurityGroup []stringIds 
- Set of VPC Security Group ID-s to associate with this cluster.
- SnapshotArns []string
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- SnapshotName string
- The name of a snapshot from which to restore data into the new cluster.
- SnapshotRetention intLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- SnsTopic stringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- SubnetGroup stringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- aclName String
- The name of the Access Control List to associate with the cluster.
- nodeType String
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- autoMinor BooleanVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- dataTiering Boolean
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description String
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine String
- The engine that will run on your nodes. Supported values are redisandvalkey.
- engineVersion String
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- finalSnapshot StringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenanceWindow String
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multiRegion StringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- numReplicas IntegerPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- numShards Integer
- The number of shards in the cluster. Defaults to 1.
- parameterGroup StringName 
- The name of the parameter group associated with the cluster.
- port Integer
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- securityGroup List<String>Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- snapshotArns List<String>
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshotName String
- The name of a snapshot from which to restore data into the new cluster.
- snapshotRetention IntegerLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- snsTopic StringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnetGroup StringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- aclName string
- The name of the Access Control List to associate with the cluster.
- nodeType string
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- autoMinor booleanVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- dataTiering boolean
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description string
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine string
- The engine that will run on your nodes. Supported values are redisandvalkey.
- engineVersion string
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- finalSnapshot stringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kmsKey stringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multiRegion stringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- numReplicas numberPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- numShards number
- The number of shards in the cluster. Defaults to 1.
- parameterGroup stringName 
- The name of the parameter group associated with the cluster.
- port number
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- securityGroup string[]Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- snapshotArns string[]
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshotName string
- The name of a snapshot from which to restore data into the new cluster.
- snapshotRetention numberLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- snsTopic stringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnetGroup stringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tlsEnabled boolean
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- acl_name str
- The name of the Access Control List to associate with the cluster.
- node_type str
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- auto_minor_ boolversion_ upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- data_tiering bool
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description str
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine str
- The engine that will run on your nodes. Supported values are redisandvalkey.
- engine_version str
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- final_snapshot_ strname 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kms_key_ strarn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenance_window str
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multi_region_ strcluster_ name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name str
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- name_prefix str
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- num_replicas_ intper_ shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- num_shards int
- The number of shards in the cluster. Defaults to 1.
- parameter_group_ strname 
- The name of the parameter group associated with the cluster.
- port int
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- security_group_ Sequence[str]ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- snapshot_arns Sequence[str]
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshot_name str
- The name of a snapshot from which to restore data into the new cluster.
- snapshot_retention_ intlimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshot_window str
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- sns_topic_ strarn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnet_group_ strname 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tls_enabled bool
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- aclName String
- The name of the Access Control List to associate with the cluster.
- nodeType String
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- autoMinor BooleanVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- dataTiering Boolean
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description String
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine String
- The engine that will run on your nodes. Supported values are redisandvalkey.
- engineVersion String
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- finalSnapshot StringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenanceWindow String
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multiRegion StringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- numReplicas NumberPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- numShards Number
- The number of shards in the cluster. Defaults to 1.
- parameterGroup StringName 
- The name of the parameter group associated with the cluster.
- port Number
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- securityGroup List<String>Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- snapshotArns List<String>
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshotName String
- The name of a snapshot from which to restore data into the new cluster.
- snapshotRetention NumberLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- snsTopic StringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnetGroup StringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Arn string
- The ARN of the cluster.
- ClusterEndpoints List<ClusterCluster Endpoint> 
- EnginePatch stringVersion 
- Patch version number of the engine used by the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- 
List<ClusterShard> 
- Set of shards in this cluster.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- The ARN of the cluster.
- ClusterEndpoints []ClusterCluster Endpoint 
- EnginePatch stringVersion 
- Patch version number of the engine used by the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- 
[]ClusterShard 
- Set of shards in this cluster.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The ARN of the cluster.
- clusterEndpoints List<ClusterCluster Endpoint> 
- enginePatch StringVersion 
- Patch version number of the engine used by the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- 
List<ClusterShard> 
- Set of shards in this cluster.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- The ARN of the cluster.
- clusterEndpoints ClusterCluster Endpoint[] 
- enginePatch stringVersion 
- Patch version number of the engine used by the cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- 
ClusterShard[] 
- Set of shards in this cluster.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- The ARN of the cluster.
- cluster_endpoints Sequence[ClusterCluster Endpoint] 
- engine_patch_ strversion 
- Patch version number of the engine used by the cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- 
Sequence[ClusterShard] 
- Set of shards in this cluster.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The ARN of the cluster.
- clusterEndpoints List<Property Map>
- enginePatch StringVersion 
- Patch version number of the engine used by the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- List<Property Map>
- Set of shards in this cluster.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing Cluster Resource
Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        acl_name: Optional[str] = None,
        arn: Optional[str] = None,
        auto_minor_version_upgrade: Optional[bool] = None,
        cluster_endpoints: Optional[Sequence[ClusterClusterEndpointArgs]] = None,
        data_tiering: Optional[bool] = None,
        description: Optional[str] = None,
        engine: Optional[str] = None,
        engine_patch_version: Optional[str] = None,
        engine_version: Optional[str] = None,
        final_snapshot_name: Optional[str] = None,
        kms_key_arn: Optional[str] = None,
        maintenance_window: Optional[str] = None,
        multi_region_cluster_name: Optional[str] = None,
        name: Optional[str] = None,
        name_prefix: Optional[str] = None,
        node_type: Optional[str] = None,
        num_replicas_per_shard: Optional[int] = None,
        num_shards: Optional[int] = None,
        parameter_group_name: Optional[str] = None,
        port: Optional[int] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        shards: Optional[Sequence[ClusterShardArgs]] = None,
        snapshot_arns: Optional[Sequence[str]] = None,
        snapshot_name: Optional[str] = None,
        snapshot_retention_limit: Optional[int] = None,
        snapshot_window: Optional[str] = None,
        sns_topic_arn: Optional[str] = None,
        subnet_group_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        tls_enabled: Optional[bool] = None) -> Clusterfunc GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)resources:  _:    type: aws:memorydb:Cluster    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.
- AclName string
- The name of the Access Control List to associate with the cluster.
- Arn string
- The ARN of the cluster.
- AutoMinor boolVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- ClusterEndpoints List<ClusterCluster Endpoint> 
- DataTiering bool
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- Description string
- Description for the cluster. Defaults to "Managed by Pulumi".
- Engine string
- The engine that will run on your nodes. Supported values are redisandvalkey.
- EnginePatch stringVersion 
- Patch version number of the engine used by the cluster.
- EngineVersion string
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- FinalSnapshot stringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- MaintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- MultiRegion stringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NodeType string
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- NumReplicas intPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- NumShards int
- The number of shards in the cluster. Defaults to 1.
- ParameterGroup stringName 
- The name of the parameter group associated with the cluster.
- Port int
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- SecurityGroup List<string>Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- Shards
List<ClusterShard> 
- Set of shards in this cluster.
- SnapshotArns List<string>
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- SnapshotName string
- The name of a snapshot from which to restore data into the new cluster.
- SnapshotRetention intLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- SnsTopic stringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- SubnetGroup stringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- AclName string
- The name of the Access Control List to associate with the cluster.
- Arn string
- The ARN of the cluster.
- AutoMinor boolVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- ClusterEndpoints []ClusterCluster Endpoint Args 
- DataTiering bool
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- Description string
- Description for the cluster. Defaults to "Managed by Pulumi".
- Engine string
- The engine that will run on your nodes. Supported values are redisandvalkey.
- EnginePatch stringVersion 
- Patch version number of the engine used by the cluster.
- EngineVersion string
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- FinalSnapshot stringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- MaintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- MultiRegion stringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NodeType string
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- NumReplicas intPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- NumShards int
- The number of shards in the cluster. Defaults to 1.
- ParameterGroup stringName 
- The name of the parameter group associated with the cluster.
- Port int
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- SecurityGroup []stringIds 
- Set of VPC Security Group ID-s to associate with this cluster.
- Shards
[]ClusterShard Args 
- Set of shards in this cluster.
- SnapshotArns []string
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- SnapshotName string
- The name of a snapshot from which to restore data into the new cluster.
- SnapshotRetention intLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- SnsTopic stringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- SubnetGroup stringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- aclName String
- The name of the Access Control List to associate with the cluster.
- arn String
- The ARN of the cluster.
- autoMinor BooleanVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- clusterEndpoints List<ClusterCluster Endpoint> 
- dataTiering Boolean
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description String
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine String
- The engine that will run on your nodes. Supported values are redisandvalkey.
- enginePatch StringVersion 
- Patch version number of the engine used by the cluster.
- engineVersion String
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- finalSnapshot StringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenanceWindow String
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multiRegion StringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- nodeType String
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- numReplicas IntegerPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- numShards Integer
- The number of shards in the cluster. Defaults to 1.
- parameterGroup StringName 
- The name of the parameter group associated with the cluster.
- port Integer
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- securityGroup List<String>Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- shards
List<ClusterShard> 
- Set of shards in this cluster.
- snapshotArns List<String>
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshotName String
- The name of a snapshot from which to restore data into the new cluster.
- snapshotRetention IntegerLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- snsTopic StringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnetGroup StringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- aclName string
- The name of the Access Control List to associate with the cluster.
- arn string
- The ARN of the cluster.
- autoMinor booleanVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- clusterEndpoints ClusterCluster Endpoint[] 
- dataTiering boolean
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description string
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine string
- The engine that will run on your nodes. Supported values are redisandvalkey.
- enginePatch stringVersion 
- Patch version number of the engine used by the cluster.
- engineVersion string
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- finalSnapshot stringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kmsKey stringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multiRegion stringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- nodeType string
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- numReplicas numberPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- numShards number
- The number of shards in the cluster. Defaults to 1.
- parameterGroup stringName 
- The name of the parameter group associated with the cluster.
- port number
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- securityGroup string[]Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- shards
ClusterShard[] 
- Set of shards in this cluster.
- snapshotArns string[]
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshotName string
- The name of a snapshot from which to restore data into the new cluster.
- snapshotRetention numberLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- snsTopic stringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnetGroup stringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tlsEnabled boolean
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- acl_name str
- The name of the Access Control List to associate with the cluster.
- arn str
- The ARN of the cluster.
- auto_minor_ boolversion_ upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- cluster_endpoints Sequence[ClusterCluster Endpoint Args] 
- data_tiering bool
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description str
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine str
- The engine that will run on your nodes. Supported values are redisandvalkey.
- engine_patch_ strversion 
- Patch version number of the engine used by the cluster.
- engine_version str
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- final_snapshot_ strname 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kms_key_ strarn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenance_window str
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multi_region_ strcluster_ name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name str
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- name_prefix str
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- node_type str
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- num_replicas_ intper_ shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- num_shards int
- The number of shards in the cluster. Defaults to 1.
- parameter_group_ strname 
- The name of the parameter group associated with the cluster.
- port int
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- security_group_ Sequence[str]ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- shards
Sequence[ClusterShard Args] 
- Set of shards in this cluster.
- snapshot_arns Sequence[str]
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshot_name str
- The name of a snapshot from which to restore data into the new cluster.
- snapshot_retention_ intlimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshot_window str
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- sns_topic_ strarn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnet_group_ strname 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tls_enabled bool
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
- aclName String
- The name of the Access Control List to associate with the cluster.
- arn String
- The ARN of the cluster.
- autoMinor BooleanVersion Upgrade 
- When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults totrue.
- clusterEndpoints List<Property Map>
- dataTiering Boolean
- Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering.
- description String
- Description for the cluster. Defaults to "Managed by Pulumi".
- engine String
- The engine that will run on your nodes. Supported values are redisandvalkey.
- enginePatch StringVersion 
- Patch version number of the engine used by the cluster.
- engineVersion String
- Version number of the engine to be used for the cluster. Downgrades are not supported.
- finalSnapshot StringName 
- Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the cluster at rest.
- maintenanceWindow String
- Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:23:00-mon:01:30.
- multiRegion StringCluster Name 
- The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster.
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- nodeType String
- The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. - The following arguments are optional: 
- numReplicas NumberPer Shard 
- The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1(i.e. 2 nodes per shard).
- numShards Number
- The number of shards in the cluster. Defaults to 1.
- parameterGroup StringName 
- The name of the parameter group associated with the cluster.
- port Number
- The port number on which each of the nodes accepts connections. Defaults to 6379.
- securityGroup List<String>Ids 
- Set of VPC Security Group ID-s to associate with this cluster.
- shards List<Property Map>
- Set of shards in this cluster.
- snapshotArns List<String>
- List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
- snapshotName String
- The name of a snapshot from which to restore data into the new cluster.
- snapshotRetention NumberLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to0.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00.
- snsTopic StringArn 
- ARN of the SNS topic to which cluster notifications are sent.
- subnetGroup StringName 
- The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster. When set to false, theacl_namemust beopen-access. Defaults totrue.
Supporting Types
ClusterClusterEndpoint, ClusterClusterEndpointArgs      
ClusterShard, ClusterShardArgs    
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- Nodes
List<ClusterShard Node> 
- Set of nodes in this shard.
- NumNodes int
- Number of individual nodes in this shard.
- Slots string
- Keyspace for this shard. Example: 0-16383.
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- Nodes
[]ClusterShard Node 
- Set of nodes in this shard.
- NumNodes int
- Number of individual nodes in this shard.
- Slots string
- Keyspace for this shard. Example: 0-16383.
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodes
List<ClusterShard Node> 
- Set of nodes in this shard.
- numNodes Integer
- Number of individual nodes in this shard.
- slots String
- Keyspace for this shard. Example: 0-16383.
- name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodes
ClusterShard Node[] 
- Set of nodes in this shard.
- numNodes number
- Number of individual nodes in this shard.
- slots string
- Keyspace for this shard. Example: 0-16383.
- name str
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodes
Sequence[ClusterShard Node] 
- Set of nodes in this shard.
- num_nodes int
- Number of individual nodes in this shard.
- slots str
- Keyspace for this shard. Example: 0-16383.
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodes List<Property Map>
- Set of nodes in this shard.
- numNodes Number
- Number of individual nodes in this shard.
- slots String
- Keyspace for this shard. Example: 0-16383.
ClusterShardNode, ClusterShardNodeArgs      
- AvailabilityZone string
- The Availability Zone in which the node resides.
- CreateTime string
- The date and time when the node was created. Example: 2022-01-01T21:00:00Z.
- Endpoints
List<ClusterShard Node Endpoint> 
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- AvailabilityZone string
- The Availability Zone in which the node resides.
- CreateTime string
- The date and time when the node was created. Example: 2022-01-01T21:00:00Z.
- Endpoints
[]ClusterShard Node Endpoint 
- Name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- availabilityZone String
- The Availability Zone in which the node resides.
- createTime String
- The date and time when the node was created. Example: 2022-01-01T21:00:00Z.
- endpoints
List<ClusterShard Node Endpoint> 
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- availabilityZone string
- The Availability Zone in which the node resides.
- createTime string
- The date and time when the node was created. Example: 2022-01-01T21:00:00Z.
- endpoints
ClusterShard Node Endpoint[] 
- name string
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- availability_zone str
- The Availability Zone in which the node resides.
- create_time str
- The date and time when the node was created. Example: 2022-01-01T21:00:00Z.
- endpoints
Sequence[ClusterShard Node Endpoint] 
- name str
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- availabilityZone String
- The Availability Zone in which the node resides.
- createTime String
- The date and time when the node was created. Example: 2022-01-01T21:00:00Z.
- endpoints List<Property Map>
- name String
- Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
ClusterShardNodeEndpoint, ClusterShardNodeEndpointArgs        
Import
Using pulumi import, import a cluster using the name. For example:
$ pulumi import aws:memorydb/cluster:Cluster example my-cluster
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.