DATASOURCE::OOS::GitCodeRepo is used to generate the URL of a user-specified GitHub or Gitee code repository.
Syntax
{
"Type": "DATASOURCE::OOS::GitCodeRepo",
"Properties": {
"Owner": String,
"Platform": String,
"Repository": String,
"CommitId": String,
"Organization": String,
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Owner | String | Yes | No | The Git account. | None. |
Platform | String | Yes | No | The platform. | Valid values:
|
Repository | String | Yes | No | The repository name. | None. |
CommitId | String | No | Yes | The commit ID. | None. |
Organization | String | No | No | The name of the Git organization. | None. |
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Return values
Fn::GetAtt
AuthorizedUrl: the URL of the specified GitHub or Gitee code repository.