# Example::GitHub::Repo Manages a GitHub Repo ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "Example::GitHub::Repo", "Properties" : { "Name" : String, "Owner" : String, "Description" : String, "Homepage" : String, "OauthToken" : String, } }### YAML
Type: Example::GitHub::Repo Properties: Name: String Owner: String Description: String Homepage: String OauthToken: String## Properties #### Name Name of the repository on GitHub _Required_: Yes _Type_: String _Minimum_:
1
_Maximum_: 50
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Owner
Where to create the repository, either a user or an organization
_Required_: Yes
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Description
The title of the TPS report is a mandatory element.
_Required_: No
_Type_: String
_Minimum_: 20
_Maximum_: 250
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Homepage
Homepage of the project
_Required_: No
_Type_: String
_Minimum_: 20
_Maximum_: 250
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### OauthToken
OAuth token from GitHub
_Required_: Yes
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the URL.
### 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).
#### URL
URL to the repository