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. |
owner
Required
owner: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property owner: Git account.
platform
Required
platform: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property platform: Git platform.
repository
Required
repository: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property repository: Git repository.
commit_id
Optional
commit_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property commitId: Git commit id.
organization
Optional
organization: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property organization: Git organization.
refresh_options
Optional
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.