Class: AWSCDK::QuickSight::CfnDataSource::SqlServerParametersProperty

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

Overview

The parameters for SQL Server.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of SqlServerParametersProperty.

Parameters:

  • database (String)

    Database.

  • host (String)

    Host.

  • port (Numeric)

    Port.



2339
2340
2341
2342
2343
2344
2345
2346
# File 'quick_sight/cfn_data_source.rb', line 2339

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.



2352
2353
2354
# File 'quick_sight/cfn_data_source.rb', line 2352

def database
  @database
end

#hostString (readonly)

Host.



2357
2358
2359
# File 'quick_sight/cfn_data_source.rb', line 2357

def host
  @host
end

#portNumeric (readonly)

Note:

Default: - 0

Port.



2363
2364
2365
# File 'quick_sight/cfn_data_source.rb', line 2363

def port
  @port
end

Class Method Details

.jsii_propertiesObject



2365
2366
2367
2368
2369
2370
2371
# File 'quick_sight/cfn_data_source.rb', line 2365

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

Instance Method Details

#to_jsiiObject



2373
2374
2375
2376
2377
2378
2379
2380
2381
# File 'quick_sight/cfn_data_source.rb', line 2373

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