Interface AllocatedSubnet
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AllocatedSubnet.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:17.646Z")
@Stability(Stable)
public interface AllocatedSubnet
extends software.amazon.jsii.JsiiSerializable
CIDR Allocated Subnet.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; AllocatedSubnet allocatedSubnet = AllocatedSubnet.builder() .cidr("cidr") // the properties below are optional .ipv6Cidr("ipv6Cidr") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAllocatedSubnet
static final class
An implementation forAllocatedSubnet
-
Method Summary
Modifier and TypeMethodDescriptionstatic AllocatedSubnet.Builder
builder()
getCidr()
IPv4 CIDR Allocations for a Subnet.default String
IPv6 CIDR Allocations for a Subnet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
IPv4 CIDR Allocations for a Subnet.Note this is specific to the IPv4 CIDR.
-
getIpv6Cidr
IPv6 CIDR Allocations for a Subnet.Note this is specific to the IPv6 CIDR.
Default: - no IPV6 CIDR
-
builder
- Returns:
- a
AllocatedSubnet.Builder
ofAllocatedSubnet
-