Class: AWSCDK::Pipelines::WaveOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipelines::WaveOptions
- Defined in:
- pipelines/wave_options.rb
Overview
Options to pass to addWave.
Instance Attribute Summary collapse
-
#post ⇒ Array<AWSCDK::Pipelines::Step>?
readonly
Additional steps to run after all of the stages in the wave.
-
#pre ⇒ Array<AWSCDK::Pipelines::Step>?
readonly
Additional steps to run before any of the stages in the wave.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(post: nil, pre: nil) ⇒ WaveOptions
constructor
A new instance of WaveOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(post: nil, pre: nil) ⇒ WaveOptions
Returns a new instance of WaveOptions.
9 10 11 12 13 14 |
# File 'pipelines/wave_options.rb', line 9 def initialize(post: nil, pre: nil) @post = post Jsii::Type.check_type(@post, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLnBpcGVsaW5lcy5TdGVwIn0sImtpbmQiOiJhcnJheSJ9fQ==")), "post") unless @post.nil? @pre = pre Jsii::Type.check_type(@pre, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLnBpcGVsaW5lcy5TdGVwIn0sImtpbmQiOiJhcnJheSJ9fQ==")), "pre") unless @pre.nil? end |
Instance Attribute Details
#post ⇒ Array<AWSCDK::Pipelines::Step>? (readonly)
Note:
Default: - No additional steps
Additional steps to run after all of the stages in the wave.
20 21 22 |
# File 'pipelines/wave_options.rb', line 20 def post @post end |
#pre ⇒ Array<AWSCDK::Pipelines::Step>? (readonly)
Note:
Default: - No additional steps
Additional steps to run before any of the stages in the wave.
25 26 27 |
# File 'pipelines/wave_options.rb', line 25 def pre @pre end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'pipelines/wave_options.rb', line 27 def self.jsii_properties { :post => "post", :pre => "pre", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'pipelines/wave_options.rb', line 34 def to_jsii result = {} result.merge!({ "post" => @post, "pre" => @pre, }) result.compact end |