create_sse_connect
¶
create_sse_connect(
sse_regions: SseRegionNameList,
sse_vendor: SseVendor,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
description: Optional[ConstrainedString] = None,
sse_license_model: Optional[SseLicenseModel] = None,
dry_run: Optional[Boolean] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateSseConnectResponse
Creates an Amazon VPC SSE connect (SSE connect). An SSE connect sends traffic from your Amazon Web Services Transit Gateway or Amazon Web Services Cloud WAN network through a third-party Security Service Edge (SSE) provider for inspection, policy enforcement, and internet egress.
You can create one SSE connect for each SSE provider in your account. The SSE provider must be available in each Amazon Web Services Region that you specify. To find these Regions, use ListSSERegions.
Parameters:
-
description(Optional[ConstrainedString], default:None) –A description of the SSE connect.
-
sse_regions(SseRegionNameList) –The Regions where the SSE connect peers with the SSE provider. You must specify at least two Regions, and the SSE provider must be available in each Region.
-
sse_vendor(SseVendor) –The SSE provider to connect to. You can't change the SSE provider after you create the SSE connect.
-
sse_license_model(Optional[SseLicenseModel], default:None) –How you subscribe to the SSE provider. Valid values:
-
BRING_YOUR_OWN_LICENSE– You have an agreement directly with the SSE provider. This is the default. -
AWS_MARKETPLACE– You subscribed to the SSE provider through Amazon Web Services Marketplace.
-
-
dry_run(Optional[Boolean], default:None) –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 isAccessDeniedException. -
tags(Optional[TagList], default:None) –The tags to apply to the SSE connect.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
DryRunOperation–You have the required permissions. You specified the
DryRunparameter, so the request didn't run. -
InternalServerException–The request has failed due to an internal error.
-
ServiceQuotaExceededException–A service limit was exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To create an SSE connect The following example creates an SSE connect to an SSE provider in aa-example-1 and aa-example-2.
>>> client.create_sse_connect(description='Branch internet egress', sse_regions=['aa-example-1', 'aa-example-2'], sse_vendor='PALO_ALTO', sse_license_model='BRING_YOUR_OWN_LICENSE', tags=[{'Key': 'Name', 'Value': 'branch-egress'}])
Source code in docs_src/capo_networkmanager/_services/network_manager.py
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 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 | |