create_sse_connect_attachment
¶
create_sse_connect_attachment(
core_network_id: CoreNetworkId,
sse_connect_arn: SseConnectArn,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateSseConnectAttachmentResponse
Creates an attachment between an SSE connect and a Cloud WAN core network. A core network uses a single attachment to an SSE connect for all Regions, so you don't specify an edge location. The SSE connect must be in the AVAILABLE state.
The attachment propagates default routes (0.0.0.0/0 and ::/0) toward your core network. To send traffic to the SSE provider, place the attachment in a network function group and use a send-to segment action in your core network policy.
Parameters:
-
core_network_id(CoreNetworkId) –The ID of the core network to attach to the SSE connect.
-
sse_connect_arn(SseConnectArn) –The ARN of the SSE connect.
-
tags(Optional[TagList], default:None) –The tags to apply to the attachment.
-
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.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
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 attach a core network to an SSE connect The following example creates an attachment between an SSE connect and a Cloud WAN core network.
>>> client.create_sse_connect_attachment(core_network_id='core-network-1234567890abcdef0', sse_connect_arn='arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0')
Source code in docs_src/capo_networkmanager/_services/network_manager.py
1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 | |