Class: AWSCDK::QuickSight::CfnDataSource::OracleParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::OracleParametersProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
Oracle parameters.
Instance Attribute Summary collapse
-
#database ⇒ String
readonly
Database.
-
#host ⇒ String
readonly
Host.
-
#port ⇒ Numeric
readonly
Port.
-
#use_service_name ⇒ Boolean, ...
readonly
A Boolean value that indicates whether the
Databaseuses a service name or an SID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database:, host:, port:, use_service_name: nil) ⇒ OracleParametersProperty
constructor
A new instance of OracleParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database:, host:, port:, use_service_name: nil) ⇒ OracleParametersProperty
Returns a new instance of OracleParametersProperty.
1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 |
# File 'quick_sight/cfn_data_source.rb', line 1692 def initialize(database:, host:, port:, use_service_name: nil) @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") @use_service_name = use_service_name Jsii::Type.check_type(@use_service_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "useServiceName") unless @use_service_name.nil? end |
Instance Attribute Details
#database ⇒ String (readonly)
Database.
1707 1708 1709 |
# File 'quick_sight/cfn_data_source.rb', line 1707 def database @database end |
#host ⇒ String (readonly)
Host.
1712 1713 1714 |
# File 'quick_sight/cfn_data_source.rb', line 1712 def host @host end |
#port ⇒ Numeric (readonly)
Note:
Default: - 0
Port.
1718 1719 1720 |
# File 'quick_sight/cfn_data_source.rb', line 1718 def port @port end |
#use_service_name ⇒ Boolean, ... (readonly)
Note:
Default: - false
A Boolean value that indicates whether the Database uses a service name or an SID.
If this value is left blank, the default value is SID . If this value is set to false , the value is SID .
1726 1727 1728 |
# File 'quick_sight/cfn_data_source.rb', line 1726 def use_service_name @use_service_name end |
Class Method Details
.jsii_properties ⇒ Object
1728 1729 1730 1731 1732 1733 1734 1735 |
# File 'quick_sight/cfn_data_source.rb', line 1728 def self.jsii_properties { :database => "database", :host => "host", :port => "port", :use_service_name => "useServiceName", } end |
Instance Method Details
#to_jsii ⇒ Object
1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 |
# File 'quick_sight/cfn_data_source.rb', line 1737 def to_jsii result = {} result.merge!({ "database" => @database, "host" => @host, "port" => @port, "useServiceName" => @use_service_name, }) result.compact end |