aws.memorydb.MultiRegionCluster
Explore with Pulumi AI
Provides a MemoryDB Multi Region 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.MultiRegionCluster("example", {
    multiRegionClusterNameSuffix: "example",
    nodeType: "db.r7g.xlarge",
});
const exampleCluster = new aws.memorydb.Cluster("example", {
    aclName: exampleAwsMemorydbAcl.id,
    autoMinorVersionUpgrade: false,
    name: "example",
    nodeType: "db.t4g.small",
    numShards: 2,
    securityGroupIds: [exampleAwsSecurityGroup.id],
    snapshotRetentionLimit: 7,
    subnetGroupName: exampleAwsMemorydbSubnetGroup.id,
    multiRegionClusterName: example.multiRegionClusterName,
});
import pulumi
import pulumi_aws as aws
example = aws.memorydb.MultiRegionCluster("example",
    multi_region_cluster_name_suffix="example",
    node_type="db.r7g.xlarge")
example_cluster = aws.memorydb.Cluster("example",
    acl_name=example_aws_memorydb_acl["id"],
    auto_minor_version_upgrade=False,
    name="example",
    node_type="db.t4g.small",
    num_shards=2,
    security_group_ids=[example_aws_security_group["id"]],
    snapshot_retention_limit=7,
    subnet_group_name=example_aws_memorydb_subnet_group["id"],
    multi_region_cluster_name=example.multi_region_cluster_name)
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 {
		example, err := memorydb.NewMultiRegionCluster(ctx, "example", &memorydb.MultiRegionClusterArgs{
			MultiRegionClusterNameSuffix: pulumi.String("example"),
			NodeType:                     pulumi.String("db.r7g.xlarge"),
		})
		if err != nil {
			return err
		}
		_, err = memorydb.NewCluster(ctx, "example", &memorydb.ClusterArgs{
			AclName:                 pulumi.Any(exampleAwsMemorydbAcl.Id),
			AutoMinorVersionUpgrade: pulumi.Bool(false),
			Name:                    pulumi.String("example"),
			NodeType:                pulumi.String("db.t4g.small"),
			NumShards:               pulumi.Int(2),
			SecurityGroupIds: pulumi.StringArray{
				exampleAwsSecurityGroup.Id,
			},
			SnapshotRetentionLimit: pulumi.Int(7),
			SubnetGroupName:        pulumi.Any(exampleAwsMemorydbSubnetGroup.Id),
			MultiRegionClusterName: example.MultiRegionClusterName,
		})
		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.MultiRegionCluster("example", new()
    {
        MultiRegionClusterNameSuffix = "example",
        NodeType = "db.r7g.xlarge",
    });
    var exampleCluster = new Aws.MemoryDb.Cluster("example", new()
    {
        AclName = exampleAwsMemorydbAcl.Id,
        AutoMinorVersionUpgrade = false,
        Name = "example",
        NodeType = "db.t4g.small",
        NumShards = 2,
        SecurityGroupIds = new[]
        {
            exampleAwsSecurityGroup.Id,
        },
        SnapshotRetentionLimit = 7,
        SubnetGroupName = exampleAwsMemorydbSubnetGroup.Id,
        MultiRegionClusterName = example.MultiRegionClusterName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.memorydb.MultiRegionCluster;
import com.pulumi.aws.memorydb.MultiRegionClusterArgs;
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 MultiRegionCluster("example", MultiRegionClusterArgs.builder()
            .multiRegionClusterNameSuffix("example")
            .nodeType("db.r7g.xlarge")
            .build());
        var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
            .aclName(exampleAwsMemorydbAcl.id())
            .autoMinorVersionUpgrade(false)
            .name("example")
            .nodeType("db.t4g.small")
            .numShards(2)
            .securityGroupIds(exampleAwsSecurityGroup.id())
            .snapshotRetentionLimit(7)
            .subnetGroupName(exampleAwsMemorydbSubnetGroup.id())
            .multiRegionClusterName(example.multiRegionClusterName())
            .build());
    }
}
resources:
  example:
    type: aws:memorydb:MultiRegionCluster
    properties:
      multiRegionClusterNameSuffix: example
      nodeType: db.r7g.xlarge
  exampleCluster:
    type: aws:memorydb:Cluster
    name: example
    properties:
      aclName: ${exampleAwsMemorydbAcl.id}
      autoMinorVersionUpgrade: false
      name: example
      nodeType: db.t4g.small
      numShards: 2
      securityGroupIds:
        - ${exampleAwsSecurityGroup.id}
      snapshotRetentionLimit: 7
      subnetGroupName: ${exampleAwsMemorydbSubnetGroup.id}
      multiRegionClusterName: ${example.multiRegionClusterName}
Create MultiRegionCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MultiRegionCluster(name: string, args: MultiRegionClusterArgs, opts?: CustomResourceOptions);@overload
def MultiRegionCluster(resource_name: str,
                       args: MultiRegionClusterArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def MultiRegionCluster(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       multi_region_cluster_name_suffix: Optional[str] = None,
                       node_type: Optional[str] = None,
                       description: Optional[str] = None,
                       engine: Optional[str] = None,
                       engine_version: Optional[str] = None,
                       multi_region_parameter_group_name: Optional[str] = None,
                       num_shards: Optional[int] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       timeouts: Optional[MultiRegionClusterTimeoutsArgs] = None,
                       tls_enabled: Optional[bool] = None,
                       update_strategy: Optional[str] = None)func NewMultiRegionCluster(ctx *Context, name string, args MultiRegionClusterArgs, opts ...ResourceOption) (*MultiRegionCluster, error)public MultiRegionCluster(string name, MultiRegionClusterArgs args, CustomResourceOptions? opts = null)
public MultiRegionCluster(String name, MultiRegionClusterArgs args)
public MultiRegionCluster(String name, MultiRegionClusterArgs args, CustomResourceOptions options)
type: aws:memorydb:MultiRegionCluster
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 MultiRegionClusterArgs
- 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 MultiRegionClusterArgs
- 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 MultiRegionClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MultiRegionClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MultiRegionClusterArgs
- 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 multiRegionClusterResource = new Aws.MemoryDb.MultiRegionCluster("multiRegionClusterResource", new()
{
    MultiRegionClusterNameSuffix = "string",
    NodeType = "string",
    Description = "string",
    Engine = "string",
    EngineVersion = "string",
    MultiRegionParameterGroupName = "string",
    NumShards = 0,
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Aws.MemoryDb.Inputs.MultiRegionClusterTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    TlsEnabled = false,
    UpdateStrategy = "string",
});
example, err := memorydb.NewMultiRegionCluster(ctx, "multiRegionClusterResource", &memorydb.MultiRegionClusterArgs{
	MultiRegionClusterNameSuffix:  pulumi.String("string"),
	NodeType:                      pulumi.String("string"),
	Description:                   pulumi.String("string"),
	Engine:                        pulumi.String("string"),
	EngineVersion:                 pulumi.String("string"),
	MultiRegionParameterGroupName: pulumi.String("string"),
	NumShards:                     pulumi.Int(0),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &memorydb.MultiRegionClusterTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	TlsEnabled:     pulumi.Bool(false),
	UpdateStrategy: pulumi.String("string"),
})
var multiRegionClusterResource = new MultiRegionCluster("multiRegionClusterResource", MultiRegionClusterArgs.builder()
    .multiRegionClusterNameSuffix("string")
    .nodeType("string")
    .description("string")
    .engine("string")
    .engineVersion("string")
    .multiRegionParameterGroupName("string")
    .numShards(0)
    .tags(Map.of("string", "string"))
    .timeouts(MultiRegionClusterTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .tlsEnabled(false)
    .updateStrategy("string")
    .build());
multi_region_cluster_resource = aws.memorydb.MultiRegionCluster("multiRegionClusterResource",
    multi_region_cluster_name_suffix="string",
    node_type="string",
    description="string",
    engine="string",
    engine_version="string",
    multi_region_parameter_group_name="string",
    num_shards=0,
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    tls_enabled=False,
    update_strategy="string")
const multiRegionClusterResource = new aws.memorydb.MultiRegionCluster("multiRegionClusterResource", {
    multiRegionClusterNameSuffix: "string",
    nodeType: "string",
    description: "string",
    engine: "string",
    engineVersion: "string",
    multiRegionParameterGroupName: "string",
    numShards: 0,
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    tlsEnabled: false,
    updateStrategy: "string",
});
type: aws:memorydb:MultiRegionCluster
properties:
    description: string
    engine: string
    engineVersion: string
    multiRegionClusterNameSuffix: string
    multiRegionParameterGroupName: string
    nodeType: string
    numShards: 0
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
    tlsEnabled: false
    updateStrategy: string
MultiRegionCluster 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 MultiRegionCluster resource accepts the following input properties:
- MultiRegion stringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- NodeType string
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- Description string
- description for the multi-region cluster.
- Engine string
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- EngineVersion string
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- MultiRegion stringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- NumShards int
- The number of shards for the multi-region cluster.
- 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.
- Timeouts
MultiRegion Cluster Timeouts 
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster.
- UpdateStrategy string
- MultiRegion stringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- NodeType string
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- Description string
- description for the multi-region cluster.
- Engine string
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- EngineVersion string
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- MultiRegion stringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- NumShards int
- The number of shards for the multi-region cluster.
- 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.
- Timeouts
MultiRegion Cluster Timeouts Args 
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster.
- UpdateStrategy string
- multiRegion StringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- nodeType String
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- description String
- description for the multi-region cluster.
- engine String
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engineVersion String
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multiRegion StringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- numShards Integer
- The number of shards for the multi-region cluster.
- 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.
- timeouts
MultiRegion Cluster Timeouts 
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster.
- updateStrategy String
- multiRegion stringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- nodeType string
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- description string
- description for the multi-region cluster.
- engine string
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engineVersion string
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multiRegion stringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- numShards number
- The number of shards for the multi-region cluster.
- {[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.
- timeouts
MultiRegion Cluster Timeouts 
- tlsEnabled boolean
- A flag to enable in-transit encryption on the cluster.
- updateStrategy string
- multi_region_ strcluster_ name_ suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- node_type str
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- description str
- description for the multi-region cluster.
- engine str
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engine_version str
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multi_region_ strparameter_ group_ name 
- The name of the multi-region parameter group to be associated with the cluster.
- num_shards int
- The number of shards for the multi-region cluster.
- 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.
- timeouts
MultiRegion Cluster Timeouts Args 
- tls_enabled bool
- A flag to enable in-transit encryption on the cluster.
- update_strategy str
- multiRegion StringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- nodeType String
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- description String
- description for the multi-region cluster.
- engine String
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engineVersion String
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multiRegion StringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- numShards Number
- The number of shards for the multi-region cluster.
- 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.
- timeouts Property Map
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster.
- updateStrategy String
Outputs
All input properties are implicitly available as output properties. Additionally, the MultiRegionCluster resource produces the following output properties:
- Arn string
- The ARN of the multi-region cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- MultiRegion stringCluster Name 
- The name of the multi-region cluster.
- Status string
- 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 multi-region cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- MultiRegion stringCluster Name 
- The name of the multi-region cluster.
- Status string
- 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 multi-region cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- multiRegion StringCluster Name 
- The name of the multi-region cluster.
- status String
- 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 multi-region cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- multiRegion stringCluster Name 
- The name of the multi-region cluster.
- status string
- {[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 multi-region cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- multi_region_ strcluster_ name 
- The name of the multi-region cluster.
- status str
- 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 multi-region cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- multiRegion StringCluster Name 
- The name of the multi-region cluster.
- status String
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing MultiRegionCluster Resource
Get an existing MultiRegionCluster 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?: MultiRegionClusterState, opts?: CustomResourceOptions): MultiRegionCluster@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        description: Optional[str] = None,
        engine: Optional[str] = None,
        engine_version: Optional[str] = None,
        multi_region_cluster_name: Optional[str] = None,
        multi_region_cluster_name_suffix: Optional[str] = None,
        multi_region_parameter_group_name: Optional[str] = None,
        node_type: Optional[str] = None,
        num_shards: Optional[int] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        timeouts: Optional[MultiRegionClusterTimeoutsArgs] = None,
        tls_enabled: Optional[bool] = None,
        update_strategy: Optional[str] = None) -> MultiRegionClusterfunc GetMultiRegionCluster(ctx *Context, name string, id IDInput, state *MultiRegionClusterState, opts ...ResourceOption) (*MultiRegionCluster, error)public static MultiRegionCluster Get(string name, Input<string> id, MultiRegionClusterState? state, CustomResourceOptions? opts = null)public static MultiRegionCluster get(String name, Output<String> id, MultiRegionClusterState state, CustomResourceOptions options)resources:  _:    type: aws:memorydb:MultiRegionCluster    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.
- Arn string
- The ARN of the multi-region cluster.
- Description string
- description for the multi-region cluster.
- Engine string
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- EngineVersion string
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- MultiRegion stringCluster Name 
- The name of the multi-region cluster.
- MultiRegion stringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- MultiRegion stringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- NodeType string
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- NumShards int
- The number of shards for the multi-region cluster.
- Status string
- 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.
- Timeouts
MultiRegion Cluster Timeouts 
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster.
- UpdateStrategy string
- Arn string
- The ARN of the multi-region cluster.
- Description string
- description for the multi-region cluster.
- Engine string
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- EngineVersion string
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- MultiRegion stringCluster Name 
- The name of the multi-region cluster.
- MultiRegion stringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- MultiRegion stringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- NodeType string
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- NumShards int
- The number of shards for the multi-region cluster.
- Status string
- 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.
- Timeouts
MultiRegion Cluster Timeouts Args 
- TlsEnabled bool
- A flag to enable in-transit encryption on the cluster.
- UpdateStrategy string
- arn String
- The ARN of the multi-region cluster.
- description String
- description for the multi-region cluster.
- engine String
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engineVersion String
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multiRegion StringCluster Name 
- The name of the multi-region cluster.
- multiRegion StringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- multiRegion StringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- nodeType String
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- numShards Integer
- The number of shards for the multi-region cluster.
- status String
- 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.
- timeouts
MultiRegion Cluster Timeouts 
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster.
- updateStrategy String
- arn string
- The ARN of the multi-region cluster.
- description string
- description for the multi-region cluster.
- engine string
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engineVersion string
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multiRegion stringCluster Name 
- The name of the multi-region cluster.
- multiRegion stringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- multiRegion stringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- nodeType string
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- numShards number
- The number of shards for the multi-region cluster.
- status string
- {[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.
- timeouts
MultiRegion Cluster Timeouts 
- tlsEnabled boolean
- A flag to enable in-transit encryption on the cluster.
- updateStrategy string
- arn str
- The ARN of the multi-region cluster.
- description str
- description for the multi-region cluster.
- engine str
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engine_version str
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multi_region_ strcluster_ name 
- The name of the multi-region cluster.
- multi_region_ strcluster_ name_ suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- multi_region_ strparameter_ group_ name 
- The name of the multi-region parameter group to be associated with the cluster.
- node_type str
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- num_shards int
- The number of shards for the multi-region cluster.
- status str
- 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.
- timeouts
MultiRegion Cluster Timeouts Args 
- tls_enabled bool
- A flag to enable in-transit encryption on the cluster.
- update_strategy str
- arn String
- The ARN of the multi-region cluster.
- description String
- description for the multi-region cluster.
- engine String
- The name of the engine to be used for the multi-region cluster. Valid values are redisandvalkey.
- engineVersion String
- The version of the engine to be used for the multi-region cluster. Downgrades are not supported.
- multiRegion StringCluster Name 
- The name of the multi-region cluster.
- multiRegion StringCluster Name Suffix 
- A suffix to be added to the multi-region cluster name. An AWS generated prefix is automatically applied to the multi-region cluster name when it is created.
- multiRegion StringParameter Group Name 
- The name of the multi-region parameter group to be associated with the cluster.
- nodeType String
- The node type to be used for the multi-region cluster. - The following arguments are optional: 
- numShards Number
- The number of shards for the multi-region cluster.
- status String
- 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.
- timeouts Property Map
- tlsEnabled Boolean
- A flag to enable in-transit encryption on the cluster.
- updateStrategy String
Supporting Types
MultiRegionClusterTimeouts, MultiRegionClusterTimeoutsArgs        
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import, import a cluster using the multi_region_cluster_name. For example:
$ pulumi import aws:memorydb/multiRegionCluster:MultiRegionCluster example virxk-example
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.