Class: Aws::SageMaker::Types::LabelingJobOutputConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass LabelingJobOutputConfig data as a hash:

{
  s3_output_path: "S3Uri", # required
  kms_key_id: "KmsKeyId",
  sns_topic_arn: "SnsTopicArn",
}

Output configuration information for a labeling job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The AWS Key Management Service ID of the key used to encrypt the output data, if any.

If you provide your own KMS key ID, you must add the required permissions to your KMS key described in Encrypt Output Data and Storage Volume with AWS KMS.

If you don't provide a KMS key ID, Amazon SageMaker uses the default AWS KMS key for Amazon S3 for your role's account to encrypt your output data.

If you use a bucket policy with an s3:PutObject permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

Returns:

  • (String)


19759
19760
19761
19762
19763
19764
19765
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19759

class LabelingJobOutputConfig < Struct.new(
  :s3_output_path,
  :kms_key_id,
  :sns_topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#s3_output_pathString

The Amazon S3 location to write output data.

Returns:

  • (String)


19759
19760
19761
19762
19763
19764
19765
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19759

class LabelingJobOutputConfig < Struct.new(
  :s3_output_path,
  :kms_key_id,
  :sns_topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sns_topic_arnString

An Amazon Simple Notification Service (Amazon SNS) output topic ARN. Provide a SnsTopicArn if you want to do real time chaining to another streaming job and receive an Amazon SNS notifications each time a data object is submitted by a worker.

If you provide an SnsTopicArn in OutputConfig, when workers complete labeling tasks, Ground Truth will send labeling task output data to the SNS output topic you specify here.

To learn more, see Receive Output Data from a Streaming Labeling Job.

Returns:

  • (String)


19759
19760
19761
19762
19763
19764
19765
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19759

class LabelingJobOutputConfig < Struct.new(
  :s3_output_path,
  :kms_key_id,
  :sns_topic_arn)
  SENSITIVE = []
  include Aws::Structure
end