package awsredshift // 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 "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), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html // type CfnScheduledAction_ResizeClusterMessageProperty struct { // The unique identifier for the cluster to resize. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-clusteridentifier // ClusterIdentifier *string `field:"required" json:"clusterIdentifier" yaml:"clusterIdentifier"` // 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. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-classic // Classic interface{} `field:"optional" json:"classic" yaml:"classic"` // The new cluster type for the specified cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-clustertype // ClusterType *string `field:"optional" json:"clusterType" yaml:"clusterType"` // The new node type for the nodes you are adding. // // If not specified, the cluster's current node type is used. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-nodetype // NodeType *string `field:"optional" json:"nodeType" yaml:"nodeType"` // The new number of nodes for the cluster. // // If not specified, the cluster's current number of nodes is used. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-numberofnodes // NumberOfNodes *float64 `field:"optional" json:"numberOfNodes" yaml:"numberOfNodes"` }