repository
Gets an individual repository
resource
Overview
Name | repository |
Type | Resource |
Description | repository |
Id | awscc.codeartifact.repository |
Fields
Name | Datatype | Description |
---|---|---|
repository_name | string | The name of the repository. |
name | string | The name of the repository. This is used for GetAtt |
domain_name | string | The name of the domain that contains the repository. |
domain_owner | string | The 12-digit account ID of the AWS account that owns the domain. |
description | string | A text description of the repository. |
arn | string | The ARN of the repository. |
external_connections | array | A list of external connections associated with the repository. |
upstreams | array | A list of upstream repositories associated with the repository. |
permissions_policy_document | object | The access control resource policy on the provided repository. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
repository_name,
name,
domain_name,
domain_owner,
description,
arn,
external_connections,
upstreams,
permissions_policy_document,
tags
FROM awscc.codeartifact.repository
WHERE data__Identifier = '<Arn>';
Permissions
To operate on the repository
resource, the following permissions are required:
Read
codeartifact:DescribeRepository,
codeartifact:GetRepositoryPermissionsPolicy,
codeartifact:ListTagsForResource
Update
codeartifact:PutRepositoryPermissionsPolicy,
codeartifact:DeleteRepositoryPermissionsPolicy,
codeartifact:AssociateExternalConnection,
codeartifact:DisassociateExternalConnection,
codeartifact:UpdateRepository,
codeartifact:DescribeRepository,
codeartifact:AssociateWithDownstreamRepository,
codeartifact:TagResource,
codeartifact:UntagResource
Delete
codeartifact:DeleteRepository,
codeartifact:DescribeRepository