cluster_tracks
Creates, updates, deletes, gets or lists a cluster_tracks resource.
Overview
| Name | cluster_tracks |
| Type | Resource |
| Id | aws.redshift.cluster_tracks |
Fields
The following fields are returned by SELECT queries:
- describe_cluster_tracks
| Name | Datatype | Description |
|---|---|---|
database_version | string | The version number for the cluster release. |
maintenance_track_name | string | The name of the maintenance track. Possible values are current and trailing. |
update_targets | string | An array of UpdateTarget objects to update with the maintenance track. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_cluster_tracks | select | region | MaintenanceTrackName, MaxRecords, Marker | Returns a list of all the available maintenance tracks. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
MaintenanceTrackName | string | The name of the maintenance track. |
Marker | string | An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterTracks request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. |
MaxRecords | integer | An integer value for the maximum number of maintenance tracks to return. |
SELECT examples
- describe_cluster_tracks
Returns a list of all the available maintenance tracks.
SELECT
database_version,
maintenance_track_name,
update_targets
FROM aws.redshift.cluster_tracks
WHERE region = '{{ region }}' -- required
AND MaintenanceTrackName = '{{ MaintenanceTrackName }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
;