github.com/aws-cloudformation/cloudformation-cli-go-plugin@v1.2.0/examples/github-repo/example-github-repo.json (about) 1 { 2 "typeName": "Example::GitHub::Repo", 3 "description": "Manages a GitHub Repo", 4 "sourceUrl": "https://github.com/aws-cloudformation/cloudformation-cli.git", 5 "properties": { 6 "Name": { 7 "description": "Name of the repository on GitHub", 8 "type": "string", 9 "minLength": 1, 10 "maxLength": 50 11 }, 12 "Owner": { 13 "description": "Where to create the repository, either a user or an organization", 14 "type": "string" 15 }, 16 "Description": { 17 "description": "The title of the TPS report is a mandatory element.", 18 "type": "string", 19 "minLength": 20, 20 "maxLength": 250 21 }, 22 "Homepage": { 23 "description": "Homepage of the project", 24 "type": "string", 25 "minLength": 20, 26 "maxLength": 250 27 }, 28 "OauthToken": { 29 "description": "OAuth token from GitHub", 30 "type": "string" 31 }, 32 "URL": { 33 "description": "URL to the repository", 34 "type": "string" 35 } 36 }, 37 "required": [ 38 "Name", 39 "OauthToken", 40 "Owner" 41 ], 42 "additionalProperties": false, 43 "readOnlyProperties": [ 44 "/properties/URL" 45 ], 46 "primaryIdentifier": [ 47 "/properties/URL" 48 ], 49 "handlers": { 50 "create": { 51 "permissions": [] 52 }, 53 "read": { 54 "permissions": [] 55 }, 56 "update": { 57 "permissions": [] 58 }, 59 "delete": { 60 "permissions": [] 61 }, 62 "list": { 63 "permissions": [] 64 } 65 } 66 }