Class AllocatedSubnet
CIDR Allocated Subnet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AllocatedSubnet : IAllocatedSubnet
Syntax (vb)
Public Class AllocatedSubnet Implements 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
Constructors
AllocatedSubnet() | CIDR Allocated Subnet. |
Properties
Cidr | IPv4 CIDR Allocations for a Subnet. |
Ipv6Cidr | IPv6 CIDR Allocations for a Subnet. |
Constructors
AllocatedSubnet()
CIDR Allocated Subnet.
public AllocatedSubnet()
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"
};
Properties
Cidr
IPv4 CIDR Allocations for a Subnet.
public string Cidr { get; set; }
Property Value
Remarks
Note this is specific to the IPv4 CIDR.
Ipv6Cidr
IPv6 CIDR Allocations for a Subnet.
public string? Ipv6Cidr { get; set; }
Property Value
Remarks
Note this is specific to the IPv6 CIDR.
Default: - no IPV6 CIDR