MCPcopy Index your code
hub / github.com/aws/aws-cli / _create_config

Method _create_config

awscli/customizations/codedeploy/install.py:111–122  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

109 params.installer = params.key[start:]
110
111 def _create_config(self, params):
112 sys.stdout.write(
113 'Creating the on-premises instance configuration file... '
114 )
115 try:
116 os.makedirs(params.system.CONFIG_DIR)
117 except OSError as e:
118 if e.errno != errno.EEXIST:
119 raise e
120 if params.config_file != params.system.CONFIG_PATH:
121 shutil.copyfile(params.config_file, params.system.CONFIG_PATH)
122 sys.stdout.write('DONE\n')
123
124 def _install_agent(self, params):
125 sys.stdout.write('Installing the AWS CodeDeploy Agent... ')

Calls 2

writeMethod · 0.45
makedirsMethod · 0.45