Class: AWSCDK::QuickSight::CfnDataSource::PostgreSqlParametersProperty

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

Overview

The parameters for PostgreSQL.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database:, host:, port:) ⇒ PostgreSqlParametersProperty

Returns a new instance of PostgreSqlParametersProperty.

Parameters:

  • database (String)

    Database.

  • host (String)

    Host.

  • port (Numeric)

    Port.



1758
1759
1760
1761
1762
1763
1764
1765
# File 'quick_sight/cfn_data_source.rb', line 1758

def initialize(database:, host:, port:)
  @database = database
  Jsii::Type.check_type(@database, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "database")
  @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

#databaseString (readonly)

Database.



1771
1772
1773
# File 'quick_sight/cfn_data_source.rb', line 1771

def database
  @database
end

#hostString (readonly)

Host.



1776
1777
1778
# File 'quick_sight/cfn_data_source.rb', line 1776

def host
  @host
end

#portNumeric (readonly)

Note:

Default: - 0

Port.



1782
1783
1784
# File 'quick_sight/cfn_data_source.rb', line 1782

def port
  @port
end

Class Method Details

.jsii_propertiesObject



1784
1785
1786
1787
1788
1789
1790
# File 'quick_sight/cfn_data_source.rb', line 1784

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

Instance Method Details

#to_jsiiObject



1792
1793
1794
1795
1796
1797
1798
1799
1800
# File 'quick_sight/cfn_data_source.rb', line 1792

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