Class: AWSCDK::IoTAnalytics::CfnDataset::GlueConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_analytics/cfn_dataset.rb

Overview

Configuration information for coordination with AWS Glue , a fully managed extract, transform and load (ETL) service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database_name:, table_name:) ⇒ GlueConfigurationProperty

Returns a new instance of GlueConfigurationProperty.

Parameters:

  • database_name (String)

    The name of the database in your AWS Glue Data Catalog in which the table is located.

  • table_name (String)

    The name of the table in your AWS Glue Data Catalog that is used to perform the ETL operations.



986
987
988
989
990
991
# File 'io_t_analytics/cfn_dataset.rb', line 986

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

Instance Attribute Details

#database_nameString (readonly)

The name of the database in your AWS Glue Data Catalog in which the table is located.

An AWS Glue Data Catalog database contains metadata tables.



999
1000
1001
# File 'io_t_analytics/cfn_dataset.rb', line 999

def database_name
  @database_name
end

#table_nameString (readonly)

The name of the table in your AWS Glue Data Catalog that is used to perform the ETL operations.

An AWS Glue Data Catalog table contains partitioned data and descriptions of data sources and targets.



1006
1007
1008
# File 'io_t_analytics/cfn_dataset.rb', line 1006

def table_name
  @table_name
end

Class Method Details

.jsii_propertiesObject



1008
1009
1010
1011
1012
1013
# File 'io_t_analytics/cfn_dataset.rb', line 1008

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

Instance Method Details

#to_jsiiObject



1015
1016
1017
1018
1019
1020
1021
1022
# File 'io_t_analytics/cfn_dataset.rb', line 1015

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