Class: AWSCDK::Interfaces::AWSEntityresolution::IdNamespaceReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEntityresolution::IdNamespaceReference
- Defined in:
- interfaces/aws_entityresolution/id_namespace_reference.rb
Overview
A reference to a IdNamespace resource.
Instance Attribute Summary collapse
-
#id_namespace_arn ⇒ String
readonly
The ARN of the IdNamespace resource.
-
#id_namespace_name ⇒ String
readonly
The IdNamespaceName of the IdNamespace resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id_namespace_arn:, id_namespace_name:) ⇒ IdNamespaceReference
constructor
A new instance of IdNamespaceReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id_namespace_arn:, id_namespace_name:) ⇒ IdNamespaceReference
Returns a new instance of IdNamespaceReference.
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_arn ⇒ String (readonly)
The ARN of the IdNamespace resource.
19 20 21 |
# File 'interfaces/aws_entityresolution/id_namespace_reference.rb', line 19 def id_namespace_arn @id_namespace_arn end |
#id_namespace_name ⇒ String (readonly)
The IdNamespaceName of the IdNamespace resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |