Class: AWSCDK::QuickSight::CfnDataSource::MySqlParametersProperty

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

Overview

The parameters for MySQL.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of MySqlParametersProperty.

Parameters:

  • database (String)

    Database.

  • host (String)

    Host.

  • port (Numeric)

    Port.



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

#databaseString (readonly)

Database.



1585
1586
1587
# File 'quick_sight/cfn_data_source.rb', line 1585

def database
  @database
end

#hostString (readonly)

Host.



1590
1591
1592
# File 'quick_sight/cfn_data_source.rb', line 1590

def host
  @host
end

#portNumeric (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_propertiesObject



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_jsiiObject



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