aws-native logo
AWS Native v0.49.0, Jan 26 23

aws-native.redshiftserverless.getWorkgroup

Definition of AWS::RedshiftServerless::Workgroup Resource Type

Using getWorkgroup

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 getWorkgroup(args: GetWorkgroupArgs, opts?: InvokeOptions): Promise<GetWorkgroupResult>
function getWorkgroupOutput(args: GetWorkgroupOutputArgs, opts?: InvokeOptions): Output<GetWorkgroupResult>
def get_workgroup(workgroup_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetWorkgroupResult
def get_workgroup_output(workgroup_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetWorkgroupResult]
func LookupWorkgroup(ctx *Context, args *LookupWorkgroupArgs, opts ...InvokeOption) (*LookupWorkgroupResult, error)
func LookupWorkgroupOutput(ctx *Context, args *LookupWorkgroupOutputArgs, opts ...InvokeOption) LookupWorkgroupResultOutput

> Note: This function is named LookupWorkgroup in the Go SDK.

public static class GetWorkgroup 
{
    public static Task<GetWorkgroupResult> InvokeAsync(GetWorkgroupArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkgroupResult> Invoke(GetWorkgroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkgroupResult> getWorkgroup(GetWorkgroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:redshiftserverless:getWorkgroup
  arguments:
    # arguments dictionary

The following arguments are supported:

getWorkgroup Result

The following output properties are available:

Supporting Types

Workgroup

WorkgroupConfigParameter

WorkgroupEndpoint

WorkgroupNetworkInterface

WorkgroupStatus

WorkgroupVpcEndpoint

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0