Class: AWSCDK::QuickSight::CfnDataSource::AuroraParametersProperty

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

Overview

Parameters for Amazon Aurora.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AuroraParametersProperty.

Parameters:

  • database (String)

    Database.

  • host (String)

    Host.

  • port (Numeric)

    Port.



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

#databaseString (readonly)

Database.



840
841
842
# File 'quick_sight/cfn_data_source.rb', line 840

def database
  @database
end

#hostString (readonly)

Host.



845
846
847
# File 'quick_sight/cfn_data_source.rb', line 845

def host
  @host
end

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



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_jsiiObject



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