create_route_server_endpoint
¶
create_route_server_endpoint(
*,
config_overrides: Optional[EC2ClientConfig] = None,
route_server_id: Optional[RouteServerId] = None,
subnet_id: Optional[SubnetId] = None,
client_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
tag_specifications: Optional[TagSpecificationList] = None,
) -> CreateRouteServerEndpointResult
Creates a new endpoint for a route server in a specified subnet.
A route server endpoint is an Amazon Web Services-managed component inside a subnet that facilitates BGP (Border Gateway Protocol) connections between your route server and your BGP peers.
For more information see Dynamic routing in your VPC with VPC Route Server in the Amazon VPC User Guide.
Parameters:
-
route_server_id(Optional[RouteServerId], default:None) –The ID of the route server for which to create an endpoint.
-
subnet_id(Optional[SubnetId], default:None) –The ID of the subnet in which to create the route server endpoint.
-
client_token(Optional[String], default:None) –Unique, case-sensitive identifier to ensure idempotency of the request.
-
dry_run(Optional[Boolean], default:None) –A check for 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 isUnauthorizedOperation. -
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the route server endpoint during creation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 | |