Class: AWSCDK::EC2::CfnRouteServerPropagationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ec2/cfn_route_server_propagation_props.rb

Overview

Properties for defining a CfnRouteServerPropagation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(route_server_id:, route_table_id:) ⇒ CfnRouteServerPropagationProps

Returns a new instance of CfnRouteServerPropagationProps.

Parameters:

  • route_server_id (String)

    The ID of the route server configured for route propagation.

  • route_table_id (String)

    The ID of the route table configured for route server propagation.



11
12
13
14
15
16
# File 'ec2/cfn_route_server_propagation_props.rb', line 11

def initialize(route_server_id:, route_table_id:)
  @route_server_id = route_server_id
  Jsii::Type.check_type(@route_server_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeServerId")
  @route_table_id = route_table_id
  Jsii::Type.check_type(@route_table_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeTableId")
end

Instance Attribute Details

#route_server_idString (readonly)

The ID of the route server configured for route propagation.



22
23
24
# File 'ec2/cfn_route_server_propagation_props.rb', line 22

def route_server_id
  @route_server_id
end

#route_table_idString (readonly)

The ID of the route table configured for route server propagation.



27
28
29
# File 'ec2/cfn_route_server_propagation_props.rb', line 27

def route_table_id
  @route_table_id
end

Class Method Details

.jsii_propertiesObject



29
30
31
32
33
34
# File 'ec2/cfn_route_server_propagation_props.rb', line 29

def self.jsii_properties
  {
    :route_server_id => "routeServerId",
    :route_table_id => "routeTableId",
  }
end

Instance Method Details

#to_jsiiObject



36
37
38
39
40
41
42
43
# File 'ec2/cfn_route_server_propagation_props.rb', line 36

def to_jsii
  result = {}
  result.merge!({
    "routeServerId" => @route_server_id,
    "routeTableId" => @route_table_id,
  })
  result.compact
end