Interface IAllocatedSubnet
CIDR Allocated Subnet.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAllocatedSubnet
Syntax (vb)
Public Interface IAllocatedSubnet
Remarks
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 allocatedSubnet = new AllocatedSubnet {
Cidr = "cidr",
// the properties below are optional
Ipv6Cidr = "ipv6Cidr"
};
Synopsis
Properties
Cidr | IPv4 CIDR Allocations for a Subnet. |
Ipv6Cidr | IPv6 CIDR Allocations for a Subnet. |
Properties
Cidr
IPv4 CIDR Allocations for a Subnet.
string Cidr { get; }
Property Value
System.String
Remarks
Note this is specific to the IPv4 CIDR.
Ipv6Cidr
IPv6 CIDR Allocations for a Subnet.
virtual string Ipv6Cidr { get; }
Property Value
System.String
Remarks
Note this is specific to the IPv6 CIDR.
Default: - no IPV6 CIDR