Class: AWSCDK::DataZone::CfnDataSource::FormInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnDataSource::FormInputProperty
- Defined in:
- data_zone/cfn_data_source.rb
Overview
The details of a metadata form.
Instance Attribute Summary collapse
-
#content ⇒ String?
readonly
The content of the metadata form.
-
#form_name ⇒ String
readonly
The name of the metadata form.
-
#type_identifier ⇒ String?
readonly
The ID of the metadata form type.
-
#type_revision ⇒ String?
readonly
The revision of the metadata form type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(form_name:, content: nil, type_identifier: nil, type_revision: nil) ⇒ FormInputProperty
constructor
A new instance of FormInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(form_name:, content: nil, type_identifier: nil, type_revision: nil) ⇒ FormInputProperty
Returns a new instance of FormInputProperty.
845 846 847 848 849 850 851 852 853 854 |
# File 'data_zone/cfn_data_source.rb', line 845 def initialize(form_name:, content: nil, type_identifier: nil, type_revision: nil) @form_name = form_name Jsii::Type.check_type(@form_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "formName") @content = content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "content") unless @content.nil? @type_identifier = type_identifier Jsii::Type.check_type(@type_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "typeIdentifier") unless @type_identifier.nil? @type_revision = type_revision Jsii::Type.check_type(@type_revision, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "typeRevision") unless @type_revision.nil? end |
Instance Attribute Details
#content ⇒ String? (readonly)
The content of the metadata form.
865 866 867 |
# File 'data_zone/cfn_data_source.rb', line 865 def content @content end |
#form_name ⇒ String (readonly)
The name of the metadata form.
860 861 862 |
# File 'data_zone/cfn_data_source.rb', line 860 def form_name @form_name end |
#type_identifier ⇒ String? (readonly)
The ID of the metadata form type.
870 871 872 |
# File 'data_zone/cfn_data_source.rb', line 870 def type_identifier @type_identifier end |
#type_revision ⇒ String? (readonly)
The revision of the metadata form type.
875 876 877 |
# File 'data_zone/cfn_data_source.rb', line 875 def type_revision @type_revision end |
Class Method Details
.jsii_properties ⇒ Object
877 878 879 880 881 882 883 884 |
# File 'data_zone/cfn_data_source.rb', line 877 def self.jsii_properties { :form_name => "formName", :content => "content", :type_identifier => "typeIdentifier", :type_revision => "typeRevision", } end |
Instance Method Details
#to_jsii ⇒ Object
886 887 888 889 890 891 892 893 894 895 |
# File 'data_zone/cfn_data_source.rb', line 886 def to_jsii result = {} result.merge!({ "formName" => @form_name, "content" => @content, "typeIdentifier" => @type_identifier, "typeRevision" => @type_revision, }) result.compact end |