repository_endpoints
Creates, updates, deletes, gets or lists a repository_endpoints resource.
Overview
| Name | repository_endpoints |
| Type | Resource |
| Id | aws.codeartifact.repository_endpoints |
Fields
The following fields are returned by SELECT queries:
- get_repository_endpoint
| Name | Datatype | Description |
|---|---|---|
repository_endpoint | string | A string that specifies the URL of the returned endpoint. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_repository_endpoint | select | domain, repository, format, region | domain-owner, endpointType | 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 |
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 |
|---|---|---|
domain | string | The name of the domain that contains the repository. |
format | string | Returns which endpoint of a repository to return. A repository has one endpoint for each package format. |
region | string | AWS region (default: us-east-1) |
repository | string | The name of the repository. |
domain-owner | string | The 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. |
endpointType | string | A string that specifies the type of endpoint. |
SELECT examples
- get_repository_endpoint
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 }}'
;