AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getWorkGroup

Resource schema for AWS::Athena::WorkGroup

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_work_group(name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetWorkGroupResult
def get_work_group_output(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:athena:getWorkGroup
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

The workGroup name.

Name string

The workGroup name.

name String

The workGroup name.

name string

The workGroup name.

name str

The workGroup name.

name String

The workGroup name.

getWorkGroup Result

The following output properties are available:

CreationTime string

The date and time the workgroup was created.

Description string

The workgroup description.

RecursiveDeleteOption bool

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

State Pulumi.AwsNative.Athena.WorkGroupState

The state of the workgroup: ENABLED or DISABLED.

Tags List<Pulumi.AwsNative.Athena.Outputs.WorkGroupTag>

One or more tags, separated by commas, that you want to attach to the workgroup as you create it

WorkGroupConfiguration Pulumi.AwsNative.Athena.Outputs.WorkGroupConfiguration

The workgroup configuration

CreationTime string

The date and time the workgroup was created.

Description string

The workgroup description.

RecursiveDeleteOption bool

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

State WorkGroupStateEnum

The state of the workgroup: ENABLED or DISABLED.

Tags []WorkGroupTag

One or more tags, separated by commas, that you want to attach to the workgroup as you create it

WorkGroupConfiguration WorkGroupConfiguration

The workgroup configuration

creationTime String

The date and time the workgroup was created.

description String

The workgroup description.

recursiveDeleteOption Boolean

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

state WorkGroupState

The state of the workgroup: ENABLED or DISABLED.

tags List<WorkGroupTag>

One or more tags, separated by commas, that you want to attach to the workgroup as you create it

workGroupConfiguration WorkGroupConfiguration

The workgroup configuration

creationTime string

The date and time the workgroup was created.

description string

The workgroup description.

recursiveDeleteOption boolean

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

state WorkGroupState

The state of the workgroup: ENABLED or DISABLED.

tags WorkGroupTag[]

One or more tags, separated by commas, that you want to attach to the workgroup as you create it

workGroupConfiguration WorkGroupConfiguration

The workgroup configuration

creation_time str

The date and time the workgroup was created.

description str

The workgroup description.

recursive_delete_option bool

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

state WorkGroupState

The state of the workgroup: ENABLED or DISABLED.

tags Sequence[WorkGroupTag]

One or more tags, separated by commas, that you want to attach to the workgroup as you create it

work_group_configuration WorkGroupConfiguration

The workgroup configuration

creationTime String

The date and time the workgroup was created.

description String

The workgroup description.

recursiveDeleteOption Boolean

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

state "ENABLED" | "DISABLED"

The state of the workgroup: ENABLED or DISABLED.

tags List<Property Map>

One or more tags, separated by commas, that you want to attach to the workgroup as you create it

workGroupConfiguration Property Map

The workgroup configuration

Supporting Types

WorkGroupConfiguration

WorkGroupEncryptionConfiguration

WorkGroupEncryptionOption

WorkGroupEngineVersion

WorkGroupResultConfiguration

WorkGroupState

WorkGroupTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0