Skip to content

GitCodeRepoProps

Properties for defining a GitCodeRepo.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-gitcoderepo

Initializer

from ros_cdk_oos import datasource
datasource.GitCodeRepoProps(
  owner: typing.Union[str, IResolvable],
  platform: typing.Union[str, IResolvable],
  repository: typing.Union[str, IResolvable],
  commit_id: typing.Union[str, IResolvable] = None,
  organization: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
owner typing.Union[str, ros_cdk_core.IResolvable] Property owner: Git account.
platform typing.Union[str, ros_cdk_core.IResolvable] Property platform: Git platform.
repository typing.Union[str, ros_cdk_core.IResolvable] Property repository: Git repository.
commit_id typing.Union[str, ros_cdk_core.IResolvable] Property commitId: Git commit id.
organization typing.Union[str, ros_cdk_core.IResolvable] Property organization: Git organization.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ownerRequired

owner: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property owner: Git account.


platformRequired

platform: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property platform: Git platform.


repositoryRequired

repository: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property repository: Git repository.


commit_idOptional

commit_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property commitId: Git commit id.


organizationOptional

organization: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property organization: Git organization.


refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.