repository_sync_status
Creates, updates, deletes, gets or lists a repository_sync_status resource.
Overview
| Name | repository_sync_status |
| Type | Resource |
| Id | aws.proton.repository_sync_status |
Fields
The following fields are returned by SELECT queries:
- get_repository_sync_status
| Name | Datatype | Description |
|---|---|---|
events | array | Detail data for sync attempt events. |
started_at | string (date-time) | The time when the sync attempt started. |
status | string | The sync attempt status. (INITIATED, IN_PROGRESS, SUCCEEDED, FAILED, QUEUED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_repository_sync_status | select | region | Get the sync status of a repository used for Proton template sync. For more information about template sync, see . A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC). For more information about ABAC, see ABAC in the Proton User Guide. |
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_repository_sync_status
Get the sync status of a repository used for Proton template sync. For more information about template sync, see . A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC). For more information about ABAC, see ABAC in the Proton User Guide.
SELECT
events,
started_at,
status
FROM aws.proton.repository_sync_status
WHERE region = '{{ region }}' -- required
;