Skip to main content

domain

Gets an individual domain resource

Overview

Namedomain
TypeResource
Descriptiondomain
Idawscc.codeartifact.domain

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
domain_name,
name,
owner,
encryption_key,
permissions_policy_document,
tags,
arn
FROM awscc.codeartifact.domain
WHERE data__Identifier = '<Arn>';

Permissions

To operate on the domain resource, the following permissions are required:

Read

codeartifact:DescribeDomain,
codeartifact:GetDomainPermissionsPolicy,
codeartifact:ListTagsForResource

Update

codeartifact:PutDomainPermissionsPolicy,
codeartifact:DeleteDomainPermissionsPolicy,
codeartifact:GetDomainPermissionsPolicy,
codeartifact:TagResource,
codeartifact:UntagResource

Delete

codeartifact:DeleteDomain,
codeartifact:DescribeDomain