# GitHub::Teams::RepositoryAccess Manage a team access to a repository in GitHub. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "GitHub::Teams::RepositoryAccess",
    "Properties" : {
        "Org" : String,
        "Team" : String,
        "Owner" : String,
        "Repository" : String,
        "Permission" : String
    }
}
### YAML
Type: GitHub::Teams::RepositoryAccess
Properties:
    Org: String
    Team: String
    Owner: String
    Repository: String
    Permission: String
## Properties #### Org The organization name. 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) #### Team The slug of the team name. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### 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) #### Permission The permission to grant the team on this repository. In addition to the enumerated values, you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's permission attribute will be used to determine what permission to grant the team on this repository. _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)