Skip to content

CreateSubnetCidrReservationRequest

Source code in docs_src/capo_ec2/types/create_subnet_cidr_reservation_request.py
class CreateSubnetCidrReservationRequest(TypedDict, closed=True):
    subnet_id: NotRequired["capo_ec2.types.subnet_id.SubnetId"]
    """<p>The ID of the subnet.</p>"""
    cidr: NotRequired["capo_ec2.types.string.String"]
    """<p>The IPv4 or IPV6 CIDR range to reserve.</p>"""
    reservation_type: NotRequired[
        "capo_ec2.types.subnet_cidr_reservation_type.SubnetCidrReservationType"
    ]
    """<p>The type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.</p> <ul> <li> <p> <code>prefix</code> - Amazon Web Services assigns the reserved IP addresses to network interfaces.</p> </li> <li> <p> <code>explicit</code> - You assign the reserved IP addresses to network interfaces.</p> </li> </ul>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>The description to assign to the subnet CIDR reservation.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    tag_specifications: NotRequired[
        "capo_ec2.types.tag_specification_list.TagSpecificationList"
    ]
    """<p>The tags to assign to the subnet CIDR reservation.</p>"""

cidr instance-attribute

cidr: NotRequired[String]

The IPv4 or IPV6 CIDR range to reserve.

description instance-attribute

description: NotRequired[String]

The description to assign to the subnet CIDR reservation.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

reservation_type instance-attribute

reservation_type: NotRequired[SubnetCidrReservationType]

The type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.

  • prefix - Amazon Web Services assigns the reserved IP addresses to network interfaces.

  • explicit - You assign the reserved IP addresses to network interfaces.

subnet_id instance-attribute

subnet_id: NotRequired[SubnetId]

The ID of the subnet.

tag_specifications instance-attribute

tag_specifications: NotRequired[TagSpecificationList]

The tags to assign to the subnet CIDR reservation.