openapi: 3.0.0 info: version: 2012-10-25 x-release: v4 title: 'AWS Direct Connect #X Amz Target=OvertureService.AcceptDirectConnectGatewayAssociationProposal #X Amz Target=OvertureService.AcceptDirectConnectGatewayAssociationProposal #X Amz Target=OvertureService.CreateTransitVirtualInterface API' description: Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an Direct Connect router. With this connection in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions. x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: directconnect x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/directconnect-2012-10-25.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://directconnect.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Direct Connect multi-region endpoint - url: https://directconnect.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Direct Connect multi-region endpoint - url: http://directconnect.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Direct Connect endpoint for China (Beijing) and China (Ningxia) - url: https://directconnect.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Direct Connect endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=OvertureService.CreateTransitVirtualInterface' paths: /#X-Amz-Target=OvertureService.CreateTransitVirtualInterface: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: CreateTransitVirtualInterface description:

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.

A jumbo MTU value must be either 1500 or 8500. No other values will be accepted. 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.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateTransitVirtualInterfaceResult' '480': description: DuplicateTagKeysException content: application/json: schema: $ref: '#/components/schemas/DuplicateTagKeysException' '481': description: TooManyTagsException content: application/json: schema: $ref: '#/components/schemas/TooManyTagsException' '482': description: DirectConnectServerException content: application/json: schema: $ref: '#/components/schemas/DirectConnectServerException' '483': description: DirectConnectClientException content: application/json: schema: $ref: '#/components/schemas/DirectConnectClientException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateTransitVirtualInterfaceRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - OvertureService.CreateTransitVirtualInterface tags: - '#X Amz Target=OvertureService.CreateTransitVirtualInterface' components: schemas: BGPPeerState: type: string enum: - verifying - pending - available - deleting - deleted BGPAuthKey: type: string DuplicateTagKeysException: {} Tag: type: object required: - key properties: key: allOf: - $ref: '#/components/schemas/TagKey' - description: The key. value: allOf: - $ref: '#/components/schemas/TagValue' - description: The value. description: Information about a tag. DirectConnectServerException: {} TagList: type: array items: $ref: '#/components/schemas/Tag' minItems: 1 MTU: type: integer VLAN: type: integer VirtualInterfaceName: type: string BGPPeerList: type: array items: $ref: '#/components/schemas/BGPPeer' VirtualInterfaceType: type: string CustomerAddress: type: string JumboFrameCapable: type: boolean VirtualInterfaceState: type: string enum: - confirming - verifying - pending - available - down - deleting - deleted - rejected - unknown BGPPeerId: type: string BGPPeer: type: object properties: bgpPeerId: allOf: - $ref: '#/components/schemas/BGPPeerId' - description: The ID of the BGP peer. asn: allOf: - $ref: '#/components/schemas/ASN' - description: The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. authKey: allOf: - $ref: '#/components/schemas/BGPAuthKey' - description: The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters. addressFamily: allOf: - $ref: '#/components/schemas/AddressFamily' - description: The address family for the BGP peer. amazonAddress: allOf: - $ref: '#/components/schemas/AmazonAddress' - description: The IP address assigned to the Amazon interface. customerAddress: allOf: - $ref: '#/components/schemas/CustomerAddress' - description: The IP address assigned to the customer interface. bgpPeerState: allOf: - $ref: '#/components/schemas/BGPPeerState' - description: '

The state of the BGP peer. The following are the possible values:

' bgpStatus: allOf: - $ref: '#/components/schemas/BGPStatus' - description: '

The status of the BGP peer. The following are the possible values:

' awsDeviceV2: allOf: - $ref: '#/components/schemas/AwsDeviceV2' - description: The Direct Connect endpoint that terminates the BGP peer. awsLogicalDeviceId: allOf: - $ref: '#/components/schemas/AwsLogicalDeviceId' - description: The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection. description: Information about a BGP peer. CreateTransitVirtualInterfaceRequest: type: object required: - connectionId - newTransitVirtualInterface title: CreateTransitVirtualInterfaceRequest properties: connectionId: allOf: - $ref: '#/components/schemas/ConnectionId' - description: The ID of the connection. newTransitVirtualInterface: allOf: - $ref: '#/components/schemas/NewTransitVirtualInterface' - description: Information about the transit virtual interface. BGPStatus: type: string enum: - up - down - unknown VirtualInterfaceId: type: string CIDR: type: string NewTransitVirtualInterface: type: object properties: virtualInterfaceName: allOf: - $ref: '#/components/schemas/VirtualInterfaceName' - description: 'The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).' vlan: allOf: - $ref: '#/components/schemas/VLAN' - description: The ID of the VLAN. asn: allOf: - $ref: '#/components/schemas/ASN' - description:

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

The valid values are 1-2147483647.

mtu: allOf: - $ref: '#/components/schemas/MTU' - description: The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500. authKey: allOf: - $ref: '#/components/schemas/BGPAuthKey' - description: The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters. amazonAddress: allOf: - $ref: '#/components/schemas/AmazonAddress' - description: The IP address assigned to the Amazon interface. customerAddress: allOf: - $ref: '#/components/schemas/CustomerAddress' - description: The IP address assigned to the customer interface. addressFamily: allOf: - $ref: '#/components/schemas/AddressFamily' - description: The address family for the BGP peer. directConnectGatewayId: allOf: - $ref: '#/components/schemas/DirectConnectGatewayId' - description: The ID of the Direct Connect gateway. tags: allOf: - $ref: '#/components/schemas/TagList' - description: The tags associated with the transitive virtual interface. enableSiteLink: allOf: - $ref: '#/components/schemas/EnableSiteLink' - description: Indicates whether to enable or disable SiteLink. description: Information about a transit virtual interface. RouteFilterPrefix: type: object properties: cidr: allOf: - $ref: '#/components/schemas/CIDR' - description: The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter. description: Information about a route filter prefix that a customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface. RouteFilterPrefixList: type: array items: $ref: '#/components/schemas/RouteFilterPrefix' TagKey: type: string pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$ minLength: 1 maxLength: 128 EnableSiteLink: type: boolean ConnectionId: type: string LocationCode: type: string OwnerAccount: type: string AddressFamily: type: string enum: - ipv4 - ipv6 LongAsn: type: integer SiteLinkEnabled: type: boolean AmazonAddress: type: string CreateTransitVirtualInterfaceResult: type: object properties: virtualInterface: $ref: '#/components/schemas/VirtualInterface' AwsLogicalDeviceId: type: string TooManyTagsException: {} Region: type: string DirectConnectGatewayId: type: string ASN: type: integer TagValue: type: string pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$ minLength: 0 maxLength: 256 DirectConnectClientException: {} VirtualInterface: type: object properties: ownerAccount: allOf: - $ref: '#/components/schemas/OwnerAccount' - description: The ID of the Amazon Web Services account that owns the virtual interface. virtualInterfaceId: allOf: - $ref: '#/components/schemas/VirtualInterfaceId' - description: The ID of the virtual interface. location: allOf: - $ref: '#/components/schemas/LocationCode' - description: The location of the connection. connectionId: allOf: - $ref: '#/components/schemas/ConnectionId' - description: The ID of the connection. virtualInterfaceType: allOf: - $ref: '#/components/schemas/VirtualInterfaceType' - description: The type of virtual interface. The possible values are private and public. virtualInterfaceName: allOf: - $ref: '#/components/schemas/VirtualInterfaceName' - description: 'The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).' vlan: allOf: - $ref: '#/components/schemas/VLAN' - description: The ID of the VLAN. asn: allOf: - $ref: '#/components/schemas/ASN' - description:

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

The valid values are 1-2147483647.

amazonSideAsn: allOf: - $ref: '#/components/schemas/LongAsn' - description: The autonomous system number (ASN) for the Amazon side of the connection. authKey: allOf: - $ref: '#/components/schemas/BGPAuthKey' - description: The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters. amazonAddress: allOf: - $ref: '#/components/schemas/AmazonAddress' - description: The IP address assigned to the Amazon interface. customerAddress: allOf: - $ref: '#/components/schemas/CustomerAddress' - description: The IP address assigned to the customer interface. addressFamily: allOf: - $ref: '#/components/schemas/AddressFamily' - description: The address family for the BGP peer. virtualInterfaceState: allOf: - $ref: '#/components/schemas/VirtualInterfaceState' - description: '

The state of the virtual interface. The following are the possible values:

' customerRouterConfig: allOf: - $ref: '#/components/schemas/RouterConfig' - description: The customer router configuration. mtu: allOf: - $ref: '#/components/schemas/MTU' - description: The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500. jumboFrameCapable: allOf: - $ref: '#/components/schemas/JumboFrameCapable' - description: Indicates whether jumbo frames (9001 MTU) are supported. virtualGatewayId: allOf: - $ref: '#/components/schemas/VirtualGatewayId' - description: The ID of the virtual private gateway. Applies only to private virtual interfaces. directConnectGatewayId: allOf: - $ref: '#/components/schemas/DirectConnectGatewayId' - description: The ID of the Direct Connect gateway. routeFilterPrefixes: allOf: - $ref: '#/components/schemas/RouteFilterPrefixList' - description: The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces. bgpPeers: allOf: - $ref: '#/components/schemas/BGPPeerList' - description: The BGP peers configured on this virtual interface. region: allOf: - $ref: '#/components/schemas/Region' - description: The Amazon Web Services Region where the virtual interface is located. awsDeviceV2: allOf: - $ref: '#/components/schemas/AwsDeviceV2' - description: The Direct Connect endpoint that terminates the physical connection. awsLogicalDeviceId: allOf: - $ref: '#/components/schemas/AwsLogicalDeviceId' - description: The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection. tags: allOf: - $ref: '#/components/schemas/TagList' - description: The tags associated with the virtual interface. siteLinkEnabled: allOf: - $ref: '#/components/schemas/SiteLinkEnabled' - description: Indicates whether SiteLink is enabled. description: Information about a virtual interface. VirtualGatewayId: type: string RouterConfig: type: string AwsDeviceV2: type: string parameters: X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/directconnect/ x-hasEquivalentPaths: true