create_interconnect
async
¶
create_interconnect(
interconnect_name: InterconnectName,
bandwidth: Bandwidth,
location: LocationCode,
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
lag_id: Optional[LagId] = None,
tags: Optional[TagList] = None,
provider_name: Optional[ProviderName] = None,
request_mac_sec: Optional[RequestMACSec] = None,
) -> Interconnect
Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.
An interconnect is a connection that is capable of hosting other connections. The Direct Connect Partner can use an interconnect to provide Direct Connect hosted connections to customers through their own network services. Like a standard connection, an interconnect links the partner's network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect router.
You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created.
For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.
Intended for use by Direct Connect Partners only.
Parameters:
-
interconnect_name(InterconnectName) –The name of the interconnect.
-
bandwidth(Bandwidth) –The port bandwidth, in Gbps. The possible values are 1, 10, and 100.
-
location(LocationCode) –The location of the interconnect.
-
lag_id(Optional[LagId], default:None) –The ID of the LAG.
-
tags(Optional[TagList], default:None) –The tags to associate with the interconnect.
-
provider_name(Optional[ProviderName], default:None) –The name of the service provider associated with the interconnect.
-
request_mac_sec(Optional[RequestMACSec], default:None) –Indicates whether you want the interconnect to support MAC Security (MACsec).
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
DuplicateTagKeysException–A tag key was specified more than once.
-
TooManyTagsException–You have reached the limit on the number of tags that can be assigned.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 | |