Class: AWSCDK::StepFunctionsTasks::TransformOutput
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctionsTasks::TransformOutput
- Defined in:
- step_functions_tasks/transform_output.rb
Overview
S3 location where you want Amazon SageMaker to save the results from the transform job.
Instance Attribute Summary collapse
-
#accept ⇒ String?
readonly
MIME type used to specify the output data.
-
#assemble_with ⇒ AWSCDK::StepFunctionsTasks::AssembleWith?
readonly
Defines how to assemble the results of the transform job as a single S3 object.
-
#encryption_key ⇒ AWSCDK::Interfaces::AWSKMS::IKeyRef?
readonly
AWS KMS key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
-
#s3_output_path ⇒ String
readonly
S3 path where you want Amazon SageMaker to store the results of the transform job.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_output_path:, accept: nil, assemble_with: nil, encryption_key: nil) ⇒ TransformOutput
constructor
A new instance of TransformOutput.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_output_path:, accept: nil, assemble_with: nil, encryption_key: nil) ⇒ TransformOutput
Returns a new instance of TransformOutput.
11 12 13 14 15 16 17 18 19 20 |
# File 'step_functions_tasks/transform_output.rb', line 11 def initialize(s3_output_path:, accept: nil, assemble_with: nil, encryption_key: nil) @s3_output_path = s3_output_path Jsii::Type.check_type(@s3_output_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3OutputPath") @accept = accept Jsii::Type.check_type(@accept, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accept") unless @accept.nil? @assemble_with = assemble_with Jsii::Type.check_type(@assemble_with, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5Bc3NlbWJsZVdpdGgifQ==")), "assembleWith") unless @assemble_with.nil? @encryption_key = encryption_key Jsii::Type.check_type(@encryption_key, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19rbXMuSUtleVJlZiJ9")), "encryptionKey") unless @encryption_key.nil? end |
Instance Attribute Details
#accept ⇒ String? (readonly)
Default: - None
MIME type used to specify the output data.
30 31 32 |
# File 'step_functions_tasks/transform_output.rb', line 30 def accept @accept end |
#assemble_with ⇒ AWSCDK::StepFunctionsTasks::AssembleWith? (readonly)
Default: - None
Defines how to assemble the results of the transform job as a single S3 object.
35 36 37 |
# File 'step_functions_tasks/transform_output.rb', line 35 def assemble_with @assemble_with end |
#encryption_key ⇒ AWSCDK::Interfaces::AWSKMS::IKeyRef? (readonly)
Default: - default KMS key for Amazon S3 for your role's account.
AWS KMS key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
40 41 42 |
# File 'step_functions_tasks/transform_output.rb', line 40 def encryption_key @encryption_key end |
#s3_output_path ⇒ String (readonly)
S3 path where you want Amazon SageMaker to store the results of the transform job.
25 26 27 |
# File 'step_functions_tasks/transform_output.rb', line 25 def s3_output_path @s3_output_path end |
Class Method Details
.jsii_properties ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'step_functions_tasks/transform_output.rb', line 42 def self.jsii_properties { :s3_output_path => "s3OutputPath", :accept => "accept", :assemble_with => "assembleWith", :encryption_key => "encryptionKey", } end |
Instance Method Details
#to_jsii ⇒ Object
51 52 53 54 55 56 57 58 59 60 |
# File 'step_functions_tasks/transform_output.rb', line 51 def to_jsii result = {} result.merge!({ "s3OutputPath" => @s3_output_path, "accept" => @accept, "assembleWith" => @assemble_with, "encryptionKey" => @encryption_key, }) result.compact end |