Class: AWSCDK::QuickSight::CfnDataSource::PostgreSqlParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::PostgreSqlParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
The parameters for PostgreSQL.
Instance Attribute Summary collapse
-
#database ⇒ String
readonly
Database.
-
#host ⇒ String
readonly
Host.
-
#port ⇒ Numeric
readonly
Port.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database:, host:, port:) ⇒ PostgreSqlParametersProperty
constructor
A new instance of PostgreSqlParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database:, host:, port:) ⇒ PostgreSqlParametersProperty
Returns a new instance of PostgreSqlParametersProperty.
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
#database ⇒ String (readonly)
Database.
1771 1772 1773 |
# File 'quick_sight/cfn_data_source.rb', line 1771 def database @database end |
#host ⇒ String (readonly)
Host.
1776 1777 1778 |
# File 'quick_sight/cfn_data_source.rb', line 1776 def host @host end |
#port ⇒ Numeric (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_properties ⇒ Object
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_jsii ⇒ Object
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 |