Skip to main content

cluster_tracks

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

Overview

Namecluster_tracks
TypeResource
Idaws.redshift.cluster_tracks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
database_versionstringThe version number for the cluster release.
maintenance_track_namestringThe name of the maintenance track. Possible values are current and trailing.
update_targetsstringAn array of UpdateTarget objects to update with the maintenance track.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_cluster_tracksselectregionMaintenanceTrackName, MaxRecords, MarkerReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
MaintenanceTrackNamestringThe name of the maintenance track.
MarkerstringAn 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.
MaxRecordsintegerAn integer value for the maximum number of maintenance tracks to return.

SELECT examples

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 }}'
;