def logs_url(self):
url = ('https://console.aws.amazon.com/cloudwatch/home?region={aws_region}' +
'#logStream:group=/aws/batch/job;prefix={batch_job_name}/{batch_job_id}' +
';streamFilter=typeLogStreamPrefix')
return url.format(aws_region=settings.AWS_REGION,
batch_job_name=self.analysis_job_name,
batch_job_id=self.batch_job_id)
评论列表
文章目录