Class CfnIPAMPoolCidrProps
Properties for defining a CfnIPAMPoolCidr
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPAMPoolCidrProps : Object, ICfnIPAMPoolCidrProps
Syntax (vb)
Public Class CfnIPAMPoolCidrProps
Inherits Object
Implements ICfnIPAMPoolCidrProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnIPAMPoolCidrProps = new CfnIPAMPoolCidrProps {
IpamPoolId = "ipamPoolId",
// the properties below are optional
Cidr = "cidr",
NetmaskLength = 123
};
Synopsis
Constructors
CfnIPAMPoolCidrProps() |
Properties
Cidr | The CIDR provisioned to the IPAM pool. |
IpamPoolId | The ID of the IPAM pool. |
NetmaskLength | The netmask length of the CIDR you'd like to provision to a pool. |
Constructors
CfnIPAMPoolCidrProps()
public CfnIPAMPoolCidrProps()
Properties
Cidr
The CIDR provisioned to the IPAM pool.
public string Cidr { get; set; }
Property Value
System.String
Remarks
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
.
IpamPoolId
The ID of the IPAM pool.
public string IpamPoolId { get; set; }
Property Value
System.String
Remarks
NetmaskLength
The netmask length of the CIDR you'd like to provision to a pool.
public Nullable<double> NetmaskLength { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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.