Skip to main content

repository_endpoints

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

Overview

Namerepository_endpoints
TypeResource
Idaws.codeartifact.repository_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
repository_endpointstringA string that specifies the URL of the returned endpoint.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_repository_endpointselectdomain, repository, format, regiondomain-owner, endpointTypeReturns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: cargo generic maven npm nuget pypi ruby swift

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
domainstringThe name of the domain that contains the repository.
formatstringReturns which endpoint of a repository to return. A repository has one endpoint for each package format.
regionstringAWS region (default: us-east-1)
repositorystringThe name of the repository.
domain-ownerstringThe 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
endpointTypestringA string that specifies the type of endpoint.

SELECT examples

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: cargo generic maven npm nuget pypi ruby swift

SELECT
repository_endpoint
FROM aws.codeartifact.repository_endpoints
WHERE domain = '{{ domain }}' -- required
AND repository = '{{ repository }}' -- required
AND format = '{{ format }}' -- required
AND region = '{{ region }}' -- required
AND `domain-owner` = '{{ domain-owner }}'
AND endpointType = '{{ endpointType }}'
;