Class: AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_processing_job.rb

Overview

Configuration for uploading output from the processing container.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(outputs:, kms_key_id: nil) ⇒ ProcessingOutputConfigProperty

Returns a new instance of ProcessingOutputConfigProperty.

Parameters:



1283
1284
1285
1286
1287
1288
# File 'sagemaker/cfn_processing_job.rb', line 1283

def initialize(outputs:, kms_key_id: nil)
  @outputs = outputs
  Jsii::Type.check_type(@outputs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2FnZW1ha2VyLkNmblByb2Nlc3NpbmdKb2IuUHJvY2Vzc2luZ091dHB1dHNPYmplY3RQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "outputs")
  @kms_key_id = kms_key_id
  Jsii::Type.check_type(@kms_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyId") unless @kms_key_id.nil?
end

Instance Attribute Details

#kms_key_idString? (readonly)

The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the processing job output.

KmsKeyId can be an ID of a KMS key, ARN of a KMS key, or alias of a KMS key. The KmsKeyId is applied to all outputs.



1301
1302
1303
# File 'sagemaker/cfn_processing_job.rb', line 1301

def kms_key_id
  @kms_key_id
end

Class Method Details

.jsii_propertiesObject



1303
1304
1305
1306
1307
1308
# File 'sagemaker/cfn_processing_job.rb', line 1303

def self.jsii_properties
  {
    :outputs => "outputs",
    :kms_key_id => "kmsKeyId",
  }
end

Instance Method Details

#to_jsiiObject



1310
1311
1312
1313
1314
1315
1316
1317
# File 'sagemaker/cfn_processing_job.rb', line 1310

def to_jsii
  result = {}
  result.merge!({
    "outputs" => @outputs,
    "kmsKeyId" => @kms_key_id,
  })
  result.compact
end