Class: AWSCDK::EC2::CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps
- Defined in:
- ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb
Overview
Properties for defining a CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation.
Instance Attribute Summary collapse
-
#local_gateway_route_table_id ⇒ String
readonly
The ID of the local gateway route table.
-
#local_gateway_virtual_interface_group_id ⇒ String
readonly
The ID of the virtual interface group.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags assigned to the association.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(local_gateway_route_table_id:, local_gateway_virtual_interface_group_id:, tags: nil) ⇒ CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps
constructor
A new instance of CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(local_gateway_route_table_id:, local_gateway_virtual_interface_group_id:, tags: nil) ⇒ CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps
Returns a new instance of CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.
12 13 14 15 16 17 18 19 |
# File 'ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb', line 12 def initialize(local_gateway_route_table_id:, local_gateway_virtual_interface_group_id:, tags: nil) @local_gateway_route_table_id = local_gateway_route_table_id Jsii::Type.check_type(@local_gateway_route_table_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localGatewayRouteTableId") @local_gateway_virtual_interface_group_id = local_gateway_virtual_interface_group_id Jsii::Type.check_type(@local_gateway_virtual_interface_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localGatewayVirtualInterfaceGroupId") @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
#local_gateway_route_table_id ⇒ String (readonly)
The ID of the local gateway route table.
25 26 27 |
# File 'ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb', line 25 def local_gateway_route_table_id @local_gateway_route_table_id end |
#local_gateway_virtual_interface_group_id ⇒ String (readonly)
The ID of the virtual interface group.
30 31 32 |
# File 'ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb', line 30 def local_gateway_virtual_interface_group_id @local_gateway_virtual_interface_group_id end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags assigned to the association.
35 36 37 |
# File 'ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb', line 35 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
37 38 39 40 41 42 43 |
# File 'ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb', line 37 def self.jsii_properties { :local_gateway_route_table_id => "localGatewayRouteTableId", :local_gateway_virtual_interface_group_id => "localGatewayVirtualInterfaceGroupId", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'ec2/cfn_local_gateway_route_table_virtual_interface_group_association_props.rb', line 45 def to_jsii result = {} result.merge!({ "localGatewayRouteTableId" => @local_gateway_route_table_id, "localGatewayVirtualInterfaceGroupId" => @local_gateway_virtual_interface_group_id, "tags" => @tags, }) result.compact end |