Class CfnIPAMAllocationProps
Properties for defining a CfnIPAMAllocation
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPAMAllocationProps : Object, ICfnIPAMAllocationProps
Syntax (vb)
Public Class CfnIPAMAllocationProps
Inherits Object
Implements ICfnIPAMAllocationProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamallocation.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 cfnIPAMAllocationProps = new CfnIPAMAllocationProps {
IpamPoolId = "ipamPoolId",
// the properties below are optional
Cidr = "cidr",
Description = "description",
NetmaskLength = 123
};
Synopsis
Constructors
CfnIPAMAllocationProps() |
Properties
Cidr | The CIDR you would like to allocate from the IPAM pool. Note the following:. |
Description | A description for the allocation. |
IpamPoolId | The ID of the IPAM pool from which you would like to allocate a CIDR. |
NetmaskLength | The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:. |
Constructors
CfnIPAMAllocationProps()
public CfnIPAMAllocationProps()
Properties
Cidr
The CIDR you would like to allocate from the IPAM pool. Note the following:.
public string Cidr { get; set; }
Property Value
System.String
Remarks
Possible values: Any available IPv4 or IPv6 CIDR.
Description
A description for the allocation.
public string Description { get; set; }
Property Value
System.String
Remarks
IpamPoolId
The ID of the IPAM pool from which you would like to allocate a CIDR.
public string IpamPoolId { get; set; }
Property Value
System.String
Remarks
NetmaskLength
The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:.
public Nullable<double> NetmaskLength { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.