AWS v6.72.0 published on Tuesday, Mar 11, 2025 by Pulumi
aws.redshift.getOrderableCluster
Explore with Pulumi AI
Information about Redshift Orderable Clusters and valid parameter combinations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.redshift.getOrderableCluster({
    clusterType: "multi-node",
    preferredNodeTypes: [
        "dc2.large",
        "ds2.xlarge",
    ],
});
import pulumi
import pulumi_aws as aws
test = aws.redshift.get_orderable_cluster(cluster_type="multi-node",
    preferred_node_types=[
        "dc2.large",
        "ds2.xlarge",
    ])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshift"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshift.GetOrderableCluster(ctx, &redshift.GetOrderableClusterArgs{
			ClusterType: pulumi.StringRef("multi-node"),
			PreferredNodeTypes: []string{
				"dc2.large",
				"ds2.xlarge",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.RedShift.GetOrderableCluster.Invoke(new()
    {
        ClusterType = "multi-node",
        PreferredNodeTypes = new[]
        {
            "dc2.large",
            "ds2.xlarge",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.RedshiftFunctions;
import com.pulumi.aws.redshift.inputs.GetOrderableClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
            .clusterType("multi-node")
            .preferredNodeTypes(            
                "dc2.large",
                "ds2.xlarge")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:redshift:getOrderableCluster
      arguments:
        clusterType: multi-node
        preferredNodeTypes:
          - dc2.large
          - ds2.xlarge
Using getOrderableCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrderableCluster(args: GetOrderableClusterArgs, opts?: InvokeOptions): Promise<GetOrderableClusterResult>
function getOrderableClusterOutput(args: GetOrderableClusterOutputArgs, opts?: InvokeOptions): Output<GetOrderableClusterResult>def get_orderable_cluster(cluster_type: Optional[str] = None,
                          cluster_version: Optional[str] = None,
                          node_type: Optional[str] = None,
                          preferred_node_types: Optional[Sequence[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> GetOrderableClusterResult
def get_orderable_cluster_output(cluster_type: Optional[pulumi.Input[str]] = None,
                          cluster_version: Optional[pulumi.Input[str]] = None,
                          node_type: Optional[pulumi.Input[str]] = None,
                          preferred_node_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetOrderableClusterResult]func GetOrderableCluster(ctx *Context, args *GetOrderableClusterArgs, opts ...InvokeOption) (*GetOrderableClusterResult, error)
func GetOrderableClusterOutput(ctx *Context, args *GetOrderableClusterOutputArgs, opts ...InvokeOption) GetOrderableClusterResultOutput> Note: This function is named GetOrderableCluster in the Go SDK.
public static class GetOrderableCluster 
{
    public static Task<GetOrderableClusterResult> InvokeAsync(GetOrderableClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetOrderableClusterResult> Invoke(GetOrderableClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrderableClusterResult> getOrderableCluster(GetOrderableClusterArgs args, InvokeOptions options)
public static Output<GetOrderableClusterResult> getOrderableCluster(GetOrderableClusterArgs args, InvokeOptions options)
fn::invoke:
  function: aws:redshift/getOrderableCluster:getOrderableCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterType string
- Reshift Cluster typeE.g., multi-nodeorsingle-node
- ClusterVersion string
- Redshift Cluster versionE.g., 1.0
- NodeType string
- Redshift Cluster node typeE.g., dc2.8xlarge
- PreferredNode List<string>Types 
- Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
- ClusterType string
- Reshift Cluster typeE.g., multi-nodeorsingle-node
- ClusterVersion string
- Redshift Cluster versionE.g., 1.0
- NodeType string
- Redshift Cluster node typeE.g., dc2.8xlarge
- PreferredNode []stringTypes 
- Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
- clusterType String
- Reshift Cluster typeE.g., multi-nodeorsingle-node
- clusterVersion String
- Redshift Cluster versionE.g., 1.0
- nodeType String
- Redshift Cluster node typeE.g., dc2.8xlarge
- preferredNode List<String>Types 
- Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
- clusterType string
- Reshift Cluster typeE.g., multi-nodeorsingle-node
- clusterVersion string
- Redshift Cluster versionE.g., 1.0
- nodeType string
- Redshift Cluster node typeE.g., dc2.8xlarge
- preferredNode string[]Types 
- Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
- cluster_type str
- Reshift Cluster typeE.g., multi-nodeorsingle-node
- cluster_version str
- Redshift Cluster versionE.g., 1.0
- node_type str
- Redshift Cluster node typeE.g., dc2.8xlarge
- preferred_node_ Sequence[str]types 
- Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
- clusterType String
- Reshift Cluster typeE.g., multi-nodeorsingle-node
- clusterVersion String
- Redshift Cluster versionE.g., 1.0
- nodeType String
- Redshift Cluster node typeE.g., dc2.8xlarge
- preferredNode List<String>Types 
- Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
getOrderableCluster Result
The following output properties are available:
- AvailabilityZones List<string>
- List of Availability Zone names where the Redshift Cluster is available.
- ClusterType string
- ClusterVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- NodeType string
- PreferredNode List<string>Types 
- AvailabilityZones []string
- List of Availability Zone names where the Redshift Cluster is available.
- ClusterType string
- ClusterVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- NodeType string
- PreferredNode []stringTypes 
- availabilityZones List<String>
- List of Availability Zone names where the Redshift Cluster is available.
- clusterType String
- clusterVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- nodeType String
- preferredNode List<String>Types 
- availabilityZones string[]
- List of Availability Zone names where the Redshift Cluster is available.
- clusterType string
- clusterVersion string
- id string
- The provider-assigned unique ID for this managed resource.
- nodeType string
- preferredNode string[]Types 
- availability_zones Sequence[str]
- List of Availability Zone names where the Redshift Cluster is available.
- cluster_type str
- cluster_version str
- id str
- The provider-assigned unique ID for this managed resource.
- node_type str
- preferred_node_ Sequence[str]types 
- availabilityZones List<String>
- List of Availability Zone names where the Redshift Cluster is available.
- clusterType String
- clusterVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- nodeType String
- preferredNode List<String>Types 
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.