Skip to main content

repositories_list_only

Lists repositories in a region or regions, for all properties use repositories

Overview

Namerepositories_list_only
TypeResource
DescriptionThe resource schema to create a CodeArtifact repository.
Idaws.codeartifact.repositories_list_only

Fields

NameDatatypeDescription
repository_namestringThe name of the repository.
namestringThe name of the repository. This is used for GetAtt
domain_namestringThe name of the domain that contains the repository.
domain_ownerstringThe 12-digit account ID of the AWS account that owns the domain.
descriptionstringA text description of the repository.
arnstringThe ARN of the repository.
external_connectionsarrayA list of external connections associated with the repository.
upstreamsarrayA list of upstream repositories associated with the repository.
permissions_policy_documentobjectThe access control resource policy on the provided repository.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all repositories in a region.

SELECT
region,
arn
FROM aws.codeartifact.repositories_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the repositories_list_only resource, see repositories