Skip to main content

domains_list_only

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

Overview

Namedomains_list_only
TypeResource
DescriptionThe resource schema to create a CodeArtifact domain.
Idaws.codeartifact.domains_list_only

Fields

NameDatatypeDescription
domain_namestringThe name of the domain.
namestringThe name of the domain. This field is used for GetAtt
ownerstringThe 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
encryption_keystringThe ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
permissions_policy_documentobjectThe access control resource policy on the provided domain.
tagsarrayAn array of key-value pairs to apply to this resource.
arnstringThe ARN of the domain.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all domains in a region.

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

Permissions

For permissions required to operate on the domains_list_only resource, see domains