Class CfnScheduledAction.ResizeClusterMessageProperty
Describes a resize cluster operation.
Inheritance
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResizeClusterMessageProperty : Object, CfnScheduledAction.IResizeClusterMessageProperty
Syntax (vb)
Public Class ResizeClusterMessageProperty
Inherits Object
Implements CfnScheduledAction.IResizeClusterMessageProperty
Remarks
For example, a scheduled action to run the ResizeCluster
API operation.
ExampleMetadata: fixture=_generated
Examples
// 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
};
Synopsis
Constructors
ResizeClusterMessageProperty() |
Properties
Classic | A boolean value indicating whether the resize operation is using the classic resize process. |
ClusterIdentifier | The unique identifier for the cluster to resize. |
ClusterType | The new cluster type for the specified cluster. |
NodeType | The new node type for the nodes you are adding. |
NumberOfNodes | The new number of nodes for the cluster. |
Constructors
ResizeClusterMessageProperty()
public ResizeClusterMessageProperty()
Properties
Classic
A boolean value indicating whether the resize operation is using the classic resize process.
public object Classic { get; set; }
Property Value
System.Object
Remarks
If you don't provide this parameter or set the value to false
, the resize type is elastic.
ClusterIdentifier
The unique identifier for the cluster to resize.
public string ClusterIdentifier { get; set; }
Property Value
System.String
Remarks
ClusterType
The new cluster type for the specified cluster.
public string ClusterType { get; set; }
Property Value
System.String
Remarks
NodeType
The new node type for the nodes you are adding.
public string NodeType { get; set; }
Property Value
System.String
Remarks
If not specified, the cluster's current node type is used.
NumberOfNodes
The new number of nodes for the cluster.
public Nullable<double> NumberOfNodes { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
If not specified, the cluster's current number of nodes is used.