Class: AWSCDK::Apptest::CfnTestCase::MainframeActionTypeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
apptest/cfn_test_case.rb

Overview

Specifies the mainframe action type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batch: nil, tn3270: nil) ⇒ MainframeActionTypeProperty

Returns a new instance of MainframeActionTypeProperty.

Parameters:



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

#batchAWSCDK::IResolvable, ... (readonly)

The batch of the mainframe action type.



1250
1251
1252
# File 'apptest/cfn_test_case.rb', line 1250

def batch
  @batch
end

#tn3270AWSCDK::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_propertiesObject



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_jsiiObject



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