Skip to main content

resource_sync_status

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

Overview

Nameresource_sync_status
TypeResource
Idaws.codeconnections.resource_sync_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
desired_stateobjectThe desired state of the Amazon Web Services resource for the sync status with the Git repository.
latest_successful_syncobjectThe latest successful sync for the sync status with the Git repository.
latest_syncobjectThe latest sync for the sync status with the Git repository, whether successful or not.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_resource_sync_statusselectregionReturns the status of the sync with the Git repository for a specific Amazon Web Services resource.

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 the status of the sync with the Git repository for a specific Amazon Web Services resource.

SELECT
desired_state,
latest_successful_sync,
latest_sync
FROM aws.codeconnections.resource_sync_status
WHERE region = '{{ region }}' -- required
;