Class: AWSCDK::Interfaces::AWSNetworkmanager::LinkReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSNetworkmanager::LinkReference
- Defined in:
- interfaces/aws_networkmanager/link_reference.rb
Overview
A reference to a Link resource.
Instance Attribute Summary collapse
-
#global_network_id ⇒ String
readonly
The GlobalNetworkId of the Link resource.
-
#link_arn ⇒ String
readonly
The ARN of the Link resource.
-
#link_id ⇒ String
readonly
The LinkId of the Link resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(global_network_id:, link_arn:, link_id:) ⇒ LinkReference
constructor
A new instance of LinkReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(global_network_id:, link_arn:, link_id:) ⇒ LinkReference
Returns a new instance of LinkReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_networkmanager/link_reference.rb', line 10 def initialize(global_network_id:, link_arn:, link_id:) @global_network_id = global_network_id Jsii::Type.check_type(@global_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "globalNetworkId") @link_arn = link_arn Jsii::Type.check_type(@link_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "linkArn") @link_id = link_id Jsii::Type.check_type(@link_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "linkId") end |
Instance Attribute Details
#global_network_id ⇒ String (readonly)
The GlobalNetworkId of the Link resource.
22 23 24 |
# File 'interfaces/aws_networkmanager/link_reference.rb', line 22 def global_network_id @global_network_id end |
#link_arn ⇒ String (readonly)
The ARN of the Link resource.
26 27 28 |
# File 'interfaces/aws_networkmanager/link_reference.rb', line 26 def link_arn @link_arn end |
#link_id ⇒ String (readonly)
The LinkId of the Link resource.
30 31 32 |
# File 'interfaces/aws_networkmanager/link_reference.rb', line 30 def link_id @link_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_networkmanager/link_reference.rb', line 32 def self.jsii_properties { :global_network_id => "globalNetworkId", :link_arn => "linkArn", :link_id => "linkId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_networkmanager/link_reference.rb', line 40 def to_jsii result = {} result.merge!({ "globalNetworkId" => @global_network_id, "linkArn" => @link_arn, "linkId" => @link_id, }) result.compact end |