Class: AWSCDK::Connect::CfnPredefinedAttribute::ValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnPredefinedAttribute::ValuesProperty
- Defined in:
- connect/cfn_predefined_attribute.rb
Overview
The values of a predefined attribute.
Instance Attribute Summary collapse
-
#string_list ⇒ Array<String>?
readonly
Predefined attribute values of type string list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(string_list: nil) ⇒ ValuesProperty
constructor
A new instance of ValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(string_list: nil) ⇒ ValuesProperty
Returns a new instance of ValuesProperty.
605 606 607 608 |
# File 'connect/cfn_predefined_attribute.rb', line 605 def initialize(string_list: nil) @string_list = string_list Jsii::Type.check_type(@string_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "stringList") unless @string_list.nil? end |
Instance Attribute Details
#string_list ⇒ Array<String>? (readonly)
Predefined attribute values of type string list.
614 615 616 |
# File 'connect/cfn_predefined_attribute.rb', line 614 def string_list @string_list end |
Class Method Details
.jsii_properties ⇒ Object
616 617 618 619 620 |
# File 'connect/cfn_predefined_attribute.rb', line 616 def self.jsii_properties { :string_list => "stringList", } end |
Instance Method Details
#to_jsii ⇒ Object
622 623 624 625 626 627 628 |
# File 'connect/cfn_predefined_attribute.rb', line 622 def to_jsii result = {} result.merge!({ "stringList" => @string_list, }) result.compact end |