Class: AWSCDK::QuickSight::CfnDataSource::MySqlParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::MySqlParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
The parameters for MySQL.
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:) ⇒ MySqlParametersProperty
constructor
A new instance of MySqlParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database:, host:, port:) ⇒ MySqlParametersProperty
Returns a new instance of MySqlParametersProperty.
1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'quick_sight/cfn_data_source.rb', line 1572 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.
1585 1586 1587 |
# File 'quick_sight/cfn_data_source.rb', line 1585 def database @database end |
#host ⇒ String (readonly)
Host.
1590 1591 1592 |
# File 'quick_sight/cfn_data_source.rb', line 1590 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
Port.
1596 1597 1598 |
# File 'quick_sight/cfn_data_source.rb', line 1596 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
1598 1599 1600 1601 1602 1603 1604 |
# File 'quick_sight/cfn_data_source.rb', line 1598 def self.jsii_properties { :database => "database", :host => "host", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
1606 1607 1608 1609 1610 1611 1612 1613 1614 |
# File 'quick_sight/cfn_data_source.rb', line 1606 def to_jsii result = {} result.merge!({ "database" => @database, "host" => @host, "port" => @port, }) result.compact end |