Class: AWSCDK::QuickSight::CfnDataSource::SparkParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::SparkParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
The parameters for Spark.
Instance Attribute Summary collapse
-
#host ⇒ String
readonly
Host.
-
#port ⇒ Numeric
readonly
Port.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(host:, port:) ⇒ SparkParametersProperty
constructor
A new instance of SparkParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(host:, port:) ⇒ SparkParametersProperty
Returns a new instance of SparkParametersProperty.
2294 2295 2296 2297 2298 2299 |
# File 'quick_sight/cfn_data_source.rb', line 2294 def initialize(host:, port:) @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
#host ⇒ String (readonly)
Host.
2305 2306 2307 |
# File 'quick_sight/cfn_data_source.rb', line 2305 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
Port.
2311 2312 2313 |
# File 'quick_sight/cfn_data_source.rb', line 2311 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
2313 2314 2315 2316 2317 2318 |
# File 'quick_sight/cfn_data_source.rb', line 2313 def self.jsii_properties { :host => "host", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
2320 2321 2322 2323 2324 2325 2326 2327 |
# File 'quick_sight/cfn_data_source.rb', line 2320 def to_jsii result = {} result.merge!({ "host" => @host, "port" => @port, }) result.compact end |