Class: AWSCDK::NetworkManager::CfnCustomerGatewayAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkManager::CfnCustomerGatewayAssociationProps
- Defined in:
- network_manager/cfn_customer_gateway_association_props.rb
Overview
Properties for defining a CfnCustomerGatewayAssociation.
Instance Attribute Summary collapse
-
#customer_gateway_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the customer gateway.
-
#device_id ⇒ String
readonly
The ID of the device.
-
#global_network_id ⇒ String
readonly
The ID of the global network.
-
#link_id ⇒ String?
readonly
The ID of the link.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(customer_gateway_arn:, device_id:, global_network_id:, link_id: nil) ⇒ CfnCustomerGatewayAssociationProps
constructor
A new instance of CfnCustomerGatewayAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(customer_gateway_arn:, device_id:, global_network_id:, link_id: nil) ⇒ CfnCustomerGatewayAssociationProps
Returns a new instance of CfnCustomerGatewayAssociationProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 13 def initialize(customer_gateway_arn:, device_id:, global_network_id:, link_id: nil) @customer_gateway_arn = customer_gateway_arn Jsii::Type.check_type(@customer_gateway_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customerGatewayArn") @device_id = device_id Jsii::Type.check_type(@device_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deviceId") @global_network_id = global_network_id Jsii::Type.check_type(@global_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "globalNetworkId") @link_id = link_id Jsii::Type.check_type(@link_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "linkId") unless @link_id.nil? end |
Instance Attribute Details
#customer_gateway_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the customer gateway.
28 29 30 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 28 def customer_gateway_arn @customer_gateway_arn end |
#device_id ⇒ String (readonly)
The ID of the device.
33 34 35 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 33 def device_id @device_id end |
#global_network_id ⇒ String (readonly)
The ID of the global network.
38 39 40 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 38 def global_network_id @global_network_id end |
#link_id ⇒ String? (readonly)
The ID of the link.
43 44 45 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 43 def link_id @link_id end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 45 def self.jsii_properties { :customer_gateway_arn => "customerGatewayArn", :device_id => "deviceId", :global_network_id => "globalNetworkId", :link_id => "linkId", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'network_manager/cfn_customer_gateway_association_props.rb', line 54 def to_jsii result = {} result.merge!({ "customerGatewayArn" => @customer_gateway_arn, "deviceId" => @device_id, "globalNetworkId" => @global_network_id, "linkId" => @link_id, }) result.compact end |