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

Method _validate_agent_installer

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

Source from the content-addressed store, hash-verified

98 )
99
100 def _validate_agent_installer(self, params):
101 validate_s3_location(params, 'agent_installer')
102 if 'bucket' not in params:
103 params.bucket = f'aws-codedeploy-{params.region}'
104 if 'key' not in params:
105 params.key = f'latest/{params.system.INSTALLER}'
106 params.installer = params.system.INSTALLER
107 else:
108 start = params.key.rfind('/') + 1
109 params.installer = params.key[start:]
110
111 def _create_config(self, params):
112 sys.stdout.write(

Callers 1

_run_mainMethod · 0.95

Calls 1

validate_s3_locationFunction · 0.90

Tested by

no test coverage detected