Class: AWSCDK::Apptest::CfnTestCase::M2NonManagedApplicationActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::M2NonManagedApplicationActionProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies the Mainframe Modernization non-managed application action.
Instance Attribute Summary collapse
-
#action_type ⇒ String
readonly
The action type of the Mainframe Modernization non-managed application action.
-
#resource ⇒ String
readonly
The resource of the Mainframe Modernization non-managed application action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action_type:, resource:) ⇒ M2NonManagedApplicationActionProperty
constructor
A new instance of M2NonManagedApplicationActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action_type:, resource:) ⇒ M2NonManagedApplicationActionProperty
Returns a new instance of M2NonManagedApplicationActionProperty.
1110 1111 1112 1113 1114 1115 |
# File 'apptest/cfn_test_case.rb', line 1110 def initialize(action_type:, resource:) @action_type = action_type Jsii::Type.check_type(@action_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "actionType") @resource = resource Jsii::Type.check_type(@resource, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resource") end |
Instance Attribute Details
#action_type ⇒ String (readonly)
The action type of the Mainframe Modernization non-managed application action.
1121 1122 1123 |
# File 'apptest/cfn_test_case.rb', line 1121 def action_type @action_type end |
#resource ⇒ String (readonly)
The resource of the Mainframe Modernization non-managed application action.
1126 1127 1128 |
# File 'apptest/cfn_test_case.rb', line 1126 def resource @resource end |
Class Method Details
.jsii_properties ⇒ Object
1128 1129 1130 1131 1132 1133 |
# File 'apptest/cfn_test_case.rb', line 1128 def self.jsii_properties { :action_type => "actionType", :resource => "resource", } end |
Instance Method Details
#to_jsii ⇒ Object
1135 1136 1137 1138 1139 1140 1141 1142 |
# File 'apptest/cfn_test_case.rb', line 1135 def to_jsii result = {} result.merge!({ "actionType" => @action_type, "resource" => @resource, }) result.compact end |