Class: AWSCDK::QuickSight::CfnDataSource::TrinoParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::TrinoParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
The parameters that are required to connect to a Trino data source.
Instance Attribute Summary collapse
-
#catalog ⇒ String
readonly
The catalog name for the Trino data source.
-
#host ⇒ String
readonly
The host name of the Trino data source.
-
#port ⇒ Numeric
readonly
The port for the Trino data source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog:, host:, port:) ⇒ TrinoParametersProperty
constructor
A new instance of TrinoParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog:, host:, port:) ⇒ TrinoParametersProperty
Returns a new instance of TrinoParametersProperty.
2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'quick_sight/cfn_data_source.rb', line 2577 def initialize(catalog:, host:, port:) @catalog = catalog Jsii::Type.check_type(@catalog, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalog") @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") end |
Instance Attribute Details
#catalog ⇒ String (readonly)
The catalog name for the Trino data source.
2590 2591 2592 |
# File 'quick_sight/cfn_data_source.rb', line 2590 def catalog @catalog end |
#host ⇒ String (readonly)
The host name of the Trino data source.
2595 2596 2597 |
# File 'quick_sight/cfn_data_source.rb', line 2595 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
The port for the Trino data source.
2601 2602 2603 |
# File 'quick_sight/cfn_data_source.rb', line 2601 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
2603 2604 2605 2606 2607 2608 2609 |
# File 'quick_sight/cfn_data_source.rb', line 2603 def self.jsii_properties { :catalog => "catalog", :host => "host", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
2611 2612 2613 2614 2615 2616 2617 2618 2619 |
# File 'quick_sight/cfn_data_source.rb', line 2611 def to_jsii result = {} result.merge!({ "catalog" => @catalog, "host" => @host, "port" => @port, }) result.compact end |