Class: AWSCDK::Interfaces::AWSDatazone::FormTypeReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_datazone/form_type_reference.rb

Overview

A reference to a FormType resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_identifier:, form_type_identifier:) ⇒ FormTypeReference

Returns a new instance of FormTypeReference.

Parameters:

  • domain_identifier (String)

    The DomainIdentifier of the FormType resource.

  • form_type_identifier (String)

    The FormTypeIdentifier of the FormType resource.



9
10
11
12
13
14
# File 'interfaces/aws_datazone/form_type_reference.rb', line 9

def initialize(domain_identifier:, form_type_identifier:)
  @domain_identifier = domain_identifier
  Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier")
  @form_type_identifier = form_type_identifier
  Jsii::Type.check_type(@form_type_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "formTypeIdentifier")
end

Instance Attribute Details

#domain_identifierString (readonly)

The DomainIdentifier of the FormType resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_datazone/form_type_reference.rb', line 19

def domain_identifier
  @domain_identifier
end

#form_type_identifierString (readonly)

The FormTypeIdentifier of the FormType resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_datazone/form_type_reference.rb', line 23

def form_type_identifier
  @form_type_identifier
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_datazone/form_type_reference.rb', line 25

def self.jsii_properties
  {
    :domain_identifier => "domainIdentifier",
    :form_type_identifier => "formTypeIdentifier",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_datazone/form_type_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "domainIdentifier" => @domain_identifier,
    "formTypeIdentifier" => @form_type_identifier,
  })
  result.compact
end