Class: AWSCDK::EC2::CfnIPPoolRouteTableAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnIPPoolRouteTableAssociationProps
- Defined in:
- ec2/cfn_ip_pool_route_table_association_props.rb
Overview
Properties for defining a CfnIpPoolRouteTableAssociation.
Instance Attribute Summary collapse
-
#public_ipv4_pool ⇒ String
readonly
The ID of a public IPv4 address pool.
-
#route_table_id ⇒ String
readonly
The ID of a route table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(public_ipv4_pool:, route_table_id:) ⇒ CfnIPPoolRouteTableAssociationProps
constructor
A new instance of CfnIPPoolRouteTableAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(public_ipv4_pool:, route_table_id:) ⇒ CfnIPPoolRouteTableAssociationProps
Returns a new instance of CfnIPPoolRouteTableAssociationProps.
11 12 13 14 15 16 |
# File 'ec2/cfn_ip_pool_route_table_association_props.rb', line 11 def initialize(public_ipv4_pool:, route_table_id:) @public_ipv4_pool = public_ipv4_pool Jsii::Type.check_type(@public_ipv4_pool, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "publicIpv4Pool") @route_table_id = route_table_id Jsii::Type.check_type(@route_table_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeTableId") end |
Instance Attribute Details
#public_ipv4_pool ⇒ String (readonly)
The ID of a public IPv4 address pool.
22 23 24 |
# File 'ec2/cfn_ip_pool_route_table_association_props.rb', line 22 def public_ipv4_pool @public_ipv4_pool end |
#route_table_id ⇒ String (readonly)
The ID of a route table.
27 28 29 |
# File 'ec2/cfn_ip_pool_route_table_association_props.rb', line 27 def route_table_id @route_table_id end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'ec2/cfn_ip_pool_route_table_association_props.rb', line 29 def self.jsii_properties { :public_ipv4_pool => "publicIpv4Pool", :route_table_id => "routeTableId", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'ec2/cfn_ip_pool_route_table_association_props.rb', line 36 def to_jsii result = {} result.merge!({ "publicIpv4Pool" => @public_ipv4_pool, "routeTableId" => @route_table_id, }) result.compact end |