repository_sync_definitions
Creates, updates, deletes, gets or lists a repository_sync_definitions resource.
Overview
| Name | repository_sync_definitions |
| Type | Resource |
| Id | aws.codeconnections.repository_sync_definitions |
Fields
The following fields are returned by SELECT queries:
- list_repository_sync_definitions
| Name | Datatype | Description |
|---|---|---|
next_token | string | An enumeration token that, when provided in a request, returns the next batch of the results. (pattern: <code>^.*$</code>) |
repository_sync_definitions | array | The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_repository_sync_definitions | select | region | Lists the repository sync definitions for repository links in your account. |
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
- list_repository_sync_definitions
Lists the repository sync definitions for repository links in your account.
SELECT
next_token,
repository_sync_definitions
FROM aws.codeconnections.repository_sync_definitions
WHERE region = '{{ region }}' -- required
;