Class: AWSCDK::Interfaces::AWSEC2::IPAMPoolCIDRReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEC2::IPAMPoolCIDRReference
- Defined in:
- interfaces/awsec2/ipam_pool_cidr_reference.rb
Overview
A reference to a IPAMPoolCidr resource.
Instance Attribute Summary collapse
-
#ipam_pool_cidr_id ⇒ String
readonly
The IpamPoolCidrId of the IPAMPoolCidr resource.
-
#ipam_pool_id ⇒ String
readonly
The IpamPoolId of the IPAMPoolCidr resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ipam_pool_cidr_id:, ipam_pool_id:) ⇒ IPAMPoolCIDRReference
constructor
A new instance of IPAMPoolCIDRReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ipam_pool_cidr_id:, ipam_pool_id:) ⇒ IPAMPoolCIDRReference
Returns a new instance of IPAMPoolCIDRReference.
9 10 11 12 13 14 |
# File 'interfaces/awsec2/ipam_pool_cidr_reference.rb', line 9 def initialize(ipam_pool_cidr_id:, ipam_pool_id:) @ipam_pool_cidr_id = ipam_pool_cidr_id Jsii::Type.check_type(@ipam_pool_cidr_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipamPoolCidrId") @ipam_pool_id = ipam_pool_id Jsii::Type.check_type(@ipam_pool_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipamPoolId") end |
Instance Attribute Details
#ipam_pool_cidr_id ⇒ String (readonly)
The IpamPoolCidrId of the IPAMPoolCidr resource.
19 20 21 |
# File 'interfaces/awsec2/ipam_pool_cidr_reference.rb', line 19 def ipam_pool_cidr_id @ipam_pool_cidr_id end |
#ipam_pool_id ⇒ String (readonly)
The IpamPoolId of the IPAMPoolCidr resource.
23 24 25 |
# File 'interfaces/awsec2/ipam_pool_cidr_reference.rb', line 23 def ipam_pool_id @ipam_pool_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/awsec2/ipam_pool_cidr_reference.rb', line 25 def self.jsii_properties { :ipam_pool_cidr_id => "ipamPoolCidrId", :ipam_pool_id => "ipamPoolId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/awsec2/ipam_pool_cidr_reference.rb', line 32 def to_jsii result = {} result.merge!({ "ipamPoolCidrId" => @ipam_pool_cidr_id, "ipamPoolId" => @ipam_pool_id, }) result.compact end |