Class: AWS.DirectConnect
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.DirectConnect
- Identifier:
- directconnect
- API Version:
- 2012-10-25
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service 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.
Sending a Request Using DirectConnect
var directconnect = new AWS.DirectConnect();
directconnect.acceptDirectConnectGatewayAssociationProposal(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the DirectConnect object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var directconnect = new AWS.DirectConnect({apiVersion: '2012-10-25'});
You can also set the API version globally in AWS.config.apiVersions using
the directconnect service identifier:
AWS.config.apiVersions = {
directconnect: '2012-10-25',
// other service API versions
};
var directconnect = new AWS.DirectConnect();
Constructor Summary collapse
-
new AWS.DirectConnect(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
acceptDirectConnectGatewayAssociationProposal(params = {}, callback) ⇒ AWS.Request
Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway.
.
-
allocateConnectionOnInterconnect(params = {}, callback) ⇒ AWS.Request
Note: Deprecated.
- allocateHostedConnection(params = {}, callback) ⇒ AWS.Request
Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.
Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects.
- allocatePrivateVirtualInterface(params = {}, callback) ⇒ AWS.Request
Provisions a private virtual interface to be owned by the specified Amazon Web Services account.
Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface.
- allocatePublicVirtualInterface(params = {}, callback) ⇒ AWS.Request
Provisions a public virtual interface to be owned by the specified Amazon Web Services account.
The owner of a connection calls this function to provision a public virtual interface to be owned by the specified Amazon Web Services account.
Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface.
- allocateTransitVirtualInterface(params = {}, callback) ⇒ AWS.Request
Provisions a transit virtual interface to be owned by the specified Amazon Web Services account.
- associateConnectionWithLag(params = {}, callback) ⇒ AWS.Request
Associates an existing connection with a link aggregation group (LAG).
- associateHostedConnection(params = {}, callback) ⇒ AWS.Request
Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect.
- associateMacSecKey(params = {}, callback) ⇒ AWS.Request
Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an Direct Connect dedicated connection.
You must supply either the
secretARN,or the CKN/CAK (cknandcak) pair in the request.For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide.
.- associateVirtualInterface(params = {}, callback) ⇒ AWS.Request
Associates a virtual interface with a specified link aggregation group (LAG) or connection.
- confirmConnection(params = {}, callback) ⇒ AWS.Request
Confirms the creation of the specified hosted connection on an interconnect.
Upon creation, the hosted connection is initially in the
.Orderingstate, and remains in this state until the owner confirms creation of the hosted connection.- confirmCustomerAgreement(params = {}, callback) ⇒ AWS.Request
The confirmation of the terms of agreement when creating the connection/link aggregation group (LAG).
- confirmPrivateVirtualInterface(params = {}, callback) ⇒ AWS.Request
Accepts ownership of a private virtual interface created by another Amazon Web Services account.
After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.
.- confirmPublicVirtualInterface(params = {}, callback) ⇒ AWS.Request
Accepts ownership of a public virtual interface created by another Amazon Web Services account.
After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.
.- confirmTransitVirtualInterface(params = {}, callback) ⇒ AWS.Request
Accepts ownership of a transit virtual interface created by another Amazon Web Services account.
After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.
.- createBGPPeer(params = {}, callback) ⇒ AWS.Request
Creates a BGP peer on the specified virtual interface.
You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.
If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the same address family as an existing BGP peer on the virtual interface.
When creating a IPv6 BGP peer, omit the Amazon address and customer address.
- createConnection(params = {}, callback) ⇒ AWS.Request
Creates a connection between a customer network and a specific Direct Connect location.
A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable.
- createDirectConnectGateway(params = {}, callback) ⇒ AWS.Request
Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways.
- createDirectConnectGatewayAssociation(params = {}, callback) ⇒ AWS.Request
Creates an association between a Direct Connect gateway and a virtual private gateway.
- createDirectConnectGatewayAssociationProposal(params = {}, callback) ⇒ AWS.Request
Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.
You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any Amazon Web Services account.
- createInterconnect(params = {}, callback) ⇒ AWS.Request
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.
- createLag(params = {}, callback) ⇒ AWS.Request
Creates a link aggregation group (LAG) with the specified number of bundled physical dedicated connections between the customer network and a specific Direct Connect location.
- createPrivateVirtualInterface(params = {}, callback) ⇒ AWS.Request
Creates a private virtual interface.
- createPublicVirtualInterface(params = {}, callback) ⇒ AWS.Request
Creates a public virtual interface.
- createTransitVirtualInterface(params = {}, callback) ⇒ AWS.Request
Creates a transit virtual interface.
- deleteBGPPeer(params = {}, callback) ⇒ AWS.Request
Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN.
You cannot delete the last BGP peer from a virtual interface.
.- deleteConnection(params = {}, callback) ⇒ AWS.Request
Deletes the specified connection.
Deleting a connection only stops the Direct Connect port hour and data transfer charges.
- deleteDirectConnectGateway(params = {}, callback) ⇒ AWS.Request
Deletes the specified Direct Connect gateway.
- deleteDirectConnectGatewayAssociation(params = {}, callback) ⇒ AWS.Request
Deletes the association between the specified Direct Connect gateway and virtual private gateway.
We recommend that you specify the
associationIDto delete the association.- deleteDirectConnectGatewayAssociationProposal(params = {}, callback) ⇒ AWS.Request
Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway or transit gateway.
.
- deleteInterconnect(params = {}, callback) ⇒ AWS.Request
Deletes the specified interconnect.
Note: Intended for use by Direct Connect Partners only.- deleteLag(params = {}, callback) ⇒ AWS.Request
Deletes the specified link aggregation group (LAG).
- deleteVirtualInterface(params = {}, callback) ⇒ AWS.Request
Deletes a virtual interface.
.
- describeConnectionLoa(params = {}, callback) ⇒ AWS.Request
Note: Deprecated.- describeConnections(params = {}, callback) ⇒ AWS.Request
Displays the specified connection or all connections in this Region.
.
- describeConnectionsOnInterconnect(params = {}, callback) ⇒ AWS.Request
Note: Deprecated.- describeCustomerMetadata(params = {}, callback) ⇒ AWS.Request
Get and view a list of customer agreements, along with their signed status and whether the customer is an NNIPartner, NNIPartnerV2, or a nonPartner.
- describeDirectConnectGatewayAssociationProposals(params = {}, callback) ⇒ AWS.Request
Describes one or more association proposals for connection between a virtual private gateway or transit gateway and a Direct Connect gateway.
- describeDirectConnectGatewayAssociations(params = {}, callback) ⇒ AWS.Request
Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways.
- describeDirectConnectGatewayAttachments(params = {}, callback) ⇒ AWS.Request
Lists the attachments between your Direct Connect gateways and virtual interfaces.
- describeDirectConnectGateways(params = {}, callback) ⇒ AWS.Request
Lists all your Direct Connect gateways or only the specified Direct Connect gateway.
- describeHostedConnections(params = {}, callback) ⇒ AWS.Request
Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG).
Note: Intended for use by Direct Connect Partners only.- describeInterconnectLoa(params = {}, callback) ⇒ AWS.Request
Note: Deprecated.- describeInterconnects(params = {}, callback) ⇒ AWS.Request
Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect.
.
- describeLags(params = {}, callback) ⇒ AWS.Request
Describes all your link aggregation groups (LAG) or the specified LAG.
.
- describeLoa(params = {}, callback) ⇒ AWS.Request
Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).
The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to Amazon Web Services at the colocation facility.
- describeLocations(params = {}, callback) ⇒ AWS.Request
Lists the Direct Connect locations in the current Amazon Web Services Region.
- describeRouterConfiguration(params = {}, callback) ⇒ AWS.Request
Details about the router.
- describeTags(params = {}, callback) ⇒ AWS.Request
Describes the tags associated with the specified Direct Connect resources.
.
- describeVirtualGateways(params = {}, callback) ⇒ AWS.Request
Note: Deprecated.- describeVirtualInterfaces(params = {}, callback) ⇒ AWS.Request
Displays all virtual interfaces for an Amazon Web Services account.
- disassociateConnectionFromLag(params = {}, callback) ⇒ AWS.Request
Disassociates a connection from a link aggregation group (LAG).
- disassociateMacSecKey(params = {}, callback) ⇒ AWS.Request
Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.
.
- listVirtualInterfaceTestHistory(params = {}, callback) ⇒ AWS.Request
Lists the virtual interface failover test history.
.
- startBgpFailoverTest(params = {}, callback) ⇒ AWS.Request
Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by placing the BGP peering session in the DOWN state.
- stopBgpFailoverTest(params = {}, callback) ⇒ AWS.Request
Stops the virtual interface failover test.
.
- tagResource(params = {}, callback) ⇒ AWS.Request
Adds the specified tags to the specified Direct Connect resource.
- untagResource(params = {}, callback) ⇒ AWS.Request
Removes one or more tags from the specified Direct Connect resource.
.
- updateConnection(params = {}, callback) ⇒ AWS.Request
Updates the Direct Connect dedicated connection configuration.
You can update the following parameters for a connection:
-
The connection name
-
The connection's MAC Security (MACsec) encryption mode.
- updateDirectConnectGateway(params = {}, callback) ⇒ AWS.Request
Updates the name of a current Direct Connect gateway.
.
- updateDirectConnectGatewayAssociation(params = {}, callback) ⇒ AWS.Request
Updates the specified attributes of the Direct Connect gateway association.
Add or remove prefixes from the association.
.- updateLag(params = {}, callback) ⇒ AWS.Request
Updates the attributes of the specified link aggregation group (LAG).
You can update the following LAG attributes:
-
The name of the LAG.
-
The value for the minimum number of connections that must be operational for the LAG itself to be operational.
- updateVirtualInterfaceAttributes(params = {}, callback) ⇒ AWS.Request
Updates the specified attributes of the specified virtual private interface.
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.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.DirectConnect(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
acceptDirectConnectGatewayAssociationProposal(params = {}, callback) ⇒ AWS.Request
Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway.
allocateConnectionOnInterconnect(params = {}, callback) ⇒ AWS.Request
Note: Deprecated. Use AllocateHostedConnection instead.Creates a hosted connection on an interconnect.
Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.
Note: Intended for use by Direct Connect Partners only.allocateHostedConnection(params = {}, callback) ⇒ AWS.Request
Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.
Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. Amazon Web Services polices the hosted connection for the specified capacity and the Direct Connect Partner must also police the hosted connection for the specified capacity.
Note: Intended for use by Direct Connect Partners only.allocatePrivateVirtualInterface(params = {}, callback) ⇒ AWS.Request
Provisions a private virtual interface to be owned by the specified Amazon Web Services account.
Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the
Confirmingstate and is not available to handle traffic.allocatePublicVirtualInterface(params = {}, callback) ⇒ AWS.Request
Provisions a public virtual interface to be owned by the specified Amazon Web Services account.
The owner of a connection calls this function to provision a public virtual interface to be owned by the specified Amazon Web Services account.
Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the
confirmingstate and is not available to handle traffic.When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
allocateTransitVirtualInterface(params = {}, callback) ⇒ AWS.Request
Provisions a transit virtual interface to be owned by the specified Amazon Web Services account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.
The owner of a connection provisions a transit virtual interface to be owned by the specified Amazon Web Services account.
After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the
requestedstate and is not available to handle traffic. - allocateHostedConnection(params = {}, callback) ⇒ AWS.Request