View source: R/crew_monitor_aws_batch.R
crew_monitor_aws_batch | R Documentation |
Create an R6
object to list, inspect, and terminate
AWS Batch jobs.
crew_monitor_aws_batch(
job_queue,
job_definition,
log_group = "/aws/batch/job",
config = NULL,
credentials = NULL,
endpoint = NULL,
region = NULL
)
job_queue |
Character vector of names of AWS Batch job queues.
As of |
job_definition |
Character string, name of the AWS Batch job definition. |
log_group |
Character of length 1,
AWS Batch CloudWatch log group to get job logs.
The default log group is often |
config |
Optional named list, |
credentials |
Optional named list. |
endpoint |
Optional character of length 1. |
region |
Character of length 1. |
In order for the AWS Batch crew
monitor class to function
properly, your IAM policy needs permission to perform the SubmitJob
,
TerminateJob
, ListJobs
, and DescribeJobs
AWS Batch API calls.
In addition, to download CloudWatch logs with the log()
method,
your IAM policy also needs permission to perform the GetLogEvents
CloudWatch logs API call.
For more information on AWS policies and permissions, please visit
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html.
Other monitor:
crew_class_monitor_aws_batch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.