Class: AWSCDK::ARCRegionSwitch::CfnPlan::LambdaUngracefulProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::LambdaUngracefulProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Configuration for handling failures when invoking Lambda functions.
Instance Attribute Summary collapse
-
#behavior ⇒ String?
readonly
The ungraceful behavior for a Lambda function, which must be set to
skip.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(behavior: nil) ⇒ LambdaUngracefulProperty
constructor
A new instance of LambdaUngracefulProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(behavior: nil) ⇒ LambdaUngracefulProperty
Returns a new instance of LambdaUngracefulProperty.
2272 2273 2274 2275 |
# File 'arc_region_switch/cfn_plan.rb', line 2272 def initialize(behavior: nil) @behavior = behavior Jsii::Type.check_type(@behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "behavior") unless @behavior.nil? end |
Instance Attribute Details
#behavior ⇒ String? (readonly)
The ungraceful behavior for a Lambda function, which must be set to skip .
2281 2282 2283 |
# File 'arc_region_switch/cfn_plan.rb', line 2281 def behavior @behavior end |
Class Method Details
.jsii_properties ⇒ Object
2283 2284 2285 2286 2287 |
# File 'arc_region_switch/cfn_plan.rb', line 2283 def self.jsii_properties { :behavior => "behavior", } end |
Instance Method Details
#to_jsii ⇒ Object
2289 2290 2291 2292 2293 2294 2295 |
# File 'arc_region_switch/cfn_plan.rb', line 2289 def to_jsii result = {} result.merge!({ "behavior" => @behavior, }) result.compact end |