Skip to main content

work_groups

Retrieves a list of work_groups in a region

Overview

Namework_groups
TypeResource
Descriptionwork_groups
Idawscc.athena.work_groups

Fields

NameDatatypeDescription
namestringThe workGroup name.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
name
FROM awscc.athena.work_groups
WHERE region = 'us-east-1'

Permissions

To operate on the work_groups resource, the following permissions are required:

Create

athena:CreateWorkGroup,
athena:TagResource,
iam:PassRole,
s3:GetBucketLocation,
s3:GetObject,
s3:ListBucket,
s3:ListBucketMultipartUploads,
s3:AbortMultipartUpload,
s3:PutObject,
s3:ListMultipartUploadParts,
kms:Decrypt,
kms:GenerateDataKey

List

athena:ListWorkGroups