Class: AWSCDK::DataZone::CfnFormType::ModelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnFormType::ModelProperty
- Defined in:
- data_zone/cfn_form_type.rb
Overview
Indicates the smithy model of the API.
Instance Attribute Summary collapse
- #smithy ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(smithy: nil) ⇒ ModelProperty
constructor
A new instance of ModelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(smithy: nil) ⇒ ModelProperty
Returns a new instance of ModelProperty.
606 607 608 609 |
# File 'data_zone/cfn_form_type.rb', line 606 def initialize(smithy: nil) @smithy = smithy Jsii::Type.check_type(@smithy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "smithy") unless @smithy.nil? end |
Instance Attribute Details
#smithy ⇒ String? (readonly)
613 614 615 |
# File 'data_zone/cfn_form_type.rb', line 613 def smithy @smithy end |
Class Method Details
.jsii_properties ⇒ Object
615 616 617 618 619 |
# File 'data_zone/cfn_form_type.rb', line 615 def self.jsii_properties { :smithy => "smithy", } end |
Instance Method Details
#to_jsii ⇒ Object
621 622 623 624 625 626 627 |
# File 'data_zone/cfn_form_type.rb', line 621 def to_jsii result = {} result.merge!({ "smithy" => @smithy, }) result.compact end |