Class: AWSCDK::EC2::CfnIPAMPool::ProvisionedCIDRProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnIPAMPool::ProvisionedCIDRProperty
- Defined in:
- ec2/cfn_ipam_pool.rb
Overview
The CIDR provisioned to the IPAM pool.
A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23 . An IPv6 CIDR example is 2001:DB8::/32 .
This resource type does not allow you to provision a CIDR using the netmask length. To provision a CIDR using netmask length, use AWS::EC2::IPAMPoolCidr .
Instance Attribute Summary collapse
-
#cidr ⇒ String
readonly
The CIDR provisioned to the IPAM pool.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cidr:) ⇒ ProvisionedCIDRProperty
constructor
A new instance of ProvisionedCIDRProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cidr:) ⇒ ProvisionedCIDRProperty
Returns a new instance of ProvisionedCIDRProperty.
803 804 805 806 |
# File 'ec2/cfn_ipam_pool.rb', line 803 def initialize(cidr:) @cidr = cidr Jsii::Type.check_type(@cidr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cidr") end |
Instance Attribute Details
#cidr ⇒ String (readonly)
The CIDR provisioned to the IPAM pool.
A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23 . An IPv6 CIDR example is 2001:DB8::/32 .
814 815 816 |
# File 'ec2/cfn_ipam_pool.rb', line 814 def cidr @cidr end |
Class Method Details
.jsii_properties ⇒ Object
816 817 818 819 820 |
# File 'ec2/cfn_ipam_pool.rb', line 816 def self.jsii_properties { :cidr => "cidr", } end |
Instance Method Details
#to_jsii ⇒ Object
822 823 824 825 826 827 828 |
# File 'ec2/cfn_ipam_pool.rb', line 822 def to_jsii result = {} result.merge!({ "cidr" => @cidr, }) result.compact end |