UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

61 lines (60 loc) 2.26 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Definition of AWS::RedshiftServerless::Workgroup Resource Type */ export declare function getWorkgroup(args: GetWorkgroupArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkgroupResult>; export interface GetWorkgroupArgs { /** * The name of the workgroup. */ workgroupName: string; } export interface GetWorkgroupResult { /** * The base compute capacity of the workgroup in Redshift Processing Units (RPUs). */ readonly baseCapacity?: number; /** * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. */ readonly enhancedVpcRouting?: boolean; /** * The max compute capacity of the workgroup in Redshift Processing Units (RPUs). */ readonly maxCapacity?: number; /** * The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439. */ readonly port?: number; /** * A property that represents the price performance target settings for the workgroup. */ readonly pricePerformanceTarget?: outputs.redshiftserverless.WorkgroupPerformanceTarget; /** * A value that specifies whether the workgroup can be accessible from a public network. */ readonly publiclyAccessible?: boolean; /** * The map of the key-value pairs used to tag the workgroup. */ readonly tags?: outputs.Tag[]; /** * An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track. */ readonly trackName?: string; /** * Definition for workgroup resource */ readonly workgroup?: outputs.redshiftserverless.Workgroup; } /** * Definition of AWS::RedshiftServerless::Workgroup Resource Type */ export declare function getWorkgroupOutput(args: GetWorkgroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkgroupResult>; export interface GetWorkgroupOutputArgs { /** * The name of the workgroup. */ workgroupName: pulumi.Input<string>; }