Class: AWSCDK::Apptest::CfnTestCase::InputProperty

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

Overview

Specifies the input.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file:) ⇒ InputProperty

Returns a new instance of InputProperty.

Parameters:



980
981
982
983
# File 'apptest/cfn_test_case.rb', line 980

def initialize(file:)
  @file = file.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::InputFileProperty.new(**file.transform_keys(&:to_sym)) : file
  Jsii::Type.check_type(@file, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLklucHV0RmlsZVByb3BlcnR5In1dfX0=")), "file")
end

Class Method Details

.jsii_propertiesObject



991
992
993
994
995
# File 'apptest/cfn_test_case.rb', line 991

def self.jsii_properties
  {
    :file => "file",
  }
end

Instance Method Details

#to_jsiiObject



997
998
999
1000
1001
1002
1003
# File 'apptest/cfn_test_case.rb', line 997

def to_jsii
  result = {}
  result.merge!({
    "file" => @file,
  })
  result.compact
end