You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
}

Output configuration information for a labeling job.

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 use a KMS key ID or an alias of your master key, the Amazon SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. Amazon SageMaker uses server-side encryption with KMS-managed keys for LabelingJobOutputConfig. 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.

The KMS key policy must grant permission to the IAM role that you specify in your CreateLabelingJob request. For more information, see Using Key Policies in AWS KMS in the AWS Key Management Service Developer Guide.

Returns:

  • (String)


7032
7033
7034
7035
7036
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7032

class LabelingJobOutputConfig < Struct.new(
  :s3_output_path,
  :kms_key_id)
  include Aws::Structure
end

#s3_output_pathString

The Amazon S3 location to write output data.

Returns:

  • (String)


7032
7033
7034
7035
7036
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7032

class LabelingJobOutputConfig < Struct.new(
  :s3_output_path,
  :kms_key_id)
  include Aws::Structure
end