Class: AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputConfigProperty
- Defined in:
- sagemaker/cfn_processing_job.rb
Overview
Configuration for uploading output from the processing container.
Instance Attribute Summary collapse
-
#kms_key_id ⇒ String?
readonly
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the processing job output.
-
#outputs ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputsObjectProperty>
readonly
An array of outputs configuring the data to upload from the processing container.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(outputs:, kms_key_id: nil) ⇒ ProcessingOutputConfigProperty
constructor
A new instance of ProcessingOutputConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(outputs:, kms_key_id: nil) ⇒ ProcessingOutputConfigProperty
Returns a new instance of ProcessingOutputConfigProperty.
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_id ⇒ String? (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 |
#outputs ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnProcessingJob::ProcessingOutputsObjectProperty> (readonly)
An array of outputs configuring the data to upload from the processing container.
1294 1295 1296 |
# File 'sagemaker/cfn_processing_job.rb', line 1294 def outputs @outputs end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |