1. Packages
  2. AWS Native
  3. API Docs
  4. athena
  5. getWorkGroup

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.athena.getWorkGroup

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    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.Outputs.Tag>
    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 Tag
    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<Tag>
    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 Tag[]
    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[root_Tag]
    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

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    WorkGroupAclConfiguration

    WorkGroupConfiguration

    WorkGroupCustomerContentEncryptionConfiguration

    KmsKey string
    KmsKey string
    kmsKey String
    kmsKey string
    kmsKey String

    WorkGroupEncryptionConfiguration

    WorkGroupEncryptionOption

    WorkGroupEngineVersion

    WorkGroupResultConfiguration

    WorkGroupS3AclOption

    WorkGroupState

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi