Class: AWSCDK::QuickSight::CfnDataSource::DatabricksParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_data_source.rb

Overview

The required parameters that are needed to connect to a Databricks data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host:, port:, sql_endpoint_path:) ⇒ DatabricksParametersProperty

Returns a new instance of DatabricksParametersProperty.

Parameters:

  • host (String)

    The host name of the Databricks data source.

  • port (Numeric)

    The port for the Databricks data source.

  • sql_endpoint_path (String)

    The HTTP path of the Databricks data source.



1335
1336
1337
1338
1339
1340
1341
1342
# File 'quick_sight/cfn_data_source.rb', line 1335

def initialize(host:, port:, sql_endpoint_path:)
  @host = host
  Jsii::Type.check_type(@host, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "host")
  @port = port
  Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port")
  @sql_endpoint_path = sql_endpoint_path
  Jsii::Type.check_type(@sql_endpoint_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sqlEndpointPath")
end

Instance Attribute Details

#hostString (readonly)

The host name of the Databricks data source.



1348
1349
1350
# File 'quick_sight/cfn_data_source.rb', line 1348

def host
  @host
end

#portNumeric (readonly)

Note:

Default: - 0

The port for the Databricks data source.



1354
1355
1356
# File 'quick_sight/cfn_data_source.rb', line 1354

def port
  @port
end

#sql_endpoint_pathString (readonly)

The HTTP path of the Databricks data source.



1359
1360
1361
# File 'quick_sight/cfn_data_source.rb', line 1359

def sql_endpoint_path
  @sql_endpoint_path
end

Class Method Details

.jsii_propertiesObject



1361
1362
1363
1364
1365
1366
1367
# File 'quick_sight/cfn_data_source.rb', line 1361

def self.jsii_properties
  {
    :host => "host",
    :port => "port",
    :sql_endpoint_path => "sqlEndpointPath",
  }
end

Instance Method Details

#to_jsiiObject



1369
1370
1371
1372
1373
1374
1375
1376
1377
# File 'quick_sight/cfn_data_source.rb', line 1369

def to_jsii
  result = {}
  result.merge!({
    "host" => @host,
    "port" => @port,
    "sqlEndpointPath" => @sql_endpoint_path,
  })
  result.compact
end