ResizeClusterMessageProperty Struct
Describes a resize cluster operation.
For example, a scheduled action to run the ResizeCluster API operation.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as redshift } from 'aws-cdk-lib';
const resizeClusterMessageProperty: redshift.CfnScheduledAction.ResizeClusterMessageProperty = {
clusterIdentifier: 'clusterIdentifier',
// the properties below are optional
classic: false,
clusterType: 'clusterType',
nodeType: 'nodeType',
numberOfNodes: 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_redshift as redshift
resize_cluster_message_property = redshift.CfnScheduledAction.ResizeClusterMessageProperty(
cluster_identifier="clusterIdentifier",
# the properties below are optional
classic=False,
cluster_type="clusterType",
node_type="nodeType",
number_of_nodes=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.redshift.*;
ResizeClusterMessageProperty resizeClusterMessageProperty = ResizeClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
// the properties below are optional
.classic(false)
.clusterType("clusterType")
.nodeType("nodeType")
.numberOfNodes(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.Redshift;
var resizeClusterMessageProperty = new ResizeClusterMessageProperty {
ClusterIdentifier = "clusterIdentifier",
// the properties below are optional
Classic = false,
ClusterType = "clusterType",
NodeType = "nodeType",
NumberOfNodes = 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"
resizeClusterMessageProperty := &ResizeClusterMessageProperty{
ClusterIdentifier: jsii.String("clusterIdentifier"),
// the properties below are optional
Classic: jsii.Boolean(false),
ClusterType: jsii.String("clusterType"),
NodeType: jsii.String("nodeType"),
NumberOfNodes: jsii.Number(123),
}
Properties
classicoptionalboolean | IResolvableclassicoptionaltyping.Union[bool, IResolvable]classicoptionalBooleanClassicoptionalboolClassicoptionalinterface{} #A boolean value indicating whether the resize operation is using the classic resize process.
If you don't provide this parameter or set the value to false , the resize type is elastic.
clusterIdentifierstringcluster_identifierstrclusterIdentifierStringClusterIdentifierstringClusterIdentifier*string required #The unique identifier for the cluster to resize.
clusterTypeoptionalstringcluster_typeoptionalstrclusterTypeoptionalStringClusterTypeoptionalstringClusterTypeoptional*string #The new cluster type for the specified cluster.
nodeTypeoptionalstringnode_typeoptionalstrnodeTypeoptionalStringNodeTypeoptionalstringNodeTypeoptional*string #The new node type for the nodes you are adding.
If not specified, the cluster's current node type is used.
numberOfNodesoptionalnumbernumber_of_nodesoptionalint | floatnumberOfNodesoptionalNumberNumberOfNodesoptionaldoubleNumberOfNodesoptional*float64 #The new number of nodes for the cluster.
If not specified, the cluster's current number of nodes is used.