Class AwsIpamProps
Configuration for AwsIpam.
Inheritance
System.Object
AwsIpamProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AwsIpamProps : Object, IAwsIpamProps
Syntax (vb)
Public Class AwsIpamProps
Inherits Object
Implements IAwsIpamProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EC2;
CfnIPAMPool pool;
new Vpc(this, "TheVPC", new VpcProps {
IpAddresses = IpAddresses.AwsIpamAllocation(new AwsIpamProps {
Ipv4IpamPoolId = pool.Ref,
Ipv4NetmaskLength = 18,
DefaultSubnetIpv4NetmaskLength = 24
})
});
Synopsis
Constructors
AwsIpamProps() |
Properties
DefaultSubnetIpv4NetmaskLength | Default length for Subnet ipv4 Network mask. |
Ipv4IpamPoolId | Ipam Pool Id for ipv4 allocation. |
Ipv4NetmaskLength | Netmask length for Vpc. |
Constructors
AwsIpamProps()
public AwsIpamProps()
Properties
DefaultSubnetIpv4NetmaskLength
Default length for Subnet ipv4 Network mask.
public Nullable<double> DefaultSubnetIpv4NetmaskLength { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Specify this option only if you do not specify all Subnets using SubnetConfiguration with a cidrMask
Default: - Default ipv4 Subnet Mask for subnets in Vpc
Ipv4IpamPoolId
Ipam Pool Id for ipv4 allocation.
public string Ipv4IpamPoolId { get; set; }
Property Value
System.String
Ipv4NetmaskLength
Netmask length for Vpc.
public double Ipv4NetmaskLength { get; set; }
Property Value
System.Double