Class: AWSCDK::QuickSight::CfnDataSource::TeradataParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::TeradataParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
The parameters for Teradata.
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:) ⇒ TeradataParametersProperty
constructor
A new instance of TeradataParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database:, host:, port:) ⇒ TeradataParametersProperty
Returns a new instance of TeradataParametersProperty.
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
#database ⇒ String (readonly)
Database.
2536 2537 2538 |
# File 'quick_sight/cfn_data_source.rb', line 2536 def database @database end |
#host ⇒ String (readonly)
Host.
2541 2542 2543 |
# File 'quick_sight/cfn_data_source.rb', line 2541 def host @host end |
#port ⇒ Numeric (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_properties ⇒ Object
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_jsii ⇒ Object
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 |