Manage an Amazon SageMaker labeling job.
Example Usage
Basic usage:
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
// https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api.
const test = new aws.sagemaker.LabelingJob("test", {
labelAttributeName: "label1",
labelingJobName: "my-labeling-job",
roleArn: exampleAwsIamRole.arn,
labelCategoryConfigS3Uri: `s3://${exampleAwsS3Bucket.bucket}/${exampleAwsS3Object.key}`,
humanTaskConfig: {
numberOfHumanWorkersPerDataObject: 1,
taskDescription: "Apply the labels provided to specific words or phrases within the larger text block.",
taskTitle: "Named entity Recognition task",
taskTimeLimitInSeconds: 28800,
workteamArn: example.arn,
uiConfig: {
humanTaskUiArn: "arn:aws:sagemaker:us-west-2:394669845002:human-task-ui/NamedEntityRecognition",
},
preHumanTaskLambdaArn: "arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition",
annotationConsolidationConfig: {
annotationConsolidationLambdaArn: "arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition",
},
},
inputConfig: {
dataSource: {
snsDataSource: {
snsTopicArn: exampleAwsSnsTopic.arn,
},
},
},
outputConfig: {
s3OutputPath: `s3://${exampleAwsS3Bucket.bucket}/`,
},
});
import pulumi
import pulumi_aws as aws
# https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api.
test = aws.sagemaker.LabelingJob("test",
label_attribute_name="label1",
labeling_job_name="my-labeling-job",
role_arn=example_aws_iam_role["arn"],
label_category_config_s3_uri=f"s3://{example_aws_s3_bucket['bucket']}/{example_aws_s3_object['key']}",
human_task_config={
"number_of_human_workers_per_data_object": 1,
"task_description": "Apply the labels provided to specific words or phrases within the larger text block.",
"task_title": "Named entity Recognition task",
"task_time_limit_in_seconds": 28800,
"workteam_arn": example["arn"],
"ui_config": {
"human_task_ui_arn": "arn:aws:sagemaker:us-west-2:394669845002:human-task-ui/NamedEntityRecognition",
},
"pre_human_task_lambda_arn": "arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition",
"annotation_consolidation_config": {
"annotation_consolidation_lambda_arn": "arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition",
},
},
input_config={
"data_source": {
"sns_data_source": {
"sns_topic_arn": example_aws_sns_topic["arn"],
},
},
},
output_config={
"s3_output_path": f"s3://{example_aws_s3_bucket['bucket']}/",
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api.
_, err := sagemaker.NewLabelingJob(ctx, "test", &sagemaker.LabelingJobArgs{
LabelAttributeName: pulumi.String("label1"),
LabelingJobName: pulumi.String("my-labeling-job"),
RoleArn: pulumi.Any(exampleAwsIamRole.Arn),
LabelCategoryConfigS3Uri: pulumi.Sprintf("s3://%v/%v", exampleAwsS3Bucket.Bucket, exampleAwsS3Object.Key),
HumanTaskConfig: &sagemaker.LabelingJobHumanTaskConfigArgs{
NumberOfHumanWorkersPerDataObject: pulumi.Int(1),
TaskDescription: pulumi.String("Apply the labels provided to specific words or phrases within the larger text block."),
TaskTitle: pulumi.String("Named entity Recognition task"),
TaskTimeLimitInSeconds: pulumi.Int(28800),
WorkteamArn: pulumi.Any(example.Arn),
UiConfig: &sagemaker.LabelingJobHumanTaskConfigUiConfigArgs{
HumanTaskUiArn: pulumi.String("arn:aws:sagemaker:us-west-2:394669845002:human-task-ui/NamedEntityRecognition"),
},
PreHumanTaskLambdaArn: pulumi.String("arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition"),
AnnotationConsolidationConfig: &sagemaker.LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs{
AnnotationConsolidationLambdaArn: pulumi.String("arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition"),
},
},
InputConfig: &sagemaker.LabelingJobInputConfigArgs{
DataSource: &sagemaker.LabelingJobInputConfigDataSourceArgs{
SnsDataSource: &sagemaker.LabelingJobInputConfigDataSourceSnsDataSourceArgs{
SnsTopicArn: pulumi.Any(exampleAwsSnsTopic.Arn),
},
},
},
OutputConfig: &sagemaker.LabelingJobOutputConfigArgs{
S3OutputPath: pulumi.Sprintf("s3://%v/", exampleAwsS3Bucket.Bucket),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
// https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api.
var test = new Aws.Sagemaker.LabelingJob("test", new()
{
LabelAttributeName = "label1",
LabelingJobName = "my-labeling-job",
RoleArn = exampleAwsIamRole.Arn,
LabelCategoryConfigS3Uri = $"s3://{exampleAwsS3Bucket.Bucket}/{exampleAwsS3Object.Key}",
HumanTaskConfig = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigArgs
{
NumberOfHumanWorkersPerDataObject = 1,
TaskDescription = "Apply the labels provided to specific words or phrases within the larger text block.",
TaskTitle = "Named entity Recognition task",
TaskTimeLimitInSeconds = 28800,
WorkteamArn = example.Arn,
UiConfig = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigUiConfigArgs
{
HumanTaskUiArn = "arn:aws:sagemaker:us-west-2:394669845002:human-task-ui/NamedEntityRecognition",
},
PreHumanTaskLambdaArn = "arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition",
AnnotationConsolidationConfig = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs
{
AnnotationConsolidationLambdaArn = "arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition",
},
},
InputConfig = new Aws.Sagemaker.Inputs.LabelingJobInputConfigArgs
{
DataSource = new Aws.Sagemaker.Inputs.LabelingJobInputConfigDataSourceArgs
{
SnsDataSource = new Aws.Sagemaker.Inputs.LabelingJobInputConfigDataSourceSnsDataSourceArgs
{
SnsTopicArn = exampleAwsSnsTopic.Arn,
},
},
},
OutputConfig = new Aws.Sagemaker.Inputs.LabelingJobOutputConfigArgs
{
S3OutputPath = $"s3://{exampleAwsS3Bucket.Bucket}/",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.LabelingJob;
import com.pulumi.aws.sagemaker.LabelingJobArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobHumanTaskConfigArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobHumanTaskConfigUiConfigArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobInputConfigArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobInputConfigDataSourceArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobInputConfigDataSourceSnsDataSourceArgs;
import com.pulumi.aws.sagemaker.inputs.LabelingJobOutputConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api.
var test = new LabelingJob("test", LabelingJobArgs.builder()
.labelAttributeName("label1")
.labelingJobName("my-labeling-job")
.roleArn(exampleAwsIamRole.arn())
.labelCategoryConfigS3Uri(String.format("s3://%s/%s", exampleAwsS3Bucket.bucket(),exampleAwsS3Object.key()))
.humanTaskConfig(LabelingJobHumanTaskConfigArgs.builder()
.numberOfHumanWorkersPerDataObject(1)
.taskDescription("Apply the labels provided to specific words or phrases within the larger text block.")
.taskTitle("Named entity Recognition task")
.taskTimeLimitInSeconds(28800)
.workteamArn(example.arn())
.uiConfig(LabelingJobHumanTaskConfigUiConfigArgs.builder()
.humanTaskUiArn("arn:aws:sagemaker:us-west-2:394669845002:human-task-ui/NamedEntityRecognition")
.build())
.preHumanTaskLambdaArn("arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition")
.annotationConsolidationConfig(LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs.builder()
.annotationConsolidationLambdaArn("arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition")
.build())
.build())
.inputConfig(LabelingJobInputConfigArgs.builder()
.dataSource(LabelingJobInputConfigDataSourceArgs.builder()
.snsDataSource(LabelingJobInputConfigDataSourceSnsDataSourceArgs.builder()
.snsTopicArn(exampleAwsSnsTopic.arn())
.build())
.build())
.build())
.outputConfig(LabelingJobOutputConfigArgs.builder()
.s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
.build())
.build());
}
}
resources:
# https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api.
test:
type: aws:sagemaker:LabelingJob
properties:
labelAttributeName: label1
labelingJobName: my-labeling-job
roleArn: ${exampleAwsIamRole.arn}
labelCategoryConfigS3Uri: s3://${exampleAwsS3Bucket.bucket}/${exampleAwsS3Object.key}
humanTaskConfig:
numberOfHumanWorkersPerDataObject: 1
taskDescription: Apply the labels provided to specific words or phrases within the larger text block.
taskTitle: Named entity Recognition task
taskTimeLimitInSeconds: 28800
workteamArn: ${example.arn}
uiConfig:
humanTaskUiArn: arn:aws:sagemaker:us-west-2:394669845002:human-task-ui/NamedEntityRecognition
preHumanTaskLambdaArn: arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition
annotationConsolidationConfig:
annotationConsolidationLambdaArn: arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition
inputConfig:
dataSource:
snsDataSource:
snsTopicArn: ${exampleAwsSnsTopic.arn}
outputConfig:
s3OutputPath: s3://${exampleAwsS3Bucket.bucket}/
Create LabelingJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LabelingJob(name: string, args: LabelingJobArgs, opts?: CustomResourceOptions);@overload
def LabelingJob(resource_name: str,
args: LabelingJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LabelingJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
human_task_config: Optional[LabelingJobHumanTaskConfigArgs] = None,
input_config: Optional[LabelingJobInputConfigArgs] = None,
label_attribute_name: Optional[str] = None,
labeling_job_name: Optional[str] = None,
output_config: Optional[LabelingJobOutputConfigArgs] = None,
role_arn: Optional[str] = None,
label_category_config_s3_uri: Optional[str] = None,
labeling_job_algorithms_config: Optional[LabelingJobLabelingJobAlgorithmsConfigArgs] = None,
region: Optional[str] = None,
stopping_conditions: Optional[Sequence[LabelingJobStoppingConditionArgs]] = None,
tags: Optional[Mapping[str, str]] = None)func NewLabelingJob(ctx *Context, name string, args LabelingJobArgs, opts ...ResourceOption) (*LabelingJob, error)public LabelingJob(string name, LabelingJobArgs args, CustomResourceOptions? opts = null)
public LabelingJob(String name, LabelingJobArgs args)
public LabelingJob(String name, LabelingJobArgs args, CustomResourceOptions options)
type: aws:sagemaker:LabelingJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LabelingJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LabelingJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LabelingJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LabelingJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LabelingJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var labelingJobResource = new Aws.Sagemaker.LabelingJob("labelingJobResource", new()
{
HumanTaskConfig = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigArgs
{
NumberOfHumanWorkersPerDataObject = 0,
TaskDescription = "string",
TaskTimeLimitInSeconds = 0,
TaskTitle = "string",
UiConfig = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigUiConfigArgs
{
HumanTaskUiArn = "string",
UiTemplateS3Uri = "string",
},
WorkteamArn = "string",
AnnotationConsolidationConfig = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs
{
AnnotationConsolidationLambdaArn = "string",
},
MaxConcurrentTaskCount = 0,
PreHumanTaskLambdaArn = "string",
PublicWorkforceTaskPrice = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigPublicWorkforceTaskPriceArgs
{
AmountInUsd = new Aws.Sagemaker.Inputs.LabelingJobHumanTaskConfigPublicWorkforceTaskPriceAmountInUsdArgs
{
Cents = 0,
Dollars = 0,
TenthFractionsOfACent = 0,
},
},
TaskAvailabilityLifetimeInSeconds = 0,
TaskKeywords = new[]
{
"string",
},
},
InputConfig = new Aws.Sagemaker.Inputs.LabelingJobInputConfigArgs
{
DataSource = new Aws.Sagemaker.Inputs.LabelingJobInputConfigDataSourceArgs
{
S3DataSource = new Aws.Sagemaker.Inputs.LabelingJobInputConfigDataSourceS3DataSourceArgs
{
ManifestS3Uri = "string",
},
SnsDataSource = new Aws.Sagemaker.Inputs.LabelingJobInputConfigDataSourceSnsDataSourceArgs
{
SnsTopicArn = "string",
},
},
DataAttributes = new Aws.Sagemaker.Inputs.LabelingJobInputConfigDataAttributesArgs
{
ContentClassifiers = new[]
{
"string",
},
},
},
LabelAttributeName = "string",
LabelingJobName = "string",
OutputConfig = new Aws.Sagemaker.Inputs.LabelingJobOutputConfigArgs
{
S3OutputPath = "string",
KmsKeyId = "string",
SnsTopicArn = "string",
},
RoleArn = "string",
LabelCategoryConfigS3Uri = "string",
LabelingJobAlgorithmsConfig = new Aws.Sagemaker.Inputs.LabelingJobLabelingJobAlgorithmsConfigArgs
{
LabelingJobAlgorithmSpecificationArn = "string",
InitialActiveLearningModelArn = "string",
LabelingJobResourceConfig = new Aws.Sagemaker.Inputs.LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigArgs
{
VolumeKmsKeyId = "string",
VpcConfig = new Aws.Sagemaker.Inputs.LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigVpcConfigArgs
{
SecurityGroupIds = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
},
},
},
Region = "string",
StoppingConditions = new[]
{
new Aws.Sagemaker.Inputs.LabelingJobStoppingConditionArgs
{
MaxHumanLabeledObjectCount = 0,
MaxPercentageOfInputDatasetLabeled = 0,
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := sagemaker.NewLabelingJob(ctx, "labelingJobResource", &sagemaker.LabelingJobArgs{
HumanTaskConfig: &sagemaker.LabelingJobHumanTaskConfigArgs{
NumberOfHumanWorkersPerDataObject: pulumi.Int(0),
TaskDescription: pulumi.String("string"),
TaskTimeLimitInSeconds: pulumi.Int(0),
TaskTitle: pulumi.String("string"),
UiConfig: &sagemaker.LabelingJobHumanTaskConfigUiConfigArgs{
HumanTaskUiArn: pulumi.String("string"),
UiTemplateS3Uri: pulumi.String("string"),
},
WorkteamArn: pulumi.String("string"),
AnnotationConsolidationConfig: &sagemaker.LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs{
AnnotationConsolidationLambdaArn: pulumi.String("string"),
},
MaxConcurrentTaskCount: pulumi.Int(0),
PreHumanTaskLambdaArn: pulumi.String("string"),
PublicWorkforceTaskPrice: &sagemaker.LabelingJobHumanTaskConfigPublicWorkforceTaskPriceArgs{
AmountInUsd: &sagemaker.LabelingJobHumanTaskConfigPublicWorkforceTaskPriceAmountInUsdArgs{
Cents: pulumi.Int(0),
Dollars: pulumi.Int(0),
TenthFractionsOfACent: pulumi.Int(0),
},
},
TaskAvailabilityLifetimeInSeconds: pulumi.Int(0),
TaskKeywords: pulumi.StringArray{
pulumi.String("string"),
},
},
InputConfig: &sagemaker.LabelingJobInputConfigArgs{
DataSource: &sagemaker.LabelingJobInputConfigDataSourceArgs{
S3DataSource: &sagemaker.LabelingJobInputConfigDataSourceS3DataSourceArgs{
ManifestS3Uri: pulumi.String("string"),
},
SnsDataSource: &sagemaker.LabelingJobInputConfigDataSourceSnsDataSourceArgs{
SnsTopicArn: pulumi.String("string"),
},
},
DataAttributes: &sagemaker.LabelingJobInputConfigDataAttributesArgs{
ContentClassifiers: pulumi.StringArray{
pulumi.String("string"),
},
},
},
LabelAttributeName: pulumi.String("string"),
LabelingJobName: pulumi.String("string"),
OutputConfig: &sagemaker.LabelingJobOutputConfigArgs{
S3OutputPath: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
SnsTopicArn: pulumi.String("string"),
},
RoleArn: pulumi.String("string"),
LabelCategoryConfigS3Uri: pulumi.String("string"),
LabelingJobAlgorithmsConfig: &sagemaker.LabelingJobLabelingJobAlgorithmsConfigArgs{
LabelingJobAlgorithmSpecificationArn: pulumi.String("string"),
InitialActiveLearningModelArn: pulumi.String("string"),
LabelingJobResourceConfig: &sagemaker.LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigArgs{
VolumeKmsKeyId: pulumi.String("string"),
VpcConfig: &sagemaker.LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigVpcConfigArgs{
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Region: pulumi.String("string"),
StoppingConditions: sagemaker.LabelingJobStoppingConditionArray{
&sagemaker.LabelingJobStoppingConditionArgs{
MaxHumanLabeledObjectCount: pulumi.Int(0),
MaxPercentageOfInputDatasetLabeled: pulumi.Int(0),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var labelingJobResource = new LabelingJob("labelingJobResource", LabelingJobArgs.builder()
.humanTaskConfig(LabelingJobHumanTaskConfigArgs.builder()
.numberOfHumanWorkersPerDataObject(0)
.taskDescription("string")
.taskTimeLimitInSeconds(0)
.taskTitle("string")
.uiConfig(LabelingJobHumanTaskConfigUiConfigArgs.builder()
.humanTaskUiArn("string")
.uiTemplateS3Uri("string")
.build())
.workteamArn("string")
.annotationConsolidationConfig(LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs.builder()
.annotationConsolidationLambdaArn("string")
.build())
.maxConcurrentTaskCount(0)
.preHumanTaskLambdaArn("string")
.publicWorkforceTaskPrice(LabelingJobHumanTaskConfigPublicWorkforceTaskPriceArgs.builder()
.amountInUsd(LabelingJobHumanTaskConfigPublicWorkforceTaskPriceAmountInUsdArgs.builder()
.cents(0)
.dollars(0)
.tenthFractionsOfACent(0)
.build())
.build())
.taskAvailabilityLifetimeInSeconds(0)
.taskKeywords("string")
.build())
.inputConfig(LabelingJobInputConfigArgs.builder()
.dataSource(LabelingJobInputConfigDataSourceArgs.builder()
.s3DataSource(LabelingJobInputConfigDataSourceS3DataSourceArgs.builder()
.manifestS3Uri("string")
.build())
.snsDataSource(LabelingJobInputConfigDataSourceSnsDataSourceArgs.builder()
.snsTopicArn("string")
.build())
.build())
.dataAttributes(LabelingJobInputConfigDataAttributesArgs.builder()
.contentClassifiers("string")
.build())
.build())
.labelAttributeName("string")
.labelingJobName("string")
.outputConfig(LabelingJobOutputConfigArgs.builder()
.s3OutputPath("string")
.kmsKeyId("string")
.snsTopicArn("string")
.build())
.roleArn("string")
.labelCategoryConfigS3Uri("string")
.labelingJobAlgorithmsConfig(LabelingJobLabelingJobAlgorithmsConfigArgs.builder()
.labelingJobAlgorithmSpecificationArn("string")
.initialActiveLearningModelArn("string")
.labelingJobResourceConfig(LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigArgs.builder()
.volumeKmsKeyId("string")
.vpcConfig(LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigVpcConfigArgs.builder()
.securityGroupIds("string")
.subnets("string")
.build())
.build())
.build())
.region("string")
.stoppingConditions(LabelingJobStoppingConditionArgs.builder()
.maxHumanLabeledObjectCount(0)
.maxPercentageOfInputDatasetLabeled(0)
.build())
.tags(Map.of("string", "string"))
.build());
labeling_job_resource = aws.sagemaker.LabelingJob("labelingJobResource",
human_task_config={
"number_of_human_workers_per_data_object": 0,
"task_description": "string",
"task_time_limit_in_seconds": 0,
"task_title": "string",
"ui_config": {
"human_task_ui_arn": "string",
"ui_template_s3_uri": "string",
},
"workteam_arn": "string",
"annotation_consolidation_config": {
"annotation_consolidation_lambda_arn": "string",
},
"max_concurrent_task_count": 0,
"pre_human_task_lambda_arn": "string",
"public_workforce_task_price": {
"amount_in_usd": {
"cents": 0,
"dollars": 0,
"tenth_fractions_of_a_cent": 0,
},
},
"task_availability_lifetime_in_seconds": 0,
"task_keywords": ["string"],
},
input_config={
"data_source": {
"s3_data_source": {
"manifest_s3_uri": "string",
},
"sns_data_source": {
"sns_topic_arn": "string",
},
},
"data_attributes": {
"content_classifiers": ["string"],
},
},
label_attribute_name="string",
labeling_job_name="string",
output_config={
"s3_output_path": "string",
"kms_key_id": "string",
"sns_topic_arn": "string",
},
role_arn="string",
label_category_config_s3_uri="string",
labeling_job_algorithms_config={
"labeling_job_algorithm_specification_arn": "string",
"initial_active_learning_model_arn": "string",
"labeling_job_resource_config": {
"volume_kms_key_id": "string",
"vpc_config": {
"security_group_ids": ["string"],
"subnets": ["string"],
},
},
},
region="string",
stopping_conditions=[{
"max_human_labeled_object_count": 0,
"max_percentage_of_input_dataset_labeled": 0,
}],
tags={
"string": "string",
})
const labelingJobResource = new aws.sagemaker.LabelingJob("labelingJobResource", {
humanTaskConfig: {
numberOfHumanWorkersPerDataObject: 0,
taskDescription: "string",
taskTimeLimitInSeconds: 0,
taskTitle: "string",
uiConfig: {
humanTaskUiArn: "string",
uiTemplateS3Uri: "string",
},
workteamArn: "string",
annotationConsolidationConfig: {
annotationConsolidationLambdaArn: "string",
},
maxConcurrentTaskCount: 0,
preHumanTaskLambdaArn: "string",
publicWorkforceTaskPrice: {
amountInUsd: {
cents: 0,
dollars: 0,
tenthFractionsOfACent: 0,
},
},
taskAvailabilityLifetimeInSeconds: 0,
taskKeywords: ["string"],
},
inputConfig: {
dataSource: {
s3DataSource: {
manifestS3Uri: "string",
},
snsDataSource: {
snsTopicArn: "string",
},
},
dataAttributes: {
contentClassifiers: ["string"],
},
},
labelAttributeName: "string",
labelingJobName: "string",
outputConfig: {
s3OutputPath: "string",
kmsKeyId: "string",
snsTopicArn: "string",
},
roleArn: "string",
labelCategoryConfigS3Uri: "string",
labelingJobAlgorithmsConfig: {
labelingJobAlgorithmSpecificationArn: "string",
initialActiveLearningModelArn: "string",
labelingJobResourceConfig: {
volumeKmsKeyId: "string",
vpcConfig: {
securityGroupIds: ["string"],
subnets: ["string"],
},
},
},
region: "string",
stoppingConditions: [{
maxHumanLabeledObjectCount: 0,
maxPercentageOfInputDatasetLabeled: 0,
}],
tags: {
string: "string",
},
});
type: aws:sagemaker:LabelingJob
properties:
humanTaskConfig:
annotationConsolidationConfig:
annotationConsolidationLambdaArn: string
maxConcurrentTaskCount: 0
numberOfHumanWorkersPerDataObject: 0
preHumanTaskLambdaArn: string
publicWorkforceTaskPrice:
amountInUsd:
cents: 0
dollars: 0
tenthFractionsOfACent: 0
taskAvailabilityLifetimeInSeconds: 0
taskDescription: string
taskKeywords:
- string
taskTimeLimitInSeconds: 0
taskTitle: string
uiConfig:
humanTaskUiArn: string
uiTemplateS3Uri: string
workteamArn: string
inputConfig:
dataAttributes:
contentClassifiers:
- string
dataSource:
s3DataSource:
manifestS3Uri: string
snsDataSource:
snsTopicArn: string
labelAttributeName: string
labelCategoryConfigS3Uri: string
labelingJobAlgorithmsConfig:
initialActiveLearningModelArn: string
labelingJobAlgorithmSpecificationArn: string
labelingJobResourceConfig:
volumeKmsKeyId: string
vpcConfig:
securityGroupIds:
- string
subnets:
- string
labelingJobName: string
outputConfig:
kmsKeyId: string
s3OutputPath: string
snsTopicArn: string
region: string
roleArn: string
stoppingConditions:
- maxHumanLabeledObjectCount: 0
maxPercentageOfInputDatasetLabeled: 0
tags:
string: string
LabelingJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LabelingJob resource accepts the following input properties:
- Human
Task LabelingConfig Job Human Task Config - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- Input
Config LabelingJob Input Config - Input data for the labeling job. Fields are documented below.
- Label
Attribute stringName - Attribute name to use for the label in the output manifest file.
- Labeling
Job stringName - Name of the labeling job.
- Output
Config LabelingJob Output Config - Location of the output data. Fields are documented below.
- Role
Arn string - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- Label
Category stringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- Labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Stopping
Conditions List<LabelingJob Stopping Condition> - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Human
Task LabelingConfig Job Human Task Config Args - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- Input
Config LabelingJob Input Config Args - Input data for the labeling job. Fields are documented below.
- Label
Attribute stringName - Attribute name to use for the label in the output manifest file.
- Labeling
Job stringName - Name of the labeling job.
- Output
Config LabelingJob Output Config Args - Location of the output data. Fields are documented below.
- Role
Arn string - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- Label
Category stringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- Labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config Args - Information required to perform automated data labeling.. Fields are documented below.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Stopping
Conditions []LabelingJob Stopping Condition Args - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- map[string]string
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- human
Task LabelingConfig Job Human Task Config - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input
Config LabelingJob Input Config - Input data for the labeling job. Fields are documented below.
- label
Attribute StringName - Attribute name to use for the label in the output manifest file.
- labeling
Job StringName - Name of the labeling job.
- output
Config LabelingJob Output Config - Location of the output data. Fields are documented below.
- role
Arn String - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- label
Category StringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- stopping
Conditions List<LabelingJob Stopping Condition> - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Map<String,String>
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- human
Task LabelingConfig Job Human Task Config - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input
Config LabelingJob Input Config - Input data for the labeling job. Fields are documented below.
- label
Attribute stringName - Attribute name to use for the label in the output manifest file.
- labeling
Job stringName - Name of the labeling job.
- output
Config LabelingJob Output Config - Location of the output data. Fields are documented below.
- role
Arn string - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- label
Category stringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- stopping
Conditions LabelingJob Stopping Condition[] - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- {[key: string]: string}
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- human_
task_ Labelingconfig Job Human Task Config Args - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input_
config LabelingJob Input Config Args - Input data for the labeling job. Fields are documented below.
- label_
attribute_ strname - Attribute name to use for the label in the output manifest file.
- labeling_
job_ strname - Name of the labeling job.
- output_
config LabelingJob Output Config Args - Location of the output data. Fields are documented below.
- role_
arn str - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- label_
category_ strconfig_ s3_ uri - S3 URI of the file that defines the categories used to label the data objects.
- labeling_
job_ Labelingalgorithms_ config Job Labeling Job Algorithms Config Args - Information required to perform automated data labeling.. Fields are documented below.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- stopping_
conditions Sequence[LabelingJob Stopping Condition Args] - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Mapping[str, str]
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- human
Task Property MapConfig - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input
Config Property Map - Input data for the labeling job. Fields are documented below.
- label
Attribute StringName - Attribute name to use for the label in the output manifest file.
- labeling
Job StringName - Name of the labeling job.
- output
Config Property Map - Location of the output data. Fields are documented below.
- role
Arn String - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- label
Category StringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- labeling
Job Property MapAlgorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- stopping
Conditions List<Property Map> - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Map<String>
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the LabelingJob resource produces the following output properties:
- Failure
Reason string - If the job failed, the reason that it failed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Reference stringCode - Unique identifier for work done as part of a labeling job.
- Label
Counters List<LabelingJob Label Counter> - A breakdown of the number of objects labeled.
- Labeling
Job stringArn - ARN of the labeling job.
- Labeling
Job stringStatus - Processing status of the labeling job.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Failure
Reason string - If the job failed, the reason that it failed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Reference stringCode - Unique identifier for work done as part of a labeling job.
- Label
Counters []LabelingJob Label Counter - A breakdown of the number of objects labeled.
- Labeling
Job stringArn - ARN of the labeling job.
- Labeling
Job stringStatus - Processing status of the labeling job.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure
Reason String - If the job failed, the reason that it failed.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Reference StringCode - Unique identifier for work done as part of a labeling job.
- label
Counters List<LabelingJob Label Counter> - A breakdown of the number of objects labeled.
- labeling
Job StringArn - ARN of the labeling job.
- labeling
Job StringStatus - Processing status of the labeling job.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure
Reason string - If the job failed, the reason that it failed.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Reference stringCode - Unique identifier for work done as part of a labeling job.
- label
Counters LabelingJob Label Counter[] - A breakdown of the number of objects labeled.
- labeling
Job stringArn - ARN of the labeling job.
- labeling
Job stringStatus - Processing status of the labeling job.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure_
reason str - If the job failed, the reason that it failed.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
reference_ strcode - Unique identifier for work done as part of a labeling job.
- label_
counters Sequence[LabelingJob Label Counter] - A breakdown of the number of objects labeled.
- labeling_
job_ strarn - ARN of the labeling job.
- labeling_
job_ strstatus - Processing status of the labeling job.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure
Reason String - If the job failed, the reason that it failed.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Reference StringCode - Unique identifier for work done as part of a labeling job.
- label
Counters List<Property Map> - A breakdown of the number of objects labeled.
- labeling
Job StringArn - ARN of the labeling job.
- labeling
Job StringStatus - Processing status of the labeling job.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing LabelingJob Resource
Get an existing LabelingJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LabelingJobState, opts?: CustomResourceOptions): LabelingJob@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
failure_reason: Optional[str] = None,
human_task_config: Optional[LabelingJobHumanTaskConfigArgs] = None,
input_config: Optional[LabelingJobInputConfigArgs] = None,
job_reference_code: Optional[str] = None,
label_attribute_name: Optional[str] = None,
label_category_config_s3_uri: Optional[str] = None,
label_counters: Optional[Sequence[LabelingJobLabelCounterArgs]] = None,
labeling_job_algorithms_config: Optional[LabelingJobLabelingJobAlgorithmsConfigArgs] = None,
labeling_job_arn: Optional[str] = None,
labeling_job_name: Optional[str] = None,
labeling_job_status: Optional[str] = None,
output_config: Optional[LabelingJobOutputConfigArgs] = None,
region: Optional[str] = None,
role_arn: Optional[str] = None,
stopping_conditions: Optional[Sequence[LabelingJobStoppingConditionArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> LabelingJobfunc GetLabelingJob(ctx *Context, name string, id IDInput, state *LabelingJobState, opts ...ResourceOption) (*LabelingJob, error)public static LabelingJob Get(string name, Input<string> id, LabelingJobState? state, CustomResourceOptions? opts = null)public static LabelingJob get(String name, Output<String> id, LabelingJobState state, CustomResourceOptions options)resources: _: type: aws:sagemaker:LabelingJob get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Failure
Reason string - If the job failed, the reason that it failed.
- Human
Task LabelingConfig Job Human Task Config - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- Input
Config LabelingJob Input Config - Input data for the labeling job. Fields are documented below.
- Job
Reference stringCode - Unique identifier for work done as part of a labeling job.
- Label
Attribute stringName - Attribute name to use for the label in the output manifest file.
- Label
Category stringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- Label
Counters List<LabelingJob Label Counter> - A breakdown of the number of objects labeled.
- Labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- Labeling
Job stringArn - ARN of the labeling job.
- Labeling
Job stringName - Name of the labeling job.
- Labeling
Job stringStatus - Processing status of the labeling job.
- Output
Config LabelingJob Output Config - Location of the output data. Fields are documented below.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Role
Arn string - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- Stopping
Conditions List<LabelingJob Stopping Condition> - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Failure
Reason string - If the job failed, the reason that it failed.
- Human
Task LabelingConfig Job Human Task Config Args - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- Input
Config LabelingJob Input Config Args - Input data for the labeling job. Fields are documented below.
- Job
Reference stringCode - Unique identifier for work done as part of a labeling job.
- Label
Attribute stringName - Attribute name to use for the label in the output manifest file.
- Label
Category stringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- Label
Counters []LabelingJob Label Counter Args - A breakdown of the number of objects labeled.
- Labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config Args - Information required to perform automated data labeling.. Fields are documented below.
- Labeling
Job stringArn - ARN of the labeling job.
- Labeling
Job stringName - Name of the labeling job.
- Labeling
Job stringStatus - Processing status of the labeling job.
- Output
Config LabelingJob Output Config Args - Location of the output data. Fields are documented below.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Role
Arn string - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- Stopping
Conditions []LabelingJob Stopping Condition Args - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- map[string]string
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure
Reason String - If the job failed, the reason that it failed.
- human
Task LabelingConfig Job Human Task Config - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input
Config LabelingJob Input Config - Input data for the labeling job. Fields are documented below.
- job
Reference StringCode - Unique identifier for work done as part of a labeling job.
- label
Attribute StringName - Attribute name to use for the label in the output manifest file.
- label
Category StringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- label
Counters List<LabelingJob Label Counter> - A breakdown of the number of objects labeled.
- labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- labeling
Job StringArn - ARN of the labeling job.
- labeling
Job StringName - Name of the labeling job.
- labeling
Job StringStatus - Processing status of the labeling job.
- output
Config LabelingJob Output Config - Location of the output data. Fields are documented below.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role
Arn String - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- stopping
Conditions List<LabelingJob Stopping Condition> - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Map<String,String>
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure
Reason string - If the job failed, the reason that it failed.
- human
Task LabelingConfig Job Human Task Config - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input
Config LabelingJob Input Config - Input data for the labeling job. Fields are documented below.
- job
Reference stringCode - Unique identifier for work done as part of a labeling job.
- label
Attribute stringName - Attribute name to use for the label in the output manifest file.
- label
Category stringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- label
Counters LabelingJob Label Counter[] - A breakdown of the number of objects labeled.
- labeling
Job LabelingAlgorithms Config Job Labeling Job Algorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- labeling
Job stringArn - ARN of the labeling job.
- labeling
Job stringName - Name of the labeling job.
- labeling
Job stringStatus - Processing status of the labeling job.
- output
Config LabelingJob Output Config - Location of the output data. Fields are documented below.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role
Arn string - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- stopping
Conditions LabelingJob Stopping Condition[] - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- {[key: string]: string}
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure_
reason str - If the job failed, the reason that it failed.
- human_
task_ Labelingconfig Job Human Task Config Args - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input_
config LabelingJob Input Config Args - Input data for the labeling job. Fields are documented below.
- job_
reference_ strcode - Unique identifier for work done as part of a labeling job.
- label_
attribute_ strname - Attribute name to use for the label in the output manifest file.
- label_
category_ strconfig_ s3_ uri - S3 URI of the file that defines the categories used to label the data objects.
- label_
counters Sequence[LabelingJob Label Counter Args] - A breakdown of the number of objects labeled.
- labeling_
job_ Labelingalgorithms_ config Job Labeling Job Algorithms Config Args - Information required to perform automated data labeling.. Fields are documented below.
- labeling_
job_ strarn - ARN of the labeling job.
- labeling_
job_ strname - Name of the labeling job.
- labeling_
job_ strstatus - Processing status of the labeling job.
- output_
config LabelingJob Output Config Args - Location of the output data. Fields are documented below.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role_
arn str - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- stopping_
conditions Sequence[LabelingJob Stopping Condition Args] - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Mapping[str, str]
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- failure
Reason String - If the job failed, the reason that it failed.
- human
Task Property MapConfig - Configuration information required for human workers to complete a labeling task. Fields are documented below.
- input
Config Property Map - Input data for the labeling job. Fields are documented below.
- job
Reference StringCode - Unique identifier for work done as part of a labeling job.
- label
Attribute StringName - Attribute name to use for the label in the output manifest file.
- label
Category StringConfig S3Uri - S3 URI of the file that defines the categories used to label the data objects.
- label
Counters List<Property Map> - A breakdown of the number of objects labeled.
- labeling
Job Property MapAlgorithms Config - Information required to perform automated data labeling.. Fields are documented below.
- labeling
Job StringArn - ARN of the labeling job.
- labeling
Job StringName - Name of the labeling job.
- labeling
Job StringStatus - Processing status of the labeling job.
- output
Config Property Map - Location of the output data. Fields are documented below.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- role
Arn String - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
- stopping
Conditions List<Property Map> - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
- Map<String>
- A mapping of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Supporting Types
LabelingJobHumanTaskConfig, LabelingJobHumanTaskConfigArgs
- Number
Of intHuman Workers Per Data Object - Number of human workers that will label an object.
- Task
Description string - Description of the task.
- Task
Time intLimit In Seconds - Amount of time that a worker has to complete a task.
- Task
Title string - Title for the task.
- Ui
Config LabelingJob Human Task Config Ui Config - Information about the user interface that workers use to complete the labeling task. Fields are documented below.
- Workteam
Arn string - ARN of the work team assigned to complete the tasks.
- Annotation
Consolidation LabelingConfig Job Human Task Config Annotation Consolidation Config - How labels are consolidated across human workers. Fields are documented below.
- Max
Concurrent intTask Count - Maximum number of data objects that can be labeled by human workers at the same time.
- Pre
Human stringTask Lambda Arn - ARN of a Lambda function that is run before a data object is sent to a human worker.
- Public
Workforce LabelingTask Price Job Human Task Config Public Workforce Task Price - Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
- Task
Availability intLifetime In Seconds - length of time that a task remains available for labeling by human workers.
- Task
Keywords List<string> - Keywords used to describe the task.
- Number
Of intHuman Workers Per Data Object - Number of human workers that will label an object.
- Task
Description string - Description of the task.
- Task
Time intLimit In Seconds - Amount of time that a worker has to complete a task.
- Task
Title string - Title for the task.
- Ui
Config LabelingJob Human Task Config Ui Config - Information about the user interface that workers use to complete the labeling task. Fields are documented below.
- Workteam
Arn string - ARN of the work team assigned to complete the tasks.
- Annotation
Consolidation LabelingConfig Job Human Task Config Annotation Consolidation Config - How labels are consolidated across human workers. Fields are documented below.
- Max
Concurrent intTask Count - Maximum number of data objects that can be labeled by human workers at the same time.
- Pre
Human stringTask Lambda Arn - ARN of a Lambda function that is run before a data object is sent to a human worker.
- Public
Workforce LabelingTask Price Job Human Task Config Public Workforce Task Price - Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
- Task
Availability intLifetime In Seconds - length of time that a task remains available for labeling by human workers.
- Task
Keywords []string - Keywords used to describe the task.
- number
Of IntegerHuman Workers Per Data Object - Number of human workers that will label an object.
- task
Description String - Description of the task.
- task
Time IntegerLimit In Seconds - Amount of time that a worker has to complete a task.
- task
Title String - Title for the task.
- ui
Config LabelingJob Human Task Config Ui Config - Information about the user interface that workers use to complete the labeling task. Fields are documented below.
- workteam
Arn String - ARN of the work team assigned to complete the tasks.
- annotation
Consolidation LabelingConfig Job Human Task Config Annotation Consolidation Config - How labels are consolidated across human workers. Fields are documented below.
- max
Concurrent IntegerTask Count - Maximum number of data objects that can be labeled by human workers at the same time.
- pre
Human StringTask Lambda Arn - ARN of a Lambda function that is run before a data object is sent to a human worker.
- public
Workforce LabelingTask Price Job Human Task Config Public Workforce Task Price - Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
- task
Availability IntegerLifetime In Seconds - length of time that a task remains available for labeling by human workers.
- task
Keywords List<String> - Keywords used to describe the task.
- number
Of numberHuman Workers Per Data Object - Number of human workers that will label an object.
- task
Description string - Description of the task.
- task
Time numberLimit In Seconds - Amount of time that a worker has to complete a task.
- task
Title string - Title for the task.
- ui
Config LabelingJob Human Task Config Ui Config - Information about the user interface that workers use to complete the labeling task. Fields are documented below.
- workteam
Arn string - ARN of the work team assigned to complete the tasks.
- annotation
Consolidation LabelingConfig Job Human Task Config Annotation Consolidation Config - How labels are consolidated across human workers. Fields are documented below.
- max
Concurrent numberTask Count - Maximum number of data objects that can be labeled by human workers at the same time.
- pre
Human stringTask Lambda Arn - ARN of a Lambda function that is run before a data object is sent to a human worker.
- public
Workforce LabelingTask Price Job Human Task Config Public Workforce Task Price - Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
- task
Availability numberLifetime In Seconds - length of time that a task remains available for labeling by human workers.
- task
Keywords string[] - Keywords used to describe the task.
- number_
of_ inthuman_ workers_ per_ data_ object - Number of human workers that will label an object.
- task_
description str - Description of the task.
- task_
time_ intlimit_ in_ seconds - Amount of time that a worker has to complete a task.
- task_
title str - Title for the task.
- ui_
config LabelingJob Human Task Config Ui Config - Information about the user interface that workers use to complete the labeling task. Fields are documented below.
- workteam_
arn str - ARN of the work team assigned to complete the tasks.
- annotation_
consolidation_ Labelingconfig Job Human Task Config Annotation Consolidation Config - How labels are consolidated across human workers. Fields are documented below.
- max_
concurrent_ inttask_ count - Maximum number of data objects that can be labeled by human workers at the same time.
- pre_
human_ strtask_ lambda_ arn - ARN of a Lambda function that is run before a data object is sent to a human worker.
- public_
workforce_ Labelingtask_ price Job Human Task Config Public Workforce Task Price - Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
- task_
availability_ intlifetime_ in_ seconds - length of time that a task remains available for labeling by human workers.
- task_
keywords Sequence[str] - Keywords used to describe the task.
- number
Of NumberHuman Workers Per Data Object - Number of human workers that will label an object.
- task
Description String - Description of the task.
- task
Time NumberLimit In Seconds - Amount of time that a worker has to complete a task.
- task
Title String - Title for the task.
- ui
Config Property Map - Information about the user interface that workers use to complete the labeling task. Fields are documented below.
- workteam
Arn String - ARN of the work team assigned to complete the tasks.
- annotation
Consolidation Property MapConfig - How labels are consolidated across human workers. Fields are documented below.
- max
Concurrent NumberTask Count - Maximum number of data objects that can be labeled by human workers at the same time.
- pre
Human StringTask Lambda Arn - ARN of a Lambda function that is run before a data object is sent to a human worker.
- public
Workforce Property MapTask Price - Price to pay for each task performed by an Amazon Mechanical Turk worker. Fields are documented below.
- task
Availability NumberLifetime In Seconds - length of time that a task remains available for labeling by human workers.
- task
Keywords List<String> - Keywords used to describe the task.
LabelingJobHumanTaskConfigAnnotationConsolidationConfig, LabelingJobHumanTaskConfigAnnotationConsolidationConfigArgs
- Annotation
Consolidation stringLambda Arn - ARN of a Lambda function that implements the logic for annotation consolidation and to process output data.
- Annotation
Consolidation stringLambda Arn - ARN of a Lambda function that implements the logic for annotation consolidation and to process output data.
- annotation
Consolidation StringLambda Arn - ARN of a Lambda function that implements the logic for annotation consolidation and to process output data.
- annotation
Consolidation stringLambda Arn - ARN of a Lambda function that implements the logic for annotation consolidation and to process output data.
- annotation_
consolidation_ strlambda_ arn - ARN of a Lambda function that implements the logic for annotation consolidation and to process output data.
- annotation
Consolidation StringLambda Arn - ARN of a Lambda function that implements the logic for annotation consolidation and to process output data.
LabelingJobHumanTaskConfigPublicWorkforceTaskPrice, LabelingJobHumanTaskConfigPublicWorkforceTaskPriceArgs
- Amount
In LabelingUsd Job Human Task Config Public Workforce Task Price Amount In Usd - Amount of money paid to an Amazon Mechanical Turk worker in United States dollars. Fields are documented below.
- Amount
In LabelingUsd Job Human Task Config Public Workforce Task Price Amount In Usd - Amount of money paid to an Amazon Mechanical Turk worker in United States dollars. Fields are documented below.
- amount
In LabelingUsd Job Human Task Config Public Workforce Task Price Amount In Usd - Amount of money paid to an Amazon Mechanical Turk worker in United States dollars. Fields are documented below.
- amount
In LabelingUsd Job Human Task Config Public Workforce Task Price Amount In Usd - Amount of money paid to an Amazon Mechanical Turk worker in United States dollars. Fields are documented below.
- amount_
in_ Labelingusd Job Human Task Config Public Workforce Task Price Amount In Usd - Amount of money paid to an Amazon Mechanical Turk worker in United States dollars. Fields are documented below.
- amount
In Property MapUsd - Amount of money paid to an Amazon Mechanical Turk worker in United States dollars. Fields are documented below.
LabelingJobHumanTaskConfigPublicWorkforceTaskPriceAmountInUsd, LabelingJobHumanTaskConfigPublicWorkforceTaskPriceAmountInUsdArgs
- Cents int
- Fractional portion, in cents, of the amount.
- Dollars int
- Whole number of dollars in the amount.
- Tenth
Fractions intOf ACent - Fractions of a cent, in tenths.
- Cents int
- Fractional portion, in cents, of the amount.
- Dollars int
- Whole number of dollars in the amount.
- Tenth
Fractions intOf ACent - Fractions of a cent, in tenths.
- cents Integer
- Fractional portion, in cents, of the amount.
- dollars Integer
- Whole number of dollars in the amount.
- tenth
Fractions IntegerOf ACent - Fractions of a cent, in tenths.
- cents number
- Fractional portion, in cents, of the amount.
- dollars number
- Whole number of dollars in the amount.
- tenth
Fractions numberOf ACent - Fractions of a cent, in tenths.
- cents int
- Fractional portion, in cents, of the amount.
- dollars int
- Whole number of dollars in the amount.
- tenth_
fractions_ intof_ a_ cent - Fractions of a cent, in tenths.
- cents Number
- Fractional portion, in cents, of the amount.
- dollars Number
- Whole number of dollars in the amount.
- tenth
Fractions NumberOf ACent - Fractions of a cent, in tenths.
LabelingJobHumanTaskConfigUiConfig, LabelingJobHumanTaskConfigUiConfigArgs
- Human
Task stringUi Arn - ARN of the worker task template used to render the worker UI and tools for labeling job tasks.
- Ui
Template stringS3Uri - S3 bucket location of the UI template, or worker task template.
- Human
Task stringUi Arn - ARN of the worker task template used to render the worker UI and tools for labeling job tasks.
- Ui
Template stringS3Uri - S3 bucket location of the UI template, or worker task template.
- human
Task StringUi Arn - ARN of the worker task template used to render the worker UI and tools for labeling job tasks.
- ui
Template StringS3Uri - S3 bucket location of the UI template, or worker task template.
- human
Task stringUi Arn - ARN of the worker task template used to render the worker UI and tools for labeling job tasks.
- ui
Template stringS3Uri - S3 bucket location of the UI template, or worker task template.
- human_
task_ strui_ arn - ARN of the worker task template used to render the worker UI and tools for labeling job tasks.
- ui_
template_ strs3_ uri - S3 bucket location of the UI template, or worker task template.
- human
Task StringUi Arn - ARN of the worker task template used to render the worker UI and tools for labeling job tasks.
- ui
Template StringS3Uri - S3 bucket location of the UI template, or worker task template.
LabelingJobInputConfig, LabelingJobInputConfigArgs
- Data
Source LabelingJob Input Config Data Source - Location of the input data.. Fields are documented below.
- Data
Attributes LabelingJob Input Config Data Attributes - Attributes of the data. Fields are documented below.
- Data
Source LabelingJob Input Config Data Source - Location of the input data.. Fields are documented below.
- Data
Attributes LabelingJob Input Config Data Attributes - Attributes of the data. Fields are documented below.
- data
Source LabelingJob Input Config Data Source - Location of the input data.. Fields are documented below.
- data
Attributes LabelingJob Input Config Data Attributes - Attributes of the data. Fields are documented below.
- data
Source LabelingJob Input Config Data Source - Location of the input data.. Fields are documented below.
- data
Attributes LabelingJob Input Config Data Attributes - Attributes of the data. Fields are documented below.
- data_
source LabelingJob Input Config Data Source - Location of the input data.. Fields are documented below.
- data_
attributes LabelingJob Input Config Data Attributes - Attributes of the data. Fields are documented below.
- data
Source Property Map - Location of the input data.. Fields are documented below.
- data
Attributes Property Map - Attributes of the data. Fields are documented below.
LabelingJobInputConfigDataAttributes, LabelingJobInputConfigDataAttributesArgs
- Content
Classifiers List<string> - Declares that your content is free of personally identifiable information or adult content. Valid values:
FreeOfPersonallyIdentifiableInformation,FreeOfAdultContent.
- Content
Classifiers []string - Declares that your content is free of personally identifiable information or adult content. Valid values:
FreeOfPersonallyIdentifiableInformation,FreeOfAdultContent.
- content
Classifiers List<String> - Declares that your content is free of personally identifiable information or adult content. Valid values:
FreeOfPersonallyIdentifiableInformation,FreeOfAdultContent.
- content
Classifiers string[] - Declares that your content is free of personally identifiable information or adult content. Valid values:
FreeOfPersonallyIdentifiableInformation,FreeOfAdultContent.
- content_
classifiers Sequence[str] - Declares that your content is free of personally identifiable information or adult content. Valid values:
FreeOfPersonallyIdentifiableInformation,FreeOfAdultContent.
- content
Classifiers List<String> - Declares that your content is free of personally identifiable information or adult content. Valid values:
FreeOfPersonallyIdentifiableInformation,FreeOfAdultContent.
LabelingJobInputConfigDataSource, LabelingJobInputConfigDataSourceArgs
- S3Data
Source LabelingJob Input Config Data Source S3Data Source - S3 location of the input data objects.. Fields are documented below.
- Sns
Data LabelingSource Job Input Config Data Source Sns Data Source - SNS data source used for streaming labeling jobs. Fields are documented below.
- S3Data
Source LabelingJob Input Config Data Source S3Data Source - S3 location of the input data objects.. Fields are documented below.
- Sns
Data LabelingSource Job Input Config Data Source Sns Data Source - SNS data source used for streaming labeling jobs. Fields are documented below.
- s3Data
Source LabelingJob Input Config Data Source S3Data Source - S3 location of the input data objects.. Fields are documented below.
- sns
Data LabelingSource Job Input Config Data Source Sns Data Source - SNS data source used for streaming labeling jobs. Fields are documented below.
- s3Data
Source LabelingJob Input Config Data Source S3Data Source - S3 location of the input data objects.. Fields are documented below.
- sns
Data LabelingSource Job Input Config Data Source Sns Data Source - SNS data source used for streaming labeling jobs. Fields are documented below.
- s3_
data_ Labelingsource Job Input Config Data Source S3Data Source - S3 location of the input data objects.. Fields are documented below.
- sns_
data_ Labelingsource Job Input Config Data Source Sns Data Source - SNS data source used for streaming labeling jobs. Fields are documented below.
- s3Data
Source Property Map - S3 location of the input data objects.. Fields are documented below.
- sns
Data Property MapSource - SNS data source used for streaming labeling jobs. Fields are documented below.
LabelingJobInputConfigDataSourceS3DataSource, LabelingJobInputConfigDataSourceS3DataSourceArgs
- Manifest
S3Uri string - S3 location of the manifest file that describes the input data objects.
- Manifest
S3Uri string - S3 location of the manifest file that describes the input data objects.
- manifest
S3Uri String - S3 location of the manifest file that describes the input data objects.
- manifest
S3Uri string - S3 location of the manifest file that describes the input data objects.
- manifest_
s3_ struri - S3 location of the manifest file that describes the input data objects.
- manifest
S3Uri String - S3 location of the manifest file that describes the input data objects.
LabelingJobInputConfigDataSourceSnsDataSource, LabelingJobInputConfigDataSourceSnsDataSourceArgs
- Sns
Topic stringArn - SNS input topic ARN.
- Sns
Topic stringArn - SNS input topic ARN.
- sns
Topic StringArn - SNS input topic ARN.
- sns
Topic stringArn - SNS input topic ARN.
- sns_
topic_ strarn - SNS input topic ARN.
- sns
Topic StringArn - SNS input topic ARN.
LabelingJobLabelCounter, LabelingJobLabelCounterArgs
- Failed
Non intRetryable Error - Total number of objects that could not be labeled due to an error.
- Human
Labeled int - Total number of objects labeled by a human worker.
- Machine
Labeled int - Total number of objects labeled by automated data labeling.
- Total
Labeled int - Total number of objects labeled.
- Unlabeled int
- Total number of objects not yet labeled.
- Failed
Non intRetryable Error - Total number of objects that could not be labeled due to an error.
- Human
Labeled int - Total number of objects labeled by a human worker.
- Machine
Labeled int - Total number of objects labeled by automated data labeling.
- Total
Labeled int - Total number of objects labeled.
- Unlabeled int
- Total number of objects not yet labeled.
- failed
Non IntegerRetryable Error - Total number of objects that could not be labeled due to an error.
- human
Labeled Integer - Total number of objects labeled by a human worker.
- machine
Labeled Integer - Total number of objects labeled by automated data labeling.
- total
Labeled Integer - Total number of objects labeled.
- unlabeled Integer
- Total number of objects not yet labeled.
- failed
Non numberRetryable Error - Total number of objects that could not be labeled due to an error.
- human
Labeled number - Total number of objects labeled by a human worker.
- machine
Labeled number - Total number of objects labeled by automated data labeling.
- total
Labeled number - Total number of objects labeled.
- unlabeled number
- Total number of objects not yet labeled.
- failed_
non_ intretryable_ error - Total number of objects that could not be labeled due to an error.
- human_
labeled int - Total number of objects labeled by a human worker.
- machine_
labeled int - Total number of objects labeled by automated data labeling.
- total_
labeled int - Total number of objects labeled.
- unlabeled int
- Total number of objects not yet labeled.
- failed
Non NumberRetryable Error - Total number of objects that could not be labeled due to an error.
- human
Labeled Number - Total number of objects labeled by a human worker.
- machine
Labeled Number - Total number of objects labeled by automated data labeling.
- total
Labeled Number - Total number of objects labeled.
- unlabeled Number
- Total number of objects not yet labeled.
LabelingJobLabelingJobAlgorithmsConfig, LabelingJobLabelingJobAlgorithmsConfigArgs
- Labeling
Job stringAlgorithm Specification Arn - ARN of the algorithm used for auto-labeling.
- Initial
Active stringLearning Model Arn - ARN of the final model used for auto-labeling.
- Labeling
Job LabelingResource Config Job Labeling Job Algorithms Config Labeling Job Resource Config - Configuration information for the labeling job. Fields are documented below.
- Labeling
Job stringAlgorithm Specification Arn - ARN of the algorithm used for auto-labeling.
- Initial
Active stringLearning Model Arn - ARN of the final model used for auto-labeling.
- Labeling
Job LabelingResource Config Job Labeling Job Algorithms Config Labeling Job Resource Config - Configuration information for the labeling job. Fields are documented below.
- labeling
Job StringAlgorithm Specification Arn - ARN of the algorithm used for auto-labeling.
- initial
Active StringLearning Model Arn - ARN of the final model used for auto-labeling.
- labeling
Job LabelingResource Config Job Labeling Job Algorithms Config Labeling Job Resource Config - Configuration information for the labeling job. Fields are documented below.
- labeling
Job stringAlgorithm Specification Arn - ARN of the algorithm used for auto-labeling.
- initial
Active stringLearning Model Arn - ARN of the final model used for auto-labeling.
- labeling
Job LabelingResource Config Job Labeling Job Algorithms Config Labeling Job Resource Config - Configuration information for the labeling job. Fields are documented below.
- labeling_
job_ stralgorithm_ specification_ arn - ARN of the algorithm used for auto-labeling.
- initial_
active_ strlearning_ model_ arn - ARN of the final model used for auto-labeling.
- labeling_
job_ Labelingresource_ config Job Labeling Job Algorithms Config Labeling Job Resource Config - Configuration information for the labeling job. Fields are documented below.
- labeling
Job StringAlgorithm Specification Arn - ARN of the algorithm used for auto-labeling.
- initial
Active StringLearning Model Arn - ARN of the final model used for auto-labeling.
- labeling
Job Property MapResource Config - Configuration information for the labeling job. Fields are documented below.
LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfig, LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigArgs
- Volume
Kms stringKey Id - ID of the key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
- Vpc
Config LabelingJob Labeling Job Algorithms Config Labeling Job Resource Config Vpc Config - VPC that SageMaker jobs, hosted models, and compute resources have access to. Fields are documented below.
- Volume
Kms stringKey Id - ID of the key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
- Vpc
Config LabelingJob Labeling Job Algorithms Config Labeling Job Resource Config Vpc Config - VPC that SageMaker jobs, hosted models, and compute resources have access to. Fields are documented below.
- volume
Kms StringKey Id - ID of the key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
- vpc
Config LabelingJob Labeling Job Algorithms Config Labeling Job Resource Config Vpc Config - VPC that SageMaker jobs, hosted models, and compute resources have access to. Fields are documented below.
- volume
Kms stringKey Id - ID of the key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
- vpc
Config LabelingJob Labeling Job Algorithms Config Labeling Job Resource Config Vpc Config - VPC that SageMaker jobs, hosted models, and compute resources have access to. Fields are documented below.
- volume_
kms_ strkey_ id - ID of the key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
- vpc_
config LabelingJob Labeling Job Algorithms Config Labeling Job Resource Config Vpc Config - VPC that SageMaker jobs, hosted models, and compute resources have access to. Fields are documented below.
- volume
Kms StringKey Id - ID of the key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
- vpc
Config Property Map - VPC that SageMaker jobs, hosted models, and compute resources have access to. Fields are documented below.
LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigVpcConfig, LabelingJobLabelingJobAlgorithmsConfigLabelingJobResourceConfigVpcConfigArgs
- Security
Group List<string>Ids - VPC security group IDs.
- Subnets List<string>
- IDs of the subnets in the VPC to which to connect the training job. Fields are documented below.
- Security
Group []stringIds - VPC security group IDs.
- Subnets []string
- IDs of the subnets in the VPC to which to connect the training job. Fields are documented below.
- security
Group List<String>Ids - VPC security group IDs.
- subnets List<String>
- IDs of the subnets in the VPC to which to connect the training job. Fields are documented below.
- security
Group string[]Ids - VPC security group IDs.
- subnets string[]
- IDs of the subnets in the VPC to which to connect the training job. Fields are documented below.
- security_
group_ Sequence[str]ids - VPC security group IDs.
- subnets Sequence[str]
- IDs of the subnets in the VPC to which to connect the training job. Fields are documented below.
- security
Group List<String>Ids - VPC security group IDs.
- subnets List<String>
- IDs of the subnets in the VPC to which to connect the training job. Fields are documented below.
LabelingJobOutputConfig, LabelingJobOutputConfigArgs
- S3Output
Path string - S3 location to write output data.
- Kms
Key stringId - ID of the key used to encrypt the output data.
- Sns
Topic stringArn - SNS output topic ARN.
- S3Output
Path string - S3 location to write output data.
- Kms
Key stringId - ID of the key used to encrypt the output data.
- Sns
Topic stringArn - SNS output topic ARN.
- s3Output
Path String - S3 location to write output data.
- kms
Key StringId - ID of the key used to encrypt the output data.
- sns
Topic StringArn - SNS output topic ARN.
- s3Output
Path string - S3 location to write output data.
- kms
Key stringId - ID of the key used to encrypt the output data.
- sns
Topic stringArn - SNS output topic ARN.
- s3_
output_ strpath - S3 location to write output data.
- kms_
key_ strid - ID of the key used to encrypt the output data.
- sns_
topic_ strarn - SNS output topic ARN.
- s3Output
Path String - S3 location to write output data.
- kms
Key StringId - ID of the key used to encrypt the output data.
- sns
Topic StringArn - SNS output topic ARN.
LabelingJobStoppingCondition, LabelingJobStoppingConditionArgs
- Max
Human intLabeled Object Count - Maximum number of objects that can be labeled by human workers.
- Max
Percentage intOf Input Dataset Labeled - Maximum number of input data objects that should be labeled.
- Max
Human intLabeled Object Count - Maximum number of objects that can be labeled by human workers.
- Max
Percentage intOf Input Dataset Labeled - Maximum number of input data objects that should be labeled.
- max
Human IntegerLabeled Object Count - Maximum number of objects that can be labeled by human workers.
- max
Percentage IntegerOf Input Dataset Labeled - Maximum number of input data objects that should be labeled.
- max
Human numberLabeled Object Count - Maximum number of objects that can be labeled by human workers.
- max
Percentage numberOf Input Dataset Labeled - Maximum number of input data objects that should be labeled.
- max_
human_ intlabeled_ object_ count - Maximum number of objects that can be labeled by human workers.
- max_
percentage_ intof_ input_ dataset_ labeled - Maximum number of input data objects that should be labeled.
- max
Human NumberLabeled Object Count - Maximum number of objects that can be labeled by human workers.
- max
Percentage NumberOf Input Dataset Labeled - Maximum number of input data objects that should be labeled.
Import
Using pulumi import, import labeling jobs using the labeling_job_name. For example:
$ pulumi import aws:sagemaker/labelingJob:LabelingJob example my-labeling-job
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
