Skip to content

CreateLocalGatewayRouteRequest

Source code in docs_src/capo_ec2/types/create_local_gateway_route_request.py
class CreateLocalGatewayRouteRequest(TypedDict, closed=True):
    destination_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The CIDR range used for destination matches. Routing decisions are based on the most specific match.</p>"""
    local_gateway_route_table_id: NotRequired[
        "capo_ec2.types.local_gateway_routetable_id.LocalGatewayRoutetableId"
    ]
    """<p>The ID of the local gateway route table.</p>"""
    local_gateway_virtual_interface_group_id: NotRequired[
        "capo_ec2.types.local_gateway_virtual_interface_group_id.LocalGatewayVirtualInterfaceGroupId"
    ]
    """<p>The ID of the virtual interface group.</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>"""
    network_interface_id: NotRequired[
        "capo_ec2.types.network_interface_id.NetworkInterfaceId"
    ]
    """<p>The ID of the network interface.</p>"""
    destination_prefix_list_id: NotRequired[
        "capo_ec2.types.prefix_list_resource_id.PrefixListResourceId"
    ]
    """<p> The ID of the prefix list. Use a prefix list in place of <code>DestinationCidrBlock</code>. You cannot use <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request. </p>"""

destination_cidr_block instance-attribute

destination_cidr_block: NotRequired[String]

The CIDR range used for destination matches. Routing decisions are based on the most specific match.

destination_prefix_list_id instance-attribute

destination_prefix_list_id: NotRequired[PrefixListResourceId]

The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.

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.

local_gateway_route_table_id instance-attribute

local_gateway_route_table_id: NotRequired[LocalGatewayRoutetableId]

The ID of the local gateway route table.

local_gateway_virtual_interface_group_id instance-attribute

local_gateway_virtual_interface_group_id: NotRequired[
    LocalGatewayVirtualInterfaceGroupId
]

The ID of the virtual interface group.

network_interface_id instance-attribute

network_interface_id: NotRequired[NetworkInterfaceId]

The ID of the network interface.