Class: AWSCDK::StepFunctions::ResultWriterProps Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctions::ResultWriterProps
- Defined in:
- step_functions/result_writer_props.rb
Overview
Deprecated.
use {@link ResultWriterV2Props } instead
Interface for Result Writer configuration props.
Instance Attribute Summary collapse
-
#bucket ⇒ AWSCDK::S3::IBucket
readonly
S3 Bucket in which to save Map Run results.
-
#prefix ⇒ String?
readonly
S3 prefix in which to save Map Run results.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, prefix: nil) ⇒ ResultWriterProps
constructor
A new instance of ResultWriterProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, prefix: nil) ⇒ ResultWriterProps
Returns a new instance of ResultWriterProps.
11 12 13 14 15 16 |
# File 'step_functions/result_writer_props.rb', line 11 def initialize(bucket:, prefix: nil) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczMuSUJ1Y2tldCJ9")), "bucket") @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil? end |
Instance Attribute Details
#bucket ⇒ AWSCDK::S3::IBucket (readonly)
S3 Bucket in which to save Map Run results.
21 22 23 |
# File 'step_functions/result_writer_props.rb', line 21 def bucket @bucket end |
#prefix ⇒ String? (readonly)
Note:
Default: - No prefix
S3 prefix in which to save Map Run results.
26 27 28 |
# File 'step_functions/result_writer_props.rb', line 26 def prefix @prefix end |
Class Method Details
.jsii_properties ⇒ Object
28 29 30 31 32 33 |
# File 'step_functions/result_writer_props.rb', line 28 def self.jsii_properties { :bucket => "bucket", :prefix => "prefix", } end |
Instance Method Details
#to_jsii ⇒ Object
35 36 37 38 39 40 41 42 |
# File 'step_functions/result_writer_props.rb', line 35 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "prefix" => @prefix, }) result.compact end |