Class: AWSCDK::Apptest::CfnTestCase::TargetDatabaseMetadataProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::TargetDatabaseMetadataProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies a target database metadata.
Instance Attribute Summary collapse
-
#capture_tool ⇒ String
readonly
The capture tool of the target database metadata.
-
#type ⇒ String
readonly
The type of the target database metadata.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(capture_tool:, type:) ⇒ TargetDatabaseMetadataProperty
constructor
A new instance of TargetDatabaseMetadataProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(capture_tool:, type:) ⇒ TargetDatabaseMetadataProperty
Returns a new instance of TargetDatabaseMetadataProperty.
1636 1637 1638 1639 1640 1641 |
# File 'apptest/cfn_test_case.rb', line 1636 def initialize(capture_tool:, type:) @capture_tool = capture_tool Jsii::Type.check_type(@capture_tool, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "captureTool") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#capture_tool ⇒ String (readonly)
The capture tool of the target database metadata.
1647 1648 1649 |
# File 'apptest/cfn_test_case.rb', line 1647 def capture_tool @capture_tool end |
#type ⇒ String (readonly)
The type of the target database metadata.
1652 1653 1654 |
# File 'apptest/cfn_test_case.rb', line 1652 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1654 1655 1656 1657 1658 1659 |
# File 'apptest/cfn_test_case.rb', line 1654 def self.jsii_properties { :capture_tool => "captureTool", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1661 1662 1663 1664 1665 1666 1667 1668 |
# File 'apptest/cfn_test_case.rb', line 1661 def to_jsii result = {} result.merge!({ "captureTool" => @capture_tool, "type" => @type, }) result.compact end |