Class: AWSCDK::Interfaces::AWSAmplifyuibuilder::FormReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAmplifyuibuilder::FormReference
- Defined in:
- interfaces/aws_amplifyuibuilder/form_reference.rb
Overview
A reference to a Form resource.
Instance Attribute Summary collapse
-
#app_id ⇒ String
readonly
The AppId of the Form resource.
-
#environment_name ⇒ String
readonly
The EnvironmentName of the Form resource.
-
#form_id ⇒ String
readonly
The Id of the Form resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app_id:, environment_name:, form_id:) ⇒ FormReference
constructor
A new instance of FormReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_id:, environment_name:, form_id:) ⇒ FormReference
Returns a new instance of FormReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_amplifyuibuilder/form_reference.rb', line 10 def initialize(app_id:, environment_name:, form_id:) @app_id = app_id Jsii::Type.check_type(@app_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appId") @environment_name = environment_name Jsii::Type.check_type(@environment_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentName") @form_id = form_id Jsii::Type.check_type(@form_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "formId") end |
Instance Attribute Details
#app_id ⇒ String (readonly)
The AppId of the Form resource.
22 23 24 |
# File 'interfaces/aws_amplifyuibuilder/form_reference.rb', line 22 def app_id @app_id end |
#environment_name ⇒ String (readonly)
The EnvironmentName of the Form resource.
26 27 28 |
# File 'interfaces/aws_amplifyuibuilder/form_reference.rb', line 26 def environment_name @environment_name end |
#form_id ⇒ String (readonly)
The Id of the Form resource.
30 31 32 |
# File 'interfaces/aws_amplifyuibuilder/form_reference.rb', line 30 def form_id @form_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_amplifyuibuilder/form_reference.rb', line 32 def self.jsii_properties { :app_id => "appId", :environment_name => "environmentName", :form_id => "formId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_amplifyuibuilder/form_reference.rb', line 40 def to_jsii result = {} result.merge!({ "appId" => @app_id, "environmentName" => @environment_name, "formId" => @form_id, }) result.compact end |