Skip to main content

repository_tags

Expands all tag keys and values for repositories in a region

Overview

Namerepository_tags
TypeResource
DescriptionThe resource schema to create a CodeArtifact repository.
Idaws.codeartifact.repository_tags

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.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all repositories in a region.

SELECT
region,
repository_name,
name,
domain_name,
domain_owner,
description,
arn,
external_connections,
upstreams,
permissions_policy_document,
tag_key,
tag_value
FROM aws.codeartifact.repository_tags
WHERE region = 'us-east-1';

Permissions

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