Skip to content
v2.278.0

ClusterConfigurationProperty Struct ​

Example ​

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 clusterConfigurationProperty: memorydb.CfnSnapshot.ClusterConfigurationProperty = {
  description: 'description',
  engine: 'engine',
  engineVersion: 'engineVersion',
  maintenanceWindow: 'maintenanceWindow',
  name: 'name',
  nodeType: 'nodeType',
  numShards: 123,
  parameterGroupName: 'parameterGroupName',
  port: 123,
  snapshotRetentionLimit: 123,
  snapshotWindow: 'snapshotWindow',
  subnetGroupName: 'subnetGroupName',
  topicArn: 'topicArn',
  vpcId: 'vpcId',
};
python
# 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

cluster_configuration_property = memorydb.CfnSnapshot.ClusterConfigurationProperty(
    description="description",
    engine="engine",
    engine_version="engineVersion",
    maintenance_window="maintenanceWindow",
    name="name",
    node_type="nodeType",
    num_shards=123,
    parameter_group_name="parameterGroupName",
    port=123,
    snapshot_retention_limit=123,
    snapshot_window="snapshotWindow",
    subnet_group_name="subnetGroupName",
    topic_arn="topicArn",
    vpc_id="vpcId"
)
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.*;

ClusterConfigurationProperty clusterConfigurationProperty = ClusterConfigurationProperty.builder()
        .description("description")
        .engine("engine")
        .engineVersion("engineVersion")
        .maintenanceWindow("maintenanceWindow")
        .name("name")
        .nodeType("nodeType")
        .numShards(123)
        .parameterGroupName("parameterGroupName")
        .port(123)
        .snapshotRetentionLimit(123)
        .snapshotWindow("snapshotWindow")
        .subnetGroupName("subnetGroupName")
        .topicArn("topicArn")
        .vpcId("vpcId")
        .build();
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 clusterConfigurationProperty = new ClusterConfigurationProperty {
    Description = "description",
    Engine = "engine",
    EngineVersion = "engineVersion",
    MaintenanceWindow = "maintenanceWindow",
    Name = "name",
    NodeType = "nodeType",
    NumShards = 123,
    ParameterGroupName = "parameterGroupName",
    Port = 123,
    SnapshotRetentionLimit = 123,
    SnapshotWindow = "snapshotWindow",
    SubnetGroupName = "subnetGroupName",
    TopicArn = "topicArn",
    VpcId = "vpcId"
};
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"

clusterConfigurationProperty := &ClusterConfigurationProperty{
	Description: jsii.String("description"),
	Engine: jsii.String("engine"),
	EngineVersion: jsii.String("engineVersion"),
	MaintenanceWindow: jsii.String("maintenanceWindow"),
	Name: jsii.String("name"),
	NodeType: jsii.String("nodeType"),
	NumShards: jsii.Number(123),
	ParameterGroupName: jsii.String("parameterGroupName"),
	Port: jsii.Number(123),
	SnapshotRetentionLimit: jsii.Number(123),
	SnapshotWindow: jsii.String("snapshotWindow"),
	SubnetGroupName: jsii.String("subnetGroupName"),
	TopicArn: jsii.String("topicArn"),
	VpcId: jsii.String("vpcId"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the cluster configuration.
engineoptionalstringengineoptionalstrengineoptionalStringEngineoptionalstringEngineoptional*string #
The name of the engine used by the cluster configuration.
engineVersionoptionalstringengine_versionoptionalstrengineVersionoptionalStringEngineVersionoptionalstringEngineVersionoptional*string #
The Redis OSS engine version used by the cluster.
maintenanceWindowoptionalstringmaintenance_windowoptionalstrmaintenanceWindowoptionalStringMaintenanceWindowoptionalstringMaintenanceWindowoptional*string #
The specified maintenance window for the cluster.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the cluster.
nodeTypeoptionalstringnode_typeoptionalstrnodeTypeoptionalStringNodeTypeoptionalstringNodeTypeoptional*string #
The node type used for the cluster.
numShardsoptionalnumbernum_shardsoptionalint | floatnumShardsoptionalNumberNumShardsoptionaldoubleNumShardsoptional*float64 #
The number of shards in the cluster.
parameterGroupNameoptionalstringparameter_group_nameoptionalstrparameterGroupNameoptionalStringParameterGroupNameoptionalstringParameterGroupNameoptional*string #
The name of parameter group used by the cluster.
portoptionalnumberportoptionalint | floatportoptionalNumberPortoptionaldoublePortoptional*float64 #
The port used by the cluster.
snapshotRetentionLimitoptionalnumbersnapshot_retention_limitoptionalint | floatsnapshotRetentionLimitoptionalNumberSnapshotRetentionLimitoptionaldoubleSnapshotRetentionLimitoptional*float64 #
The snapshot retention limit set by the cluster.
snapshotWindowoptionalstringsnapshot_windowoptionalstrsnapshotWindowoptionalStringSnapshotWindowoptionalstringSnapshotWindowoptional*string #
The snapshot window set by the cluster.
subnetGroupNameoptionalstringsubnet_group_nameoptionalstrsubnetGroupNameoptionalStringSubnetGroupNameoptionalstringSubnetGroupNameoptional*string #
The name of the subnet group used by the cluster.
topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string #
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster.
vpcIdoptionalstringvpc_idoptionalstrvpcIdoptionalStringVpcIdoptionalstringVpcIdoptional*string #
The ID of the VPC the cluster belongs to.