Class: AWSCDK::Interfaces::AWSEntityresolution::IdNamespaceReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_entityresolution/id_namespace_reference.rb

Overview

A reference to a IdNamespace resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id_namespace_arn:, id_namespace_name:) ⇒ IdNamespaceReference

Returns a new instance of IdNamespaceReference.

Parameters:

  • id_namespace_arn (String)

    The ARN of the IdNamespace resource.

  • id_namespace_name (String)

    The IdNamespaceName of the IdNamespace resource.



9
10
11
12
13
14
# File 'interfaces/aws_entityresolution/id_namespace_reference.rb', line 9

def initialize(id_namespace_arn:, id_namespace_name:)
  @id_namespace_arn = id_namespace_arn
  Jsii::Type.check_type(@id_namespace_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "idNamespaceArn")
  @id_namespace_name = id_namespace_name
  Jsii::Type.check_type(@id_namespace_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "idNamespaceName")
end

Instance Attribute Details

#id_namespace_arnString (readonly)

The ARN of the IdNamespace resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_entityresolution/id_namespace_reference.rb', line 19

def id_namespace_arn
  @id_namespace_arn
end

#id_namespace_nameString (readonly)

The IdNamespaceName of the IdNamespace resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_entityresolution/id_namespace_reference.rb', line 23

def id_namespace_name
  @id_namespace_name
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_entityresolution/id_namespace_reference.rb', line 25

def self.jsii_properties
  {
    :id_namespace_arn => "idNamespaceArn",
    :id_namespace_name => "idNamespaceName",
  }
end

Instance Method Details

#to_jsiiObject



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

def to_jsii
  result = {}
  result.merge!({
    "idNamespaceArn" => @id_namespace_arn,
    "idNamespaceName" => @id_namespace_name,
  })
  result.compact
end