Skip to content
v2.278.0

ClusterConfigurationProperty ​

Struct External

The cluster configuration of the resource at the time of backup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_timestream as timestream } from 'aws-cdk-lib';
const clusterConfigurationProperty: timestream.CfnInfluxDBBackup.ClusterConfigurationProperty = {
  dedicatedCompactor: false,
  ingestQueryInstances: 123,
  queryOnlyInstances: 123,
};
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_timestream as timestream

cluster_configuration_property = timestream.CfnInfluxDBBackup.ClusterConfigurationProperty(
    dedicated_compactor=False,
    ingest_query_instances=123,
    query_only_instances=123
)
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.timestream.*;

ClusterConfigurationProperty clusterConfigurationProperty = ClusterConfigurationProperty.builder()
        .dedicatedCompactor(false)
        .ingestQueryInstances(123)
        .queryOnlyInstances(123)
        .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.Timestream;

var clusterConfigurationProperty = new ClusterConfigurationProperty {
    DedicatedCompactor = false,
    IngestQueryInstances = 123,
    QueryOnlyInstances = 123
};
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{
	DedicatedCompactor: jsii.Boolean(false),
	IngestQueryInstances: jsii.Number(123),
	QueryOnlyInstances: jsii.Number(123),
}

Properties ​

dedicatedCompactoroptionalboolean | IResolvablededicated_compactoroptionaltyping.Union[bool, IResolvable]dedicatedCompactoroptionalBooleanDedicatedCompactoroptionalboolDedicatedCompactoroptionalinterface{} #
Indicates if the compactor instance is a standalone instance or not.
ingestQueryInstancesoptionalnumberingest_query_instancesoptionalint | floatingestQueryInstancesoptionalNumberIngestQueryInstancesoptionaldoubleIngestQueryInstancesoptional*float64 #
The number of ingest and query instances in the cluster.
queryOnlyInstancesoptionalnumberquery_only_instancesoptionalint | floatqueryOnlyInstancesoptionalNumberQueryOnlyInstancesoptionaldoubleQueryOnlyInstancesoptional*float64 #
The number of query-only instances in the cluster.