Class: AWSCDK::QuickSight::CfnDataSource::AuroraParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::AuroraParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
Parameters for Amazon Aurora.
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:) ⇒ AuroraParametersProperty
constructor
A new instance of AuroraParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database:, host:, port:) ⇒ AuroraParametersProperty
Returns a new instance of AuroraParametersProperty.
827 828 829 830 831 832 833 834 |
# File 'quick_sight/cfn_data_source.rb', line 827 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.
840 841 842 |
# File 'quick_sight/cfn_data_source.rb', line 840 def database @database end |
#host ⇒ String (readonly)
Host.
845 846 847 |
# File 'quick_sight/cfn_data_source.rb', line 845 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
Port.
851 852 853 |
# File 'quick_sight/cfn_data_source.rb', line 851 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
853 854 855 856 857 858 859 |
# File 'quick_sight/cfn_data_source.rb', line 853 def self.jsii_properties { :database => "database", :host => "host", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
861 862 863 864 865 866 867 868 869 |
# File 'quick_sight/cfn_data_source.rb', line 861 def to_jsii result = {} result.merge!({ "database" => @database, "host" => @host, "port" => @port, }) result.compact end |