workgroups
Retrieves a list of workgroups
in a region
Overview
Name | workgroups |
Type | Resource |
Description | workgroups |
Id | awscc.redshiftserverless.workgroups |
Fields
Name | Datatype | Description |
---|---|---|
workgroup_name | string | The name of the workgroup. |
region | string | AWS 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