# GitHub::Teams::Membership Manages people's membership to GitHub teams ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "GitHub::Teams::Membership",
    "Properties" : {
        "Org" : String,
        "TeamSlug" : String,
        "Username" : String,
        "Role" : String,
    }
}
### YAML
Type: GitHub::Teams::Membership
Properties:
    Org: String
    TeamSlug: String
    Username: String
    Role: String
## Properties #### Org The organization name. The name is not case sensitive. If not specified, then the managed repository will be within the currently logged-in 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) #### TeamSlug TThe 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) #### Username The handle for the GitHub user account. _Required_: No _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Role The handle for the GitHub user account. _Required_: No _Type_: String _Allowed Values_: member | maintainer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### State Membership state