Class: AWSCDK::QuickSight::CfnDataSource::TeradataParametersProperty

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

Overview

The parameters for Teradata.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TeradataParametersProperty.

Parameters:

  • database (String)

    Database.

  • host (String)

    Host.

  • port (Numeric)

    Port.



2523
2524
2525
2526
2527
2528
2529
2530
# File 'quick_sight/cfn_data_source.rb', line 2523

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.



2536
2537
2538
# File 'quick_sight/cfn_data_source.rb', line 2536

def database
  @database
end

#hostString (readonly)

Host.



2541
2542
2543
# File 'quick_sight/cfn_data_source.rb', line 2541

def host
  @host
end

#portNumeric (readonly)

Note:

Default: - 0

Port.



2547
2548
2549
# File 'quick_sight/cfn_data_source.rb', line 2547

def port
  @port
end

Class Method Details

.jsii_propertiesObject



2549
2550
2551
2552
2553
2554
2555
# File 'quick_sight/cfn_data_source.rb', line 2549

def self.jsii_properties
  {
    :database => "database",
    :host => "host",
    :port => "port",
  }
end

Instance Method Details

#to_jsiiObject



2557
2558
2559
2560
2561
2562
2563
2564
2565
# File 'quick_sight/cfn_data_source.rb', line 2557

def to_jsii
  result = {}
  result.merge!({
    "database" => @database,
    "host" => @host,
    "port" => @port,
  })
  result.compact
end