Class: AWSCDK::Interfaces::AWSNetworkmanager::CustomerGatewayAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSNetworkmanager::CustomerGatewayAssociationReference
- Defined in:
- interfaces/aws_networkmanager/customer_gateway_association_reference.rb
Overview
A reference to a CustomerGatewayAssociation resource.
Instance Attribute Summary collapse
-
#customer_gateway_arn ⇒ String
readonly
The CustomerGatewayArn of the CustomerGatewayAssociation resource.
-
#global_network_id ⇒ String
readonly
The GlobalNetworkId of the CustomerGatewayAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(customer_gateway_arn:, global_network_id:) ⇒ CustomerGatewayAssociationReference
constructor
A new instance of CustomerGatewayAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(customer_gateway_arn:, global_network_id:) ⇒ CustomerGatewayAssociationReference
Returns a new instance of CustomerGatewayAssociationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_networkmanager/customer_gateway_association_reference.rb', line 9 def initialize(customer_gateway_arn:, global_network_id:) @customer_gateway_arn = customer_gateway_arn Jsii::Type.check_type(@customer_gateway_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customerGatewayArn") @global_network_id = global_network_id Jsii::Type.check_type(@global_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "globalNetworkId") end |
Instance Attribute Details
#customer_gateway_arn ⇒ String (readonly)
The CustomerGatewayArn of the CustomerGatewayAssociation resource.
19 20 21 |
# File 'interfaces/aws_networkmanager/customer_gateway_association_reference.rb', line 19 def customer_gateway_arn @customer_gateway_arn end |
#global_network_id ⇒ String (readonly)
The GlobalNetworkId of the CustomerGatewayAssociation resource.
23 24 25 |
# File 'interfaces/aws_networkmanager/customer_gateway_association_reference.rb', line 23 def global_network_id @global_network_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_networkmanager/customer_gateway_association_reference.rb', line 25 def self.jsii_properties { :customer_gateway_arn => "customerGatewayArn", :global_network_id => "globalNetworkId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_networkmanager/customer_gateway_association_reference.rb', line 32 def to_jsii result = {} result.merge!({ "customerGatewayArn" => @customer_gateway_arn, "globalNetworkId" => @global_network_id, }) result.compact end |