Class: AWSCDK::QuickSight::CfnDataSource::PrestoParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::PrestoParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
The parameters for Presto.
Instance Attribute Summary collapse
-
#catalog ⇒ String
readonly
Catalog.
-
#host ⇒ String
readonly
Host.
-
#port ⇒ Numeric
readonly
Port.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog:, host:, port:) ⇒ PrestoParametersProperty
constructor
A new instance of PrestoParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog:, host:, port:) ⇒ PrestoParametersProperty
Returns a new instance of PrestoParametersProperty.
1812 1813 1814 1815 1816 1817 1818 1819 |
# File 'quick_sight/cfn_data_source.rb', line 1812 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)
Catalog.
1825 1826 1827 |
# File 'quick_sight/cfn_data_source.rb', line 1825 def catalog @catalog end |
#host ⇒ String (readonly)
Host.
1830 1831 1832 |
# File 'quick_sight/cfn_data_source.rb', line 1830 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
Port.
1836 1837 1838 |
# File 'quick_sight/cfn_data_source.rb', line 1836 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
1838 1839 1840 1841 1842 1843 1844 |
# File 'quick_sight/cfn_data_source.rb', line 1838 def self.jsii_properties { :catalog => "catalog", :host => "host", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
1846 1847 1848 1849 1850 1851 1852 1853 1854 |
# File 'quick_sight/cfn_data_source.rb', line 1846 def to_jsii result = {} result.merge!({ "catalog" => @catalog, "host" => @host, "port" => @port, }) result.compact end |