Class: AWSCDK::QuickSight::CfnDataSource::AuroraPostgreSqlParametersProperty

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

Overview

Parameters for Amazon Aurora PostgreSQL-Compatible Edition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AuroraPostgreSqlParametersProperty.

Parameters:

  • database (String)

    The Amazon Aurora PostgreSQL database to connect to.

  • host (String)

    The Amazon Aurora PostgreSQL-Compatible host to connect to.

  • port (Numeric)

    The port that Amazon Aurora PostgreSQL is listening on.



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

#databaseString (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

#hostString (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

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



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_jsiiObject



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