domain
Gets an individual domain
resource
Overview
Name | domain |
Type | Resource |
Description | domain |
Id | awscc.codeartifact.domain |
Fields
Name | Datatype | Description |
---|---|---|
domain_name | string | The name of the domain. |
name | string | The name of the domain. This field is used for GetAtt |
owner | string | The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt |
encryption_key | string | The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. |
permissions_policy_document | object | The access control resource policy on the provided domain. |
tags | array | An array of key-value pairs to apply to this resource. |
arn | string | The ARN of the domain. |
region | string | AWS 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