Class: AWSCDK::Interconnect::CfnConnection::AttachPointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interconnect::CfnConnection::AttachPointProperty
- Defined in:
- interconnect/cfn_connection.rb
Overview
The logical attachment point in your AWS network where the managed connection will be connected.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The ARN of the resource to attach to.
-
#direct_connect_gateway ⇒ String?
readonly
The ID of the Direct Connect Gateway to attach to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, direct_connect_gateway: nil) ⇒ AttachPointProperty
constructor
A new instance of AttachPointProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, direct_connect_gateway: nil) ⇒ AttachPointProperty
Returns a new instance of AttachPointProperty.
670 671 672 673 674 675 |
# File 'interconnect/cfn_connection.rb', line 670 def initialize(arn: nil, direct_connect_gateway: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @direct_connect_gateway = direct_connect_gateway Jsii::Type.check_type(@direct_connect_gateway, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "directConnectGateway") unless @direct_connect_gateway.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The ARN of the resource to attach to.
681 682 683 |
# File 'interconnect/cfn_connection.rb', line 681 def arn @arn end |
#direct_connect_gateway ⇒ String? (readonly)
The ID of the Direct Connect Gateway to attach to.
686 687 688 |
# File 'interconnect/cfn_connection.rb', line 686 def direct_connect_gateway @direct_connect_gateway end |
Class Method Details
.jsii_properties ⇒ Object
688 689 690 691 692 693 |
# File 'interconnect/cfn_connection.rb', line 688 def self.jsii_properties { :arn => "arn", :direct_connect_gateway => "directConnectGateway", } end |
Instance Method Details
#to_jsii ⇒ Object
695 696 697 698 699 700 701 702 |
# File 'interconnect/cfn_connection.rb', line 695 def to_jsii result = {} result.merge!({ "arn" => @arn, "directConnectGateway" => @direct_connect_gateway, }) result.compact end |