Class: AWSCDK::Apptest::CfnTestCase::StepActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::StepActionProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies a step action.
Instance Attribute Summary collapse
-
#compare_action ⇒ AWSCDK::IResolvable, ...
readonly
The compare action of the step action.
-
#mainframe_action ⇒ AWSCDK::IResolvable, ...
readonly
The mainframe action of the step action.
-
#resource_action ⇒ AWSCDK::IResolvable, ...
readonly
The resource action of the step action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(compare_action: nil, mainframe_action: nil, resource_action: nil) ⇒ StepActionProperty
constructor
A new instance of StepActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(compare_action: nil, mainframe_action: nil, resource_action: nil) ⇒ StepActionProperty
Returns a new instance of StepActionProperty.
1488 1489 1490 1491 1492 1493 1494 1495 |
# File 'apptest/cfn_test_case.rb', line 1488 def initialize(compare_action: nil, mainframe_action: nil, resource_action: nil) @compare_action = compare_action.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::CompareActionProperty.new(**compare_action.transform_keys(&:to_sym)) : compare_action Jsii::Type.check_type(@compare_action, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLkNvbXBhcmVBY3Rpb25Qcm9wZXJ0eSJ9XX19")), "compareAction") unless @compare_action.nil? @mainframe_action = mainframe_action.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::MainframeActionProperty.new(**mainframe_action.transform_keys(&:to_sym)) : mainframe_action Jsii::Type.check_type(@mainframe_action, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLk1haW5mcmFtZUFjdGlvblByb3BlcnR5In1dfX0=")), "mainframeAction") unless @mainframe_action.nil? @resource_action = resource_action.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::ResourceActionProperty.new(**resource_action.transform_keys(&:to_sym)) : resource_action Jsii::Type.check_type(@resource_action, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLlJlc291cmNlQWN0aW9uUHJvcGVydHkifV19fQ==")), "resourceAction") unless @resource_action.nil? end |
Instance Attribute Details
#compare_action ⇒ AWSCDK::IResolvable, ... (readonly)
The compare action of the step action.
1501 1502 1503 |
# File 'apptest/cfn_test_case.rb', line 1501 def compare_action @compare_action end |
#mainframe_action ⇒ AWSCDK::IResolvable, ... (readonly)
The mainframe action of the step action.
1506 1507 1508 |
# File 'apptest/cfn_test_case.rb', line 1506 def mainframe_action @mainframe_action end |
#resource_action ⇒ AWSCDK::IResolvable, ... (readonly)
The resource action of the step action.
1511 1512 1513 |
# File 'apptest/cfn_test_case.rb', line 1511 def resource_action @resource_action end |
Class Method Details
.jsii_properties ⇒ Object
1513 1514 1515 1516 1517 1518 1519 |
# File 'apptest/cfn_test_case.rb', line 1513 def self.jsii_properties { :compare_action => "compareAction", :mainframe_action => "mainframeAction", :resource_action => "resourceAction", } end |
Instance Method Details
#to_jsii ⇒ Object
1521 1522 1523 1524 1525 1526 1527 1528 1529 |
# File 'apptest/cfn_test_case.rb', line 1521 def to_jsii result = {} result.merge!({ "compareAction" => @compare_action, "mainframeAction" => @mainframe_action, "resourceAction" => @resource_action, }) result.compact end |