LabelingJobHumanTaskConfig constructor
- Input<
LabelingJobHumanTaskConfigAnnotationConsolidationConfig?> ? annotationConsolidationConfig, - Input<
int?> ? maxConcurrentTaskCount, - required Input<
int> numberOfHumanWorkersPerDataObject, - Input<
String?> ? preHumanTaskLambdaArn, - Input<
LabelingJobHumanTaskConfigPublicWorkforceTaskPrice?> ? publicWorkforceTaskPrice, - Input<
int?> ? taskAvailabilityLifetimeInSeconds, - required Input<
String> taskDescription, - Input<
List< ? taskKeywords,String> ?> - required Input<
int> taskTimeLimitInSeconds, - required Input<
String> taskTitle, - required Input<
LabelingJobHumanTaskConfigUiConfig> uiConfig, - required Input<
String> workteamArn,
Creates a new LabelingJobHumanTaskConfig.
annotationConsolidationConfig How labels are consolidated across human workers. Fields are documented below.
maxConcurrentTaskCount Maximum number of data objects that can be labeled by human workers at the same time.
numberOfHumanWorkersPerDataObject Number of human workers that will label an object.
preHumanTaskLambdaArn ARN of a Lambda function that is run before a data object is sent to a human worker.
publicWorkforceTaskPrice Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
taskAvailabilityLifetimeInSeconds length of time that a task remains available for labeling by human workers.
taskDescription Description of the task.
taskKeywords Keywords used to describe the task.
taskTimeLimitInSeconds Amount of time that a worker has to complete a task.
taskTitle Title for the task.
uiConfig Information about the user interface that workers use to complete the labeling task. Fields are documented below.
workteamArn ARN of the work team assigned to complete the tasks.
Implementation
const LabelingJobHumanTaskConfig({
this.annotationConsolidationConfig,
this.maxConcurrentTaskCount,
required this.numberOfHumanWorkersPerDataObject,
this.preHumanTaskLambdaArn,
this.publicWorkforceTaskPrice,
this.taskAvailabilityLifetimeInSeconds,
required this.taskDescription,
this.taskKeywords,
required this.taskTimeLimitInSeconds,
required this.taskTitle,
required this.uiConfig,
required this.workteamArn,
});