Class: AWSCDK::ARCRegionSwitch::CfnPlan::LambdaUngracefulProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
arc_region_switch/cfn_plan.rb

Overview

Configuration for handling failures when invoking Lambda functions.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(behavior: nil) ⇒ LambdaUngracefulProperty

Returns a new instance of LambdaUngracefulProperty.

Parameters:

  • behavior (String, nil) (defaults to: nil)

    The ungraceful behavior for a Lambda function, which must be set to skip .



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

#behaviorString? (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_propertiesObject



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_jsiiObject



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