repository_association
Gets an individual repository_association
resource
Overview
Name | repository_association |
Type | Resource |
Description | repository_association |
Id | awscc.codegurureviewer.repository_association |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the repository to be associated. |
type | string | The type of repository to be associated. |
owner | string | The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository. |
bucket_name | string | The name of the S3 bucket associated with an associated S3 repository. It must start with `codeguru-reviewer-`. |
connection_arn | string | The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. |
association_arn | string | The Amazon Resource Name (ARN) of the repository association. |
tags | array | The tags associated with a repository association. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
type,
owner,
bucket_name,
connection_arn,
association_arn,
tags
FROM awscc.codegurureviewer.repository_association
WHERE data__Identifier = '<AssociationArn>';
Permissions
To operate on the repository_association
resource, the following permissions are required:
Read
codeguru-reviewer:DescribeRepositoryAssociation,
codeguru-reviewer:ListTagsForResource
Delete
codeguru-reviewer:DescribeRepositoryAssociation,
codeguru-reviewer:DisassociateRepository,
codecommit:UntagResource,
events:DeleteRule,
events:RemoveTargets,
codestar-connections:UntagResource,
codestar-connections:ListTagsForResource