interface ResizeClusterMessageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Redshift.CfnScheduledAction.ResizeClusterMessageProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsredshift#CfnScheduledAction_ResizeClusterMessageProperty |
Java | software.amazon.awscdk.services.redshift.CfnScheduledAction.ResizeClusterMessageProperty |
Python | aws_cdk.aws_redshift.CfnScheduledAction.ResizeClusterMessageProperty |
TypeScript | aws-cdk-lib » aws_redshift » CfnScheduledAction » ResizeClusterMessageProperty |
Describes a resize cluster operation.
For example, a scheduled action to run the ResizeCluster
API operation.
Example
// 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,
};
Properties
Name | Type | Description |
---|---|---|
cluster | string | The unique identifier for the cluster to resize. |
classic? | boolean | IResolvable | A boolean value indicating whether the resize operation is using the classic resize process. |
cluster | string | The new cluster type for the specified cluster. |
node | string | The new node type for the nodes you are adding. |
number | number | The new number of nodes for the cluster. |
clusterIdentifier
Type:
string
The unique identifier for the cluster to resize.
classic?
Type:
boolean |
IResolvable
(optional)
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.
clusterType?
Type:
string
(optional)
The new cluster type for the specified cluster.
nodeType?
Type:
string
(optional)
The new node type for the nodes you are adding.
If not specified, the cluster's current node type is used.
numberOfNodes?
Type:
number
(optional)
The new number of nodes for the cluster.
If not specified, the cluster's current number of nodes is used.