Class: AWSCDK::Codepipeline::CfnPipeline::RetryConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Codepipeline::CfnPipeline::RetryConfigurationProperty
- Defined in:
- codepipeline/cfn_pipeline.rb
Overview
The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.
Instance Attribute Summary collapse
-
#retry_mode ⇒ String?
readonly
The method that you want to configure for automatic stage retry on stage failure.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(retry_mode: nil) ⇒ RetryConfigurationProperty
constructor
A new instance of RetryConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(retry_mode: nil) ⇒ RetryConfigurationProperty
Returns a new instance of RetryConfigurationProperty.
1759 1760 1761 1762 |
# File 'codepipeline/cfn_pipeline.rb', line 1759 def initialize(retry_mode: nil) @retry_mode = retry_mode Jsii::Type.check_type(@retry_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "retryMode") unless @retry_mode.nil? end |
Instance Attribute Details
#retry_mode ⇒ String? (readonly)
The method that you want to configure for automatic stage retry on stage failure.
You can specify to retry only failed action in the stage or all actions in the stage.
1770 1771 1772 |
# File 'codepipeline/cfn_pipeline.rb', line 1770 def retry_mode @retry_mode end |
Class Method Details
.jsii_properties ⇒ Object
1772 1773 1774 1775 1776 |
# File 'codepipeline/cfn_pipeline.rb', line 1772 def self.jsii_properties { :retry_mode => "retryMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1778 1779 1780 1781 1782 1783 1784 |
# File 'codepipeline/cfn_pipeline.rb', line 1778 def to_jsii result = {} result.merge!({ "retryMode" => @retry_mode, }) result.compact end |