UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

108 lines (107 loc) 3.58 kB
import * as pulumi from "@pulumi/pulumi"; /** * Information about Redshift Orderable Clusters and valid parameter combinations. * * ## Example Usage * * ```typescript * 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", * ], * }); * ``` */ export declare function getOrderableCluster(args?: GetOrderableClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetOrderableClusterResult>; /** * A collection of arguments for invoking getOrderableCluster. */ export interface GetOrderableClusterArgs { /** * Reshift Cluster typeE.g., `multi-node` or `single-node` */ clusterType?: string; /** * Redshift Cluster versionE.g., `1.0` */ clusterVersion?: string; /** * Redshift Cluster node typeE.g., `dc2.8xlarge` */ nodeType?: string; /** * 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. */ preferredNodeTypes?: string[]; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getOrderableCluster. */ export interface GetOrderableClusterResult { /** * List of Availability Zone names where the Redshift Cluster is available. */ readonly availabilityZones: string[]; readonly clusterType: string; readonly clusterVersion: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nodeType: string; readonly preferredNodeTypes?: string[]; readonly region: string; } /** * Information about Redshift Orderable Clusters and valid parameter combinations. * * ## Example Usage * * ```typescript * 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", * ], * }); * ``` */ export declare function getOrderableClusterOutput(args?: GetOrderableClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrderableClusterResult>; /** * A collection of arguments for invoking getOrderableCluster. */ export interface GetOrderableClusterOutputArgs { /** * Reshift Cluster typeE.g., `multi-node` or `single-node` */ clusterType?: pulumi.Input<string>; /** * Redshift Cluster versionE.g., `1.0` */ clusterVersion?: pulumi.Input<string>; /** * Redshift Cluster node typeE.g., `dc2.8xlarge` */ nodeType?: pulumi.Input<string>; /** * 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. */ preferredNodeTypes?: pulumi.Input<pulumi.Input<string>[]>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; }