Class: AWSCDK::QuickSight::CfnDataSource::PrestoParametersProperty

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

Overview

The parameters for Presto.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalog:, host:, port:) ⇒ PrestoParametersProperty

Returns a new instance of PrestoParametersProperty.

Parameters:

  • catalog (String)

    Catalog.

  • host (String)

    Host.

  • port (Numeric)

    Port.



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

#catalogString (readonly)

Catalog.



1825
1826
1827
# File 'quick_sight/cfn_data_source.rb', line 1825

def catalog
  @catalog
end

#hostString (readonly)

Host.



1830
1831
1832
# File 'quick_sight/cfn_data_source.rb', line 1830

def host
  @host
end

#portNumeric (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_propertiesObject



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_jsiiObject



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