Interface CfnSubnetCidrReservationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubnetCidrReservationMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:09.091Z")
@Stability(Stable)
public interface CfnSubnetCidrReservationMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnSubnetCidrReservationPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
CfnSubnetCidrReservationMixinProps cfnSubnetCidrReservationMixinProps = CfnSubnetCidrReservationMixinProps.builder()
.cidr("cidr")
.description("description")
.reservationType("reservationType")
.subnetId("subnetId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSubnetCidrReservationMixinPropsstatic final classAn implementation forCfnSubnetCidrReservationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetCidr()The IPv4 or IPv6 CIDR range to reserve.default StringThe description of the subnet CIDR reservation.default StringThe type of reservation.default StringThe identifier of the subnet the CIDR range is reserved in.getTags()The tags assigned to the subnet CIDR reservation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
The IPv4 or IPv6 CIDR range to reserve.Must lie inside the subnet's CIDR block and must not overlap an existing reservation. Supply an IPv6 range exactly as the service returns it: Amazon EC2 stores an IPv6 CIDR in RFC 5952 compressed form, and a noncanonical spelling of the same range is reported as drift because this property is create-only and read back.
- See Also:
-
getDescription
The description of the subnet CIDR reservation.- See Also:
-
getReservationType
The type of reservation.A prefix reservation is used for an IPv6 prefix delegated to a network interface; an explicit reservation is used for a range that Amazon EC2 must not assign automatically.
- See Also:
-
getSubnetId
The identifier of the subnet the CIDR range is reserved in.- See Also:
-
getTags
The tags assigned to the subnet CIDR reservation.- See Also:
-
builder
-