source_repository_clone_urls
Creates, updates, deletes, gets or lists a source_repository_clone_urls resource.
Overview
| Name | source_repository_clone_urls |
| Type | Resource |
| Id | aws.codecatalyst.source_repository_clone_urls |
Fields
The following fields are returned by SELECT queries:
- get_source_repository_clone_urls
| Name | Datatype | Description |
|---|---|---|
https | string | The HTTPS URL to use when cloning the source repository. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_source_repository_clone_urls | select | space_name, project_name, source_repository_name, region | Returns information about the URLs that can be used with a Git client to clone a source repository. |
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 |
|---|---|---|
project_name | string | The name of the project in the space. |
region | string | AWS region (default: us-east-1) |
source_repository_name | string | The name of the source repository. |
space_name | string | The name of the space. |
SELECT examples
- get_source_repository_clone_urls
Returns information about the URLs that can be used with a Git client to clone a source repository.
SELECT
https
FROM aws.codecatalyst.source_repository_clone_urls
WHERE space_name = '{{ space_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND source_repository_name = '{{ source_repository_name }}' -- required
AND region = '{{ region }}' -- required
;