Class: AWSCDK::QuickSight::CfnDataSource::AuroraPostgreSqlParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::AuroraPostgreSqlParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
Parameters for Amazon Aurora PostgreSQL-Compatible Edition.
Instance Attribute Summary collapse
-
#database ⇒ String
readonly
The Amazon Aurora PostgreSQL database to connect to.
-
#host ⇒ String
readonly
The Amazon Aurora PostgreSQL-Compatible host to connect to.
-
#port ⇒ Numeric
readonly
The port that Amazon Aurora PostgreSQL is listening on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database:, host:, port:) ⇒ AuroraPostgreSqlParametersProperty
constructor
A new instance of AuroraPostgreSqlParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database:, host:, port:) ⇒ AuroraPostgreSqlParametersProperty
Returns a new instance of AuroraPostgreSqlParametersProperty.
881 882 883 884 885 886 887 888 |
# File 'quick_sight/cfn_data_source.rb', line 881 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)
The Amazon Aurora PostgreSQL database to connect to.
894 895 896 |
# File 'quick_sight/cfn_data_source.rb', line 894 def database @database end |
#host ⇒ String (readonly)
The Amazon Aurora PostgreSQL-Compatible host to connect to.
899 900 901 |
# File 'quick_sight/cfn_data_source.rb', line 899 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
The port that Amazon Aurora PostgreSQL is listening on.
905 906 907 |
# File 'quick_sight/cfn_data_source.rb', line 905 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
907 908 909 910 911 912 913 |
# File 'quick_sight/cfn_data_source.rb', line 907 def self.jsii_properties { :database => "database", :host => "host", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
915 916 917 918 919 920 921 922 923 |
# File 'quick_sight/cfn_data_source.rb', line 915 def to_jsii result = {} result.merge!({ "database" => @database, "host" => @host, "port" => @port, }) result.compact end |