Skip to main content

source_repository_clone_urls

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

Overview

Namesource_repository_clone_urls
TypeResource
Idaws.codecatalyst.source_repository_clone_urls

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
httpsstringThe HTTPS URL to use when cloning the source repository.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_source_repository_clone_urlsselectspace_name, project_name, source_repository_name, regionReturns 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.

NameDatatypeDescription
project_namestringThe name of the project in the space.
regionstringAWS region (default: us-east-1)
source_repository_namestringThe name of the source repository.
space_namestringThe name of the space.

SELECT examples

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
;