Class AwsDirectConnectAdapter<T>

java.lang.Object
api.equinix.javasdk.fabric.model.implementation.cloud.AwsDirectConnectAdapter<T>
Type Parameters:
T - the type of the AWS SDK object being adapted (e.g., Connection, or use ? for manual construction)
All Implemented Interfaces:
CloudProviderConnectionAdapter<T>

public class AwsDirectConnectAdapter<T> extends Object implements CloudProviderConnectionAdapter<T>
Adapter for bridging AWS Direct Connect SDK objects with Equinix Fabric connections.

AWS Direct Connect provides dedicated network connections between AWS and colocation facilities. When creating an Equinix Fabric connection to AWS, you need:

  • Authentication Key: Your 12-digit AWS Account ID
  • Seller Region: The AWS region (e.g., "us-east-1", "eu-west-1")
  • Service Profile: The Equinix Fabric service profile UUID for AWS Direct Connect

Usage with AWS SDK Object


 // From AWS Direct Connect SDK
 com.amazonaws.services.directconnect.model.Connection awsConnection = ...;

 AwsDirectConnectAdapter<Connection> adapter = new AwsDirectConnectAdapter<>(
     awsConnection,
     awsConnection.getOwnerAccount(),   // 12-digit AWS Account ID
     awsConnection.getRegion(),          // e.g., "us-east-1"
     "equinix-aws-profile-uuid"          // Equinix service profile for AWS
 );

 Connection conn = fabric.connections()
     .define(ConnectionType.EVPL_VC)
     .name("AWS-" + awsConnection.getConnectionName())
     .bandwidth(awsConnection.getBandwidth())
     .aSideAccessPointPort(portUuid, LinkProtocol.dot1q().vlanTag(1000).create())
     .zSideCloudProvider(adapter)
     .notification("ops@example.com")
     .create();
 

Manual Construction (No AWS SDK)


 AwsDirectConnectAdapter<?> adapter = AwsDirectConnectAdapter.of(
     "123456789012",                      // AWS Account ID
     "us-east-1",                          // Region
     "equinix-aws-profile-uuid"            // Equinix service profile
 );
 
Author:
ianjones
See Also: