DirectConnect class

AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection in place, you can create virtual interfaces directly to the AWS 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 AWS Regions except the China (Beijing) and (China) Ningxia Regions. AWS resources in the China Regions can only be accessed through locations associated with those Regions.

Constructors

DirectConnect({@_s.required String region, AwsClientCredentials credentials, Client client, String endpointUrl})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

acceptDirectConnectGatewayAssociationProposal({String associatedGatewayOwnerAccount, String directConnectGatewayId, String proposalId, List<RouteFilterPrefix> overrideAllowedPrefixesToDirectConnectGateway}) Future<AcceptDirectConnectGatewayAssociationProposalResult>
Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway. [...]
allocateConnectionOnInterconnect({String bandwidth, String connectionName, String interconnectId, String ownerAccount, int vlan}) Future<Connection>
Deprecated. Use AllocateHostedConnection instead. [...]
@Deprecated('Deprecated')
allocateHostedConnection({String bandwidth, String connectionId, String connectionName, String ownerAccount, int vlan, List<Tag> tags}) Future<Connection>
Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. [...]
allocatePrivateVirtualInterface({String connectionId, NewPrivateVirtualInterfaceAllocation newPrivateVirtualInterfaceAllocation, String ownerAccount}) Future<VirtualInterface>
Provisions a private virtual interface to be owned by the specified AWS account. [...]
allocatePublicVirtualInterface({String connectionId, NewPublicVirtualInterfaceAllocation newPublicVirtualInterfaceAllocation, String ownerAccount}) Future<VirtualInterface>
Provisions a public virtual interface to be owned by the specified AWS account. [...]
allocateTransitVirtualInterface({String connectionId, NewTransitVirtualInterfaceAllocation newTransitVirtualInterfaceAllocation, String ownerAccount}) Future<AllocateTransitVirtualInterfaceResult>
Provisions a transit virtual interface to be owned by the specified AWS account. Use this type of interface to connect a transit gateway to your Direct Connect gateway. [...]
associateConnectionWithLag({String connectionId, String lagId}) Future<Connection>
Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS is interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's currently associated with a different LAG; however, if removing the connection would cause the original LAG to fall below its setting for minimum number of operational connections, the request fails. [...]
associateHostedConnection({String connectionId, String parentConnectionId}) Future<Connection>
Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated. Intended for use by AWS Direct Connect Partners only. [...]
associateVirtualInterface({String connectionId, String virtualInterfaceId}) Future<VirtualInterface>
Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails. [...]
confirmConnection({String connectionId}) Future<ConfirmConnectionResponse>
Confirms the creation of the specified hosted connection on an interconnect. [...]
confirmPrivateVirtualInterface({String virtualInterfaceId, String directConnectGatewayId, String virtualGatewayId}) Future<ConfirmPrivateVirtualInterfaceResponse>
Accepts ownership of a private virtual interface created by another AWS account. [...]
confirmPublicVirtualInterface({String virtualInterfaceId}) Future<ConfirmPublicVirtualInterfaceResponse>
Accepts ownership of a public virtual interface created by another AWS account. [...]
confirmTransitVirtualInterface({String directConnectGatewayId, String virtualInterfaceId}) Future<ConfirmTransitVirtualInterfaceResponse>
Accepts ownership of a transit virtual interface created by another AWS account. [...]
createBGPPeer({NewBGPPeer newBGPPeer, String virtualInterfaceId}) Future<CreateBGPPeerResponse>
Creates a BGP peer on the specified virtual interface. [...]
createConnection({String bandwidth, String connectionName, String location, String lagId, String providerName, List<Tag> tags}) Future<Connection>
Creates a connection between a customer network and a specific AWS Direct Connect location. [...]
createDirectConnectGateway({String directConnectGatewayName, int amazonSideAsn}) Future<CreateDirectConnectGatewayResult>
Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any AWS Region after it is created. The virtual interfaces and virtual private gateways that are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to connect to a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic between them. [...]
createDirectConnectGatewayAssociation({String directConnectGatewayId, List<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway, String gatewayId, String virtualGatewayId}) Future<CreateDirectConnectGatewayAssociationResult>
Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway. [...]
createDirectConnectGatewayAssociationProposal({String directConnectGatewayId, String directConnectGatewayOwnerAccount, String gatewayId, List<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway, List<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway}) Future<CreateDirectConnectGatewayAssociationProposalResult>
Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway. [...]
createInterconnect({String bandwidth, String interconnectName, String location, String lagId, String providerName, List<Tag> tags}) Future<Interconnect>
Creates an interconnect between an AWS Direct Connect Partner's network and a specific AWS Direct Connect location. [...]
createLag({String connectionsBandwidth, String lagName, String location, int numberOfConnections, List<Tag> childConnectionTags, String connectionId, String providerName, List<Tag> tags}) Future<Lag>
Creates a link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single interface. [...]
createPrivateVirtualInterface({String connectionId, NewPrivateVirtualInterface newPrivateVirtualInterface}) Future<VirtualInterface>
Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region. [...]
createPublicVirtualInterface({String connectionId, NewPublicVirtualInterface newPublicVirtualInterface}) Future<VirtualInterface>
Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon S3. [...]
createTransitVirtualInterface({String connectionId, NewTransitVirtualInterface newTransitVirtualInterface}) Future<CreateTransitVirtualInterfaceResult>
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. [...]
deleteBGPPeer({int asn, String bgpPeerId, String customerAddress, String virtualInterfaceId}) Future<DeleteBGPPeerResponse>
Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN. [...]
deleteConnection({String connectionId}) Future<Connection>
Deletes the specified connection. [...]
deleteDirectConnectGateway({String directConnectGatewayId}) Future<DeleteDirectConnectGatewayResult>
Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect gateway. [...]
deleteDirectConnectGatewayAssociation({String associationId, String directConnectGatewayId, String virtualGatewayId}) Future<DeleteDirectConnectGatewayAssociationResult>
Deletes the association between the specified Direct Connect gateway and virtual private gateway. [...]
deleteDirectConnectGatewayAssociationProposal({String proposalId}) Future<DeleteDirectConnectGatewayAssociationProposalResult>
Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway or transit gateway. [...]
deleteInterconnect({String interconnectId}) Future<DeleteInterconnectResponse>
Deletes the specified interconnect. Intended for use by AWS Direct Connect Partners only. [...]
deleteLag({String lagId}) Future<Lag>
Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections. [...]
deleteVirtualInterface({String virtualInterfaceId}) Future<DeleteVirtualInterfaceResponse>
Deletes a virtual interface. [...]
describeConnectionLoa({String connectionId, LoaContentType loaContentType, String providerName}) Future<DescribeConnectionLoaResponse>
Deprecated. Use DescribeLoa instead. [...]
@Deprecated('Deprecated')
describeConnections({String connectionId}) Future<Connections>
Displays the specified connection or all connections in this Region. [...]
describeConnectionsOnInterconnect({String interconnectId}) Future<Connections>
Deprecated. Use DescribeHostedConnections instead. [...]
@Deprecated('Deprecated')
describeDirectConnectGatewayAssociationProposals({String associatedGatewayId, String directConnectGatewayId, int maxResults, String nextToken, String proposalId}) Future<DescribeDirectConnectGatewayAssociationProposalsResult>
Describes one or more association proposals for connection between a virtual private gateway or transit gateway and a Direct Connect gateway. [...]
describeDirectConnectGatewayAssociations({String associatedGatewayId, String associationId, String directConnectGatewayId, int maxResults, String nextToken, String virtualGatewayId}) Future<DescribeDirectConnectGatewayAssociationsResult>
Lists the associations between your Direct Connect gateways and virtual private gateways. You must specify a Direct Connect gateway, a virtual private gateway, or both. If you specify a Direct Connect gateway, the response contains all virtual private gateways associated with the Direct Connect gateway. If you specify a virtual private gateway, the response contains all Direct Connect gateways associated with the virtual private gateway. If you specify both, the response contains the association between the Direct Connect gateway and the virtual private gateway. [...]
describeDirectConnectGatewayAttachments({String directConnectGatewayId, int maxResults, String nextToken, String virtualInterfaceId}) Future<DescribeDirectConnectGatewayAttachmentsResult>
Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface. [...]
describeDirectConnectGateways({String directConnectGatewayId, int maxResults, String nextToken}) Future<DescribeDirectConnectGatewaysResult>
Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned. [...]
describeHostedConnections({String connectionId}) Future<Connections>
Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG). Intended for use by AWS Direct Connect Partners only. [...]
describeInterconnectLoa({String interconnectId, LoaContentType loaContentType, String providerName}) Future<DescribeInterconnectLoaResponse>
Deprecated. Use DescribeLoa instead. [...]
@Deprecated('Deprecated')
describeInterconnects({String interconnectId}) Future<Interconnects>
Lists the interconnects owned by the AWS account or only the specified interconnect. [...]
describeLags({String lagId}) Future<Lags>
Describes all your link aggregation groups (LAG) or the specified LAG. [...]
describeLoa({String connectionId, LoaContentType loaContentType, String providerName}) Future<Loa>
Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). [...]
describeLocations() Future<Locations>
Lists the AWS Direct Connect locations in the current AWS Region. These are the locations that can be selected when calling CreateConnection or CreateInterconnect. [...]
describeTags({List<String> resourceArns}) Future<DescribeTagsResponse>
Describes the tags associated with the specified AWS Direct Connect resources. [...]
describeVirtualGateways() Future<VirtualGateways>
Lists the virtual private gateways owned by the AWS account. [...]
describeVirtualInterfaces({String connectionId, String virtualInterfaceId}) Future<VirtualInterfaces>
Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned. [...]
disassociateConnectionFromLag({String connectionId, String lagId}) Future<Connection>
Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is automatically converted to an interconnect. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
tagResource({String resourceArn, List<Tag> tags}) Future<void>
Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags. [...]
toString() String
Returns a string representation of this object.
inherited
untagResource({String resourceArn, List<String> tagKeys}) Future<void>
Removes one or more tags from the specified AWS Direct Connect resource. [...]
updateDirectConnectGatewayAssociation({List<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway, String associationId, List<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway}) Future<UpdateDirectConnectGatewayAssociationResult>
Updates the specified attributes of the Direct Connect gateway association. [...]
updateLag({String lagId, String lagName, int minimumLinks}) Future<Lag>
Updates the attributes of the specified link aggregation group (LAG). [...]
updateVirtualInterfaceAttributes({String virtualInterfaceId, int mtu}) Future<VirtualInterface>
Updates the specified attributes of the specified virtual private interface. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited