Class: AWSCDK::Apptest::CfnTestCase::ScriptProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::ScriptProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies the script.
Instance Attribute Summary collapse
-
#script_location ⇒ String
readonly
The script location of the scripts.
-
#type ⇒ String
readonly
The type of the scripts.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(script_location:, type:) ⇒ ScriptProperty
constructor
A new instance of ScriptProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(script_location:, type:) ⇒ ScriptProperty
Returns a new instance of ScriptProperty.
1401 1402 1403 1404 1405 1406 |
# File 'apptest/cfn_test_case.rb', line 1401 def initialize(script_location:, type:) @script_location = script_location Jsii::Type.check_type(@script_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scriptLocation") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#script_location ⇒ String (readonly)
The script location of the scripts.
1412 1413 1414 |
# File 'apptest/cfn_test_case.rb', line 1412 def script_location @script_location end |
#type ⇒ String (readonly)
The type of the scripts.
1417 1418 1419 |
# File 'apptest/cfn_test_case.rb', line 1417 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1419 1420 1421 1422 1423 1424 |
# File 'apptest/cfn_test_case.rb', line 1419 def self.jsii_properties { :script_location => "scriptLocation", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1426 1427 1428 1429 1430 1431 1432 1433 |
# File 'apptest/cfn_test_case.rb', line 1426 def to_jsii result = {} result.merge!({ "scriptLocation" => @script_location, "type" => @type, }) result.compact end |