resource_sync_status
Creates, updates, deletes, gets or lists a resource_sync_status resource.
Overview
| Name | resource_sync_status |
| Type | Resource |
| Id | aws.codestar_connections.resource_sync_status |
Fields
The following fields are returned by SELECT queries:
- get_resource_sync_status
| Name | Datatype | Description |
|---|---|---|
desired_state | object | The desired state of the Amazon Web Services resource for the sync status with the Git repository. |
latest_successful_sync | object | The latest successful sync for the sync status with the Git repository. |
latest_sync | object | The latest sync for the sync status with the Git repository, whether successful or not. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_resource_sync_status | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_resource_sync_status
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.codestar_connections.resource_sync_status
WHERE region = '{{ region }}' -- required
;