work_group
Gets an individual work_group
resource
Overview
Name | work_group |
Type | Resource |
Description | work_group |
Id | awscc.athena.work_group |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The workGroup name. |
description | string | The workgroup description. |
tags | array | One or more tags, separated by commas, that you want to attach to the workgroup as you create it |
work_group_configuration | object | The workgroup configuration |
work_group_configuration_updates | object | The workgroup configuration update object |
creation_time | string | The date and time the workgroup was created. |
state | string | The state of the workgroup: ENABLED or DISABLED. |
recursive_delete_option | boolean | The option to delete the workgroup and its contents even if the workgroup contains any named queries. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
description,
tags,
work_group_configuration,
work_group_configuration_updates,
creation_time,
state,
recursive_delete_option
FROM awscc.athena.work_group
WHERE data__Identifier = '<Name>';
Permissions
To operate on the work_group
resource, the following permissions are required:
Read
athena:GetWorkGroup,
athena:ListTagsForResource
Delete
athena:DeleteWorkGroup,
athena:GetWorkGroup,
athena:UntagResource
Update
athena:UpdateWorkGroup,
athena:TagResource,
athena:UntagResource,
iam:PassRole,
s3:GetBucketLocation,
s3:GetObject,
s3:ListBucket,
s3:ListBucketMultipartUploads,
s3:AbortMultipartUpload,
s3:PutObject,
s3:ListMultipartUploadParts,
kms:Decrypt,
kms:GenerateDataKey