Skip to content

ICodeSource

Represents a CodeSource.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_accessibility typing.Union[str, ros_cdk_core.IResolvable] Attribute Accessibility: Visibility of the code configuration.
attr_code_branch typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeBranch: Code repository branch.
attr_code_commit typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeCommit: The code CommitId.
attr_code_repo typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeRepo: Code repository address.
attr_code_repo_access_token typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeRepoAccessToken: The Token used to access the code repository.
attr_code_repo_user_name typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeRepoUserName: The user name of the code repository.
attr_code_sources_id typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeSourcesId: The ID of the created code configuration.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The creation time of the code.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: A detailed description of the code configuration.
attr_display_name typing.Union[str, ros_cdk_core.IResolvable] Attribute DisplayName: Code source configuration name.
attr_gmt_modify_time typing.Union[str, ros_cdk_core.IResolvable] Attribute GmtModifyTime: Code configuration modification time.
attr_mount_path typing.Union[str, ros_cdk_core.IResolvable] Attribute MountPath: The local Mount Directory of the code.
attr_user_id typing.Union[str, ros_cdk_core.IResolvable] Attribute UserId: The ID of the creator of the code configuration source.
attr_workspace_id typing.Union[str, ros_cdk_core.IResolvable] Attribute WorkspaceId: The ID of the workspace.
props CodeSourceProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_accessibilityRequired

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

Attribute Accessibility: Visibility of the code configuration.


attr_code_branchRequired

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

Attribute CodeBranch: Code repository branch.


attr_code_commitRequired

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

Attribute CodeCommit: The code CommitId.


attr_code_repoRequired

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

Attribute CodeRepo: Code repository address.


attr_code_repo_access_tokenRequired

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

Attribute CodeRepoAccessToken: The Token used to access the code repository.


attr_code_repo_user_nameRequired

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

Attribute CodeRepoUserName: The user name of the code repository.


attr_code_sources_idRequired

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

Attribute CodeSourcesId: The ID of the created code configuration.


attr_create_timeRequired

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

Attribute CreateTime: The creation time of the code.


attr_descriptionRequired

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

Attribute Description: A detailed description of the code configuration.


attr_display_nameRequired

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

Attribute DisplayName: Code source configuration name.


attr_gmt_modify_timeRequired

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

Attribute GmtModifyTime: Code configuration modification time.

The time format is iso8601.


attr_mount_pathRequired

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

Attribute MountPath: The local Mount Directory of the code.


attr_user_idRequired

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

Attribute UserId: The ID of the creator of the code configuration source.


attr_workspace_idRequired

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

Attribute WorkspaceId: The ID of the workspace.


propsRequired

props: CodeSourceProps