aws-native logo
AWS Native v0.54.0, Mar 21 23

aws-native.athena.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.

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.

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.

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.

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.

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.

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

WorkGroupAclConfiguration

WorkGroupConfiguration

WorkGroupCustomerContentEncryptionConfiguration

KmsKey string
KmsKey string
kmsKey String
kmsKey string
kmsKey String

WorkGroupEncryptionConfiguration

WorkGroupEncryptionOption

WorkGroupEngineVersion

WorkGroupResultConfiguration

WorkGroupS3AclOption

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
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0