:orphan: :py:mod:`aws_codeseeder.commands._module_commands` ================================================== .. py:module:: aws_codeseeder.commands._module_commands Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: aws_codeseeder.commands._module_commands.deploy_modules Attributes ~~~~~~~~~~ .. autoapisummary:: aws_codeseeder.commands._module_commands.FILENAME aws_codeseeder.commands._module_commands.RESOURCES_FILENAME .. py:function:: deploy_modules(seedkit_name: str, python_modules: List[str], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = None) -> None Deploy local Python modules to the CodeArtifact Domain/Repository associated with a Seedkit This is a utility function that attempts to package and deploy local Python projects to CodeArtifact for use in CodeBuild executions. :param seedkit_name: Name of a previously deployed Seedkit :type seedkit_name: str :param python_modules: List of local Python modules/projects to deploy. Each module is of the form "[package-name]:[directory]" where [package-name] is the name of the Python package and [directory] is the local location of the module/project :type python_modules: List[str] :param session: Optional Session or function returning a Session to use for all boto3 operations, by default None :type session: Optional[Union[Callable[[], Session], Session]], optional :raises ValueError: If module names are of the wrong form .. py:data:: FILENAME :value: 'update_repo.sh' .. py:data:: RESOURCES_FILENAME