Class: AWSCDK::QuickSight::CfnDashboard::ParameterTextAreaControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ParameterTextAreaControlProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A control to display a text box that is used to enter multiple entries.
Instance Attribute Summary collapse
-
#delimiter ⇒ String?
readonly
The delimiter that is used to separate the lines in text.
-
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#parameter_control_id ⇒ String
readonly
The ID of the
ParameterTextAreaControl. -
#source_parameter_name ⇒ String
readonly
The source parameter name of the
ParameterTextAreaControl. -
#title ⇒ String
readonly
The title of the
ParameterTextAreaControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_control_id:, source_parameter_name:, title:, delimiter: nil, display_options: nil) ⇒ ParameterTextAreaControlProperty
constructor
A new instance of ParameterTextAreaControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_control_id:, source_parameter_name:, title:, delimiter: nil, display_options: nil) ⇒ ParameterTextAreaControlProperty
Returns a new instance of ParameterTextAreaControlProperty.
21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 |
# File 'quick_sight/cfn_dashboard.rb', line 21623 def initialize(parameter_control_id:, source_parameter_name:, title:, delimiter: nil, display_options: nil) @parameter_control_id = parameter_control_id Jsii::Type.check_type(@parameter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterControlId") @source_parameter_name = source_parameter_name Jsii::Type.check_type(@source_parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceParameterName") @title = title Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") @delimiter = delimiter Jsii::Type.check_type(@delimiter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "delimiter") unless @delimiter.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TextAreaControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UZXh0QXJlYUNvbnRyb2xEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "displayOptions") unless @display_options.nil? end |
Instance Attribute Details
#delimiter ⇒ String? (readonly)
The delimiter that is used to separate the lines in text.
21655 21656 21657 |
# File 'quick_sight/cfn_dashboard.rb', line 21655 def delimiter @delimiter end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
21660 21661 21662 |
# File 'quick_sight/cfn_dashboard.rb', line 21660 def @display_options end |
#parameter_control_id ⇒ String (readonly)
The ID of the ParameterTextAreaControl .
21640 21641 21642 |
# File 'quick_sight/cfn_dashboard.rb', line 21640 def parameter_control_id @parameter_control_id end |
#source_parameter_name ⇒ String (readonly)
The source parameter name of the ParameterTextAreaControl .
21645 21646 21647 |
# File 'quick_sight/cfn_dashboard.rb', line 21645 def source_parameter_name @source_parameter_name end |
#title ⇒ String (readonly)
The title of the ParameterTextAreaControl .
21650 21651 21652 |
# File 'quick_sight/cfn_dashboard.rb', line 21650 def title @title end |
Class Method Details
.jsii_properties ⇒ Object
21662 21663 21664 21665 21666 21667 21668 21669 21670 |
# File 'quick_sight/cfn_dashboard.rb', line 21662 def self.jsii_properties { :parameter_control_id => "parameterControlId", :source_parameter_name => "sourceParameterName", :title => "title", :delimiter => "delimiter", :display_options => "displayOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 |
# File 'quick_sight/cfn_dashboard.rb', line 21672 def to_jsii result = {} result.merge!({ "parameterControlId" => @parameter_control_id, "sourceParameterName" => @source_parameter_name, "title" => @title, "delimiter" => @delimiter, "displayOptions" => @display_options, }) result.compact end |