Class: AWSCDK::DataZone::CfnDataSource::FormInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_data_source.rb

Overview

The details of a metadata form.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(form_name:, content: nil, type_identifier: nil, type_revision: nil) ⇒ FormInputProperty

Returns a new instance of FormInputProperty.

Parameters:

  • form_name (String)

    The name of the metadata form.

  • content (String, nil) (defaults to: nil)

    The content of the metadata form.

  • type_identifier (String, nil) (defaults to: nil)

    The ID of the metadata form type.

  • type_revision (String, nil) (defaults to: nil)

    The revision of the metadata form type.



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

#contentString? (readonly)

The content of the metadata form.



865
866
867
# File 'data_zone/cfn_data_source.rb', line 865

def content
  @content
end

#form_nameString (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_identifierString? (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_revisionString? (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_propertiesObject



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_jsiiObject



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