CfnIPAMPoolCidrMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnIPAMPoolCidrMixinProps(*, cidr=None, ipam_pool_id=None, netmask_length=None)
Bases:
objectProperties for CfnIPAMPoolCidrPropsMixin.
- Parameters:
cidr (
Optional[str]) – 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 is10.24.34.0/23. An IPv6 CIDR example is2001:DB8::/32.ipam_pool_id (
Optional[str]) – The ID of the IPAM pool.netmask_length (
Union[int,float,None]) – The netmask length of the CIDR you’d like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. “NetmaskLength” or “Cidr” is required.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_iPAMPool_cidr_mixin_props = ec2_mixins.CfnIPAMPoolCidrMixinProps( cidr="cidr", ipam_pool_id="ipamPoolId", netmask_length=123 )
Attributes
- cidr
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 is2001:DB8::/32.
- ipam_pool_id
The ID of the IPAM pool.
- netmask_length
The netmask length of the CIDR you’d like to provision to a pool.
Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. “NetmaskLength” or “Cidr” is required.