Class: AWSCDK::Glue::CfnDataQualityRuleset::DataQualityTargetTableProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnDataQualityRuleset::DataQualityTargetTableProperty
- Defined in:
- glue/cfn_data_quality_ruleset.rb
Overview
An object representing an AWS Glue table.
Instance Attribute Summary collapse
-
#database_name ⇒ String?
readonly
The name of the database where the AWS Glue table exists.
-
#table_name ⇒ String?
readonly
The name of the AWS Glue table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database_name: nil, table_name: nil) ⇒ DataQualityTargetTableProperty
constructor
A new instance of DataQualityTargetTableProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database_name: nil, table_name: nil) ⇒ DataQualityTargetTableProperty
Returns a new instance of DataQualityTargetTableProperty.
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_name ⇒ String? (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_name ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |