repository_link
Gets an individual repository_link
resource
Overview
Name | repository_link |
Type | Resource |
Description | repository_link |
Id | awscc.codestarconnections.repository_link |
Fields
Name | Datatype | Description |
---|---|---|
connection_arn | string | The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services. |
provider_type | string | The name of the external provider where your third-party code repository is configured. |
owner_id | string | the ID of the entity that owns the repository. |
repository_name | string | The repository for which the link is being created. |
encryption_key_arn | string | The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used. |
repository_link_id | string | A UUID that uniquely identifies the RepositoryLink. |
repository_link_arn | string | A unique Amazon Resource Name (ARN) to designate the repository link. |
tags | array | Specifies the tags applied to a RepositoryLink. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
connection_arn,
provider_type,
owner_id,
repository_name,
encryption_key_arn,
repository_link_id,
repository_link_arn,
tags
FROM awscc.codestarconnections.repository_link
WHERE data__Identifier = '<RepositoryLinkArn>';
Permissions
To operate on the repository_link
resource, the following permissions are required:
Update
codestar-connections:GetConnection,
codestar-connections:ListTagsForResource,
codestar-connections:PassConnection,
codestar-connections:UseConnection,
codestar-connections:TagResource,
codestar-connections:UntagResource,
codestar-connections:UpdateRepositoryLink
Read
codestar-connections:GetRepositoryLink,
codestar-connections:ListTagsForResource,
codestar-connections:GetConnection
Delete
codestar-connections:GetRepositoryLink,
codestar-connections:DeleteRepositoryLink,
codestar-connections:GetConnection