# CfnMultiRegionClusterProps

Properties for defining a `CfnMultiRegionCluster`.

Used as props by: [CfnMultiRegionCluster](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_memorydb.CfnMultiRegionCluster.html)

- Source: Generated at build time
- Type last changed: v2.173.0 · 12 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_memorydb as memorydb } from 'aws-cdk-lib';
const cfnMultiRegionClusterProps: memorydb.CfnMultiRegionClusterProps = {
  nodeType: 'nodeType',

  // the properties below are optional
  description: 'description',
  engine: 'engine',
  engineVersion: 'engineVersion',
  multiRegionClusterNameSuffix: 'multiRegionClusterNameSuffix',
  multiRegionParameterGroupName: 'multiRegionParameterGroupName',
  numShards: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  tlsEnabled: false,
  updateStrategy: 'updateStrategy',
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_memorydb as memorydb

cfn_multi_region_cluster_props = memorydb.CfnMultiRegionClusterProps(
    node_type="nodeType",

    # the properties below are optional
    description="description",
    engine="engine",
    engine_version="engineVersion",
    multi_region_cluster_name_suffix="multiRegionClusterNameSuffix",
    multi_region_parameter_group_name="multiRegionParameterGroupName",
    num_shards=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    tls_enabled=False,
    update_strategy="updateStrategy"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.memorydb.*;

CfnMultiRegionClusterProps cfnMultiRegionClusterProps = CfnMultiRegionClusterProps.builder()
        .nodeType("nodeType")

        // the properties below are optional
        .description("description")
        .engine("engine")
        .engineVersion("engineVersion")
        .multiRegionClusterNameSuffix("multiRegionClusterNameSuffix")
        .multiRegionParameterGroupName("multiRegionParameterGroupName")
        .numShards(123)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .tlsEnabled(false)
        .updateStrategy("updateStrategy")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MemoryDB;

var cfnMultiRegionClusterProps = new CfnMultiRegionClusterProps {
    NodeType = "nodeType",

    // the properties below are optional
    Description = "description",
    Engine = "engine",
    EngineVersion = "engineVersion",
    MultiRegionClusterNameSuffix = "multiRegionClusterNameSuffix",
    MultiRegionParameterGroupName = "multiRegionParameterGroupName",
    NumShards = 123,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    TlsEnabled = false,
    UpdateStrategy = "updateStrategy"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnMultiRegionClusterProps := &CfnMultiRegionClusterProps{
	NodeType: jsii.String("nodeType"),

	// the properties below are optional
	Description: jsii.String("description"),
	Engine: jsii.String("engine"),
	EngineVersion: jsii.String("engineVersion"),
	MultiRegionClusterNameSuffix: jsii.String("multiRegionClusterNameSuffix"),
	MultiRegionParameterGroupName: jsii.String("multiRegionParameterGroupName"),
	NumShards: jsii.Number(123),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TlsEnabled: jsii.Boolean(false),
	UpdateStrategy: jsii.String("updateStrategy"),
}
```

## Properties

- `description`: string — The description of the multi-Region cluster.

- `engine`: string — The name of the engine used by the multi-Region cluster.

- `engineVersion`: string — The version of the engine used by the multi-Region cluster.

- `multiRegionClusterNameSuffix`: string — A suffix to be added to the Multi-Region cluster name.

  Amazon MemoryDB automatically applies a prefix to the Multi-Region cluster Name when it is created. Each Amazon Region has its own prefix. For instance, a Multi-Region cluster Name created in the US-West-1 region will begin with "virxk", along with the suffix name you provide. The suffix guarantees uniqueness of the Multi-Region cluster name across multiple regions.

- `multiRegionParameterGroupName`: string — The name of the multi-Region parameter group associated with the cluster.

- `nodeType`: string (required) — The node type used by the multi-Region cluster.

- `numShards`: number — The number of shards in the multi-Region cluster.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of tags to be applied to the multi-Region cluster.

- `tlsEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indiciates if the multi-Region cluster is TLS enabled.

- `updateStrategy`: string — The strategy to use for the update operation.

  Supported values are "coordinated" or "uncoordinated".
