Class: AWSCDK::AmplifyUIBuilder::CfnForm::FieldPositionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmplifyUIBuilder::CfnForm::FieldPositionProperty
- Defined in:
- amplify_ui_builder/cfn_form.rb
Overview
The FieldPosition property specifies the field position.
Instance Attribute Summary collapse
-
#below ⇒ String?
readonly
The field position is below the field specified by the string.
-
#fixed ⇒ String?
readonly
The field position is fixed and doesn't change in relation to other fields.
-
#right_of ⇒ String?
readonly
The field position is to the right of the field specified by the string.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(below: nil, fixed: nil, right_of: nil) ⇒ FieldPositionProperty
constructor
A new instance of FieldPositionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(below: nil, fixed: nil, right_of: nil) ⇒ FieldPositionProperty
Returns a new instance of FieldPositionProperty.
915 916 917 918 919 920 921 922 |
# File 'amplify_ui_builder/cfn_form.rb', line 915 def initialize(below: nil, fixed: nil, right_of: nil) @below = below Jsii::Type.check_type(@below, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "below") unless @below.nil? @fixed = fixed Jsii::Type.check_type(@fixed, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fixed") unless @fixed.nil? @right_of = right_of Jsii::Type.check_type(@right_of, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rightOf") unless @right_of.nil? end |
Instance Attribute Details
#below ⇒ String? (readonly)
The field position is below the field specified by the string.
928 929 930 |
# File 'amplify_ui_builder/cfn_form.rb', line 928 def below @below end |
#fixed ⇒ String? (readonly)
The field position is fixed and doesn't change in relation to other fields.
933 934 935 |
# File 'amplify_ui_builder/cfn_form.rb', line 933 def fixed @fixed end |
#right_of ⇒ String? (readonly)
The field position is to the right of the field specified by the string.
938 939 940 |
# File 'amplify_ui_builder/cfn_form.rb', line 938 def right_of @right_of end |
Class Method Details
.jsii_properties ⇒ Object
940 941 942 943 944 945 946 |
# File 'amplify_ui_builder/cfn_form.rb', line 940 def self.jsii_properties { :below => "below", :fixed => "fixed", :right_of => "rightOf", } end |
Instance Method Details
#to_jsii ⇒ Object
948 949 950 951 952 953 954 955 956 |
# File 'amplify_ui_builder/cfn_form.rb', line 948 def to_jsii result = {} result.merge!({ "below" => @below, "fixed" => @fixed, "rightOf" => @right_of, }) result.compact end |