Class: AWSCDK::Cases::CfnLayout::FieldGroupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cases::CfnLayout::FieldGroupProperty
- Defined in:
- cases/cfn_layout.rb
Overview
Object for a group of fields and associated properties.
Instance Attribute Summary collapse
-
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Cases::CfnLayout::FieldItemProperty>
readonly
Represents an ordered list containing field related information.
-
#name ⇒ String?
readonly
Name of the field group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fields:, name: nil) ⇒ FieldGroupProperty
constructor
A new instance of FieldGroupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fields:, name: nil) ⇒ FieldGroupProperty
Returns a new instance of FieldGroupProperty.
634 635 636 637 638 639 |
# File 'cases/cfn_layout.rb', line 634 def initialize(fields:, name: nil) @fields = fields Jsii::Type.check_type(@fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2FzZXMuQ2ZuTGF5b3V0LkZpZWxkSXRlbVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "fields") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Cases::CfnLayout::FieldItemProperty> (readonly)
Represents an ordered list containing field related information.
645 646 647 |
# File 'cases/cfn_layout.rb', line 645 def fields @fields end |
#name ⇒ String? (readonly)
Name of the field group.
650 651 652 |
# File 'cases/cfn_layout.rb', line 650 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
652 653 654 655 656 657 |
# File 'cases/cfn_layout.rb', line 652 def self.jsii_properties { :fields => "fields", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
659 660 661 662 663 664 665 666 |
# File 'cases/cfn_layout.rb', line 659 def to_jsii result = {} result.merge!({ "fields" => @fields, "name" => @name, }) result.compact end |