Class: AWSCDK::Apptest::CfnTestCase::MainframeActionTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::MainframeActionTypeProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies the mainframe action type.
Instance Attribute Summary collapse
-
#batch ⇒ AWSCDK::IResolvable, ...
readonly
The batch of the mainframe action type.
-
#tn3270 ⇒ AWSCDK::IResolvable, ...
readonly
The tn3270 port of the mainframe action type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(batch: nil, tn3270: nil) ⇒ MainframeActionTypeProperty
constructor
A new instance of MainframeActionTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(batch: nil, tn3270: nil) ⇒ MainframeActionTypeProperty
Returns a new instance of MainframeActionTypeProperty.
1239 1240 1241 1242 1243 1244 |
# File 'apptest/cfn_test_case.rb', line 1239 def initialize(batch: nil, tn3270: nil) @batch = batch.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::BatchProperty.new(**batch.transform_keys(&:to_sym)) : batch Jsii::Type.check_type(@batch, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLkJhdGNoUHJvcGVydHkifV19fQ==")), "batch") unless @batch.nil? @tn3270 = tn3270.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::TN3270Property.new(**tn3270.transform_keys(&:to_sym)) : tn3270 Jsii::Type.check_type(@tn3270, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLlROMzI3MFByb3BlcnR5In1dfX0=")), "tn3270") unless @tn3270.nil? end |
Instance Attribute Details
#batch ⇒ AWSCDK::IResolvable, ... (readonly)
The batch of the mainframe action type.
1250 1251 1252 |
# File 'apptest/cfn_test_case.rb', line 1250 def batch @batch end |
#tn3270 ⇒ AWSCDK::IResolvable, ... (readonly)
The tn3270 port of the mainframe action type.
1255 1256 1257 |
# File 'apptest/cfn_test_case.rb', line 1255 def tn3270 @tn3270 end |
Class Method Details
.jsii_properties ⇒ Object
1257 1258 1259 1260 1261 1262 |
# File 'apptest/cfn_test_case.rb', line 1257 def self.jsii_properties { :batch => "batch", :tn3270 => "tn3270", } end |
Instance Method Details
#to_jsii ⇒ Object
1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'apptest/cfn_test_case.rb', line 1264 def to_jsii result = {} result.merge!({ "batch" => @batch, "tn3270" => @tn3270, }) result.compact end |