Class: AWSCDK::Glue::CfnDataQualityRuleset::DataQualityTargetTableProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_data_quality_ruleset.rb

Overview

An object representing an AWS Glue table.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database_name: nil, table_name: nil) ⇒ DataQualityTargetTableProperty

Returns a new instance of DataQualityTargetTableProperty.

Parameters:

  • database_name (String, nil) (defaults to: nil)

    The name of the database where the AWS Glue table exists.

  • table_name (String, nil) (defaults to: nil)

    The name of the AWS Glue table.



576
577
578
579
580
581
# File 'glue/cfn_data_quality_ruleset.rb', line 576

def initialize(database_name: nil, table_name: nil)
  @database_name = database_name
  Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") unless @database_name.nil?
  @table_name = table_name
  Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") unless @table_name.nil?
end

Instance Attribute Details

#database_nameString? (readonly)

The name of the database where the AWS Glue table exists.



587
588
589
# File 'glue/cfn_data_quality_ruleset.rb', line 587

def database_name
  @database_name
end

#table_nameString? (readonly)

The name of the AWS Glue table.



592
593
594
# File 'glue/cfn_data_quality_ruleset.rb', line 592

def table_name
  @table_name
end

Class Method Details

.jsii_propertiesObject



594
595
596
597
598
599
# File 'glue/cfn_data_quality_ruleset.rb', line 594

def self.jsii_properties
  {
    :database_name => "databaseName",
    :table_name => "tableName",
  }
end

Instance Method Details

#to_jsiiObject



601
602
603
604
605
606
607
608
# File 'glue/cfn_data_quality_ruleset.rb', line 601

def to_jsii
  result = {}
  result.merge!({
    "databaseName" => @database_name,
    "tableName" => @table_name,
  })
  result.compact
end