Class: AWSCDK::Interfaces::AWSApptest::TestCaseReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSApptest::TestCaseReference
- Defined in:
- interfaces/aws_apptest/test_case_reference.rb
Overview
A reference to a TestCase resource.
Instance Attribute Summary collapse
-
#test_case_arn ⇒ String
readonly
The ARN of the TestCase resource.
-
#test_case_id ⇒ String
readonly
The TestCaseId of the TestCase resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(test_case_arn:, test_case_id:) ⇒ TestCaseReference
constructor
A new instance of TestCaseReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(test_case_arn:, test_case_id:) ⇒ TestCaseReference
Returns a new instance of TestCaseReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_apptest/test_case_reference.rb', line 9 def initialize(test_case_arn:, test_case_id:) @test_case_arn = test_case_arn Jsii::Type.check_type(@test_case_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "testCaseArn") @test_case_id = test_case_id Jsii::Type.check_type(@test_case_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "testCaseId") end |
Instance Attribute Details
#test_case_arn ⇒ String (readonly)
The ARN of the TestCase resource.
19 20 21 |
# File 'interfaces/aws_apptest/test_case_reference.rb', line 19 def test_case_arn @test_case_arn end |
#test_case_id ⇒ String (readonly)
The TestCaseId of the TestCase resource.
23 24 25 |
# File 'interfaces/aws_apptest/test_case_reference.rb', line 23 def test_case_id @test_case_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_apptest/test_case_reference.rb', line 25 def self.jsii_properties { :test_case_arn => "testCaseArn", :test_case_id => "testCaseId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_apptest/test_case_reference.rb', line 32 def to_jsii result = {} result.merge!({ "testCaseArn" => @test_case_arn, "testCaseId" => @test_case_id, }) result.compact end |