Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a transit virtual interface. A transit virtual interface should be used to access one or more transit gateways associated with Direct Connect gateways. A transit virtual interface enables the connection of multiple VPCs attached to a transit gateway to a Direct Connect gateway.
If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails.
Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.
Synopsis
- data CreateTransitVirtualInterface = CreateTransitVirtualInterface' {}
- newCreateTransitVirtualInterface :: Text -> NewTransitVirtualInterface -> CreateTransitVirtualInterface
- createTransitVirtualInterface_connectionId :: Lens' CreateTransitVirtualInterface Text
- createTransitVirtualInterface_newTransitVirtualInterface :: Lens' CreateTransitVirtualInterface NewTransitVirtualInterface
- data CreateTransitVirtualInterfaceResponse = CreateTransitVirtualInterfaceResponse' {}
- newCreateTransitVirtualInterfaceResponse :: Int -> CreateTransitVirtualInterfaceResponse
- createTransitVirtualInterfaceResponse_virtualInterface :: Lens' CreateTransitVirtualInterfaceResponse (Maybe VirtualInterface)
- createTransitVirtualInterfaceResponse_httpStatus :: Lens' CreateTransitVirtualInterfaceResponse Int
Creating a Request
data CreateTransitVirtualInterface Source #
See: newCreateTransitVirtualInterface
smart constructor.
CreateTransitVirtualInterface' | |
|
Instances
newCreateTransitVirtualInterface Source #
:: Text | |
-> NewTransitVirtualInterface |
|
-> CreateTransitVirtualInterface |
Create a value of CreateTransitVirtualInterface
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:connectionId:CreateTransitVirtualInterface'
, createTransitVirtualInterface_connectionId
- The ID of the connection.
$sel:newTransitVirtualInterface':CreateTransitVirtualInterface'
, createTransitVirtualInterface_newTransitVirtualInterface
- Information about the transit virtual interface.
Request Lenses
createTransitVirtualInterface_connectionId :: Lens' CreateTransitVirtualInterface Text Source #
The ID of the connection.
createTransitVirtualInterface_newTransitVirtualInterface :: Lens' CreateTransitVirtualInterface NewTransitVirtualInterface Source #
Information about the transit virtual interface.
Destructuring the Response
data CreateTransitVirtualInterfaceResponse Source #
See: newCreateTransitVirtualInterfaceResponse
smart constructor.
CreateTransitVirtualInterfaceResponse' | |
|
Instances
newCreateTransitVirtualInterfaceResponse Source #
Create a value of CreateTransitVirtualInterfaceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:virtualInterface:CreateTransitVirtualInterfaceResponse'
, createTransitVirtualInterfaceResponse_virtualInterface
- Undocumented member.
$sel:httpStatus:CreateTransitVirtualInterfaceResponse'
, createTransitVirtualInterfaceResponse_httpStatus
- The response's http status code.
Response Lenses
createTransitVirtualInterfaceResponse_virtualInterface :: Lens' CreateTransitVirtualInterfaceResponse (Maybe VirtualInterface) Source #
Undocumented member.
createTransitVirtualInterfaceResponse_httpStatus :: Lens' CreateTransitVirtualInterfaceResponse Int Source #
The response's http status code.