Skip to main content

workgroups

Retrieves a list of workgroups in a region

Overview

Nameworkgroups
TypeResource
Descriptionworkgroups
Idawscc.redshiftserverless.workgroups

Fields

NameDatatypeDescription
workgroup_namestringThe name of the workgroup.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
workgroup_name
FROM awscc.redshiftserverless.workgroups
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:DescribeVpcAttribute,
ec2:DescribeSecurityGroups,
ec2:DescribeAddresses,
ec2:DescribeInternetGateways,
ec2:DescribeSubnets,
ec2:DescribeAccountAttributes,
ec2:DescribeAvailabilityZones,
redshift-serverless:CreateNamespace,
redshift-serverless:CreateWorkgroup,
redshift-serverless:GetWorkgroup

List

ec2:DescribeVpcAttribute,
ec2:DescribeSecurityGroups,
ec2:DescribeAddresses,
ec2:DescribeInternetGateways,
ec2:DescribeSubnets,
ec2:DescribeAccountAttributes,
ec2:DescribeAvailabilityZones,
redshift-serverless:ListWorkgroups