Skip to main content

managed_workgroups

Creates, updates, deletes, gets or lists a managed_workgroups resource.

Overview

Namemanaged_workgroups
TypeResource
Idaws.redshift_serverless.managed_workgroups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_datestring (date-time)The creation date of the managed workgroup.
managed_workgroup_idstringThe unique identifier of the managed workgroup.
managed_workgroup_namestringThe name of the managed workgroup. (pattern: <code>^[a-zA-Z0-9_:-]+$</code>)
source_arnstringThe Amazon Resource Name (ARN) for the managed workgroup in the Glue Data Catalog. (pattern: <code>^arn:aws[a-z-]:glue:[a-z0-9-]+:\d+:(database|catalog)[a-z0-9-:](?:/[A-Za-z0-9-_]{1,255})*$</code>)
statusstringThe status of the managed workgroup. (CREATING, DELETING, MODIFYING, AVAILABLE, NOT_AVAILABLE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_managed_workgroupsselectregionReturns information about a list of specified managed workgroups in your account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about a list of specified managed workgroups in your account.

SELECT
creation_date,
managed_workgroup_id,
managed_workgroup_name,
source_arn,
status
FROM aws.redshift_serverless.managed_workgroups
WHERE region = '{{ region }}' -- required
;