Class: AWSCDK::Apptest::CfnTestCase::TargetDatabaseMetadataProperty

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

Overview

Specifies a target database metadata.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(capture_tool:, type:) ⇒ TargetDatabaseMetadataProperty

Returns a new instance of TargetDatabaseMetadataProperty.

Parameters:

  • capture_tool (String)

    The capture tool of the target database metadata.

  • type (String)

    The type of the target database metadata.



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_toolString (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

#typeString (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_propertiesObject



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_jsiiObject



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