Class: AWSCDK::ODB::CfnOdbPeeringConnectionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ODB::CfnOdbPeeringConnectionProps
- Defined in:
- odb/cfn_odb_peering_connection_props.rb
Overview
Properties for defining a CfnOdbPeeringConnection.
Instance Attribute Summary collapse
-
#additional_peer_network_cidrs ⇒ Array<String>?
readonly
The additional CIDR blocks for the ODB peering connection.
-
#display_name ⇒ String?
readonly
The display name of the ODB peering connection.
-
#odb_network_id ⇒ String?
readonly
The unique identifier of the ODB network.
-
#peer_network_id ⇒ String?
readonly
The unique identifier of the peer network.
-
#peer_network_route_table_ids ⇒ Array<String>?
readonly
The unique identifier of the VPC route table for which a route to the ODB network is automatically created during peering connection establishment.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Tags to assign to the Odb peering connection.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(additional_peer_network_cidrs: nil, display_name: nil, odb_network_id: nil, peer_network_id: nil, peer_network_route_table_ids: nil, tags: nil) ⇒ CfnOdbPeeringConnectionProps
constructor
A new instance of CfnOdbPeeringConnectionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(additional_peer_network_cidrs: nil, display_name: nil, odb_network_id: nil, peer_network_id: nil, peer_network_route_table_ids: nil, tags: nil) ⇒ CfnOdbPeeringConnectionProps
Returns a new instance of CfnOdbPeeringConnectionProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 15 def initialize(additional_peer_network_cidrs: nil, display_name: nil, odb_network_id: nil, peer_network_id: nil, peer_network_route_table_ids: nil, tags: nil) @additional_peer_network_cidrs = additional_peer_network_cidrs Jsii::Type.check_type(@additional_peer_network_cidrs, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "additionalPeerNetworkCidrs") unless @additional_peer_network_cidrs.nil? @display_name = display_name Jsii::Type.check_type(@display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayName") unless @display_name.nil? @odb_network_id = odb_network_id Jsii::Type.check_type(@odb_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "odbNetworkId") unless @odb_network_id.nil? @peer_network_id = peer_network_id Jsii::Type.check_type(@peer_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "peerNetworkId") unless @peer_network_id.nil? @peer_network_route_table_ids = peer_network_route_table_ids Jsii::Type.check_type(@peer_network_route_table_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "peerNetworkRouteTableIds") unless @peer_network_route_table_ids.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#additional_peer_network_cidrs ⇒ Array<String>? (readonly)
The additional CIDR blocks for the ODB peering connection.
34 35 36 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 34 def additional_peer_network_cidrs @additional_peer_network_cidrs end |
#display_name ⇒ String? (readonly)
The display name of the ODB peering connection.
39 40 41 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 39 def display_name @display_name end |
#odb_network_id ⇒ String? (readonly)
The unique identifier of the ODB network.
44 45 46 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 44 def odb_network_id @odb_network_id end |
#peer_network_id ⇒ String? (readonly)
The unique identifier of the peer network.
49 50 51 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 49 def peer_network_id @peer_network_id end |
#peer_network_route_table_ids ⇒ Array<String>? (readonly)
The unique identifier of the VPC route table for which a route to the ODB network is automatically created during peering connection establishment.
54 55 56 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 54 def peer_network_route_table_ids @peer_network_route_table_ids end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Tags to assign to the Odb peering connection.
59 60 61 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 59 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
61 62 63 64 65 66 67 68 69 70 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 61 def self.jsii_properties { :additional_peer_network_cidrs => "additionalPeerNetworkCidrs", :display_name => "displayName", :odb_network_id => "odbNetworkId", :peer_network_id => "peerNetworkId", :peer_network_route_table_ids => "peerNetworkRouteTableIds", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'odb/cfn_odb_peering_connection_props.rb', line 72 def to_jsii result = {} result.merge!({ "additionalPeerNetworkCidrs" => @additional_peer_network_cidrs, "displayName" => @display_name, "odbNetworkId" => @odb_network_id, "peerNetworkId" => @peer_network_id, "peerNetworkRouteTableIds" => @peer_network_route_table_ids, "tags" => @tags, }) result.compact end |