Class: AWSCDK::Apptest::CfnTestCase::SourceDatabaseMetadataProperty

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

Overview

Specifies the source database metadata.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(capture_tool:, type:) ⇒ SourceDatabaseMetadataProperty

Returns a new instance of SourceDatabaseMetadataProperty.

Parameters:

  • capture_tool (String)

    The capture tool of the source database metadata.

  • type (String)

    The type of the source database metadata.



1444
1445
1446
1447
1448
1449
# File 'apptest/cfn_test_case.rb', line 1444

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 source database metadata.



1455
1456
1457
# File 'apptest/cfn_test_case.rb', line 1455

def capture_tool
  @capture_tool
end

#typeString (readonly)

The type of the source database metadata.



1460
1461
1462
# File 'apptest/cfn_test_case.rb', line 1460

def type
  @type
end

Class Method Details

.jsii_propertiesObject



1462
1463
1464
1465
1466
1467
# File 'apptest/cfn_test_case.rb', line 1462

def self.jsii_properties
  {
    :capture_tool => "captureTool",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



1469
1470
1471
1472
1473
1474
1475
1476
# File 'apptest/cfn_test_case.rb', line 1469

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