# GitHub::Repositories::Collaborator The Collaborators resource allows you to add, invite, and remove collaborators from a repository. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "GitHub::Repositories::Collaborator",
    "Properties" : {
        "Owner" : String,
        "Repository" : String,
        "Username" : String,
        "Permission" : String
    }
}
### YAML
Type: GitHub::Repositories::Collaborator
Properties:
    Owner: String
    Repository: String
    Username: String
    Permission: String
## Properties #### Owner The account owner of the repository. The name is not case sensitive. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Repository The name of the repository. The name is not case sensitive. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Username The login name for the GitHub user account. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Permission The permission to grant the collaborator. Only valid on organization-owned repositories. In addition to the enumerated values, you can also specify a custom repository role name, if the owning organization has defined any.. _Required_: No _Type_: String _Allowed Values_: pull | push | admin | maintain | triage _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)