Hosted Connection
Provides a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Intended for use by AWS Direct Connect Partners only.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const hosted = new aws.directconnect.HostedConnection("hosted", {
connectionId: "dxcon-ffabc123",
bandwidth: "100Mbps",
name: "tf-dx-hosted-connection",
ownerAccountId: "123456789012",
vlan: 1,
});
import pulumi
import pulumi_aws as aws
hosted = aws.directconnect.HostedConnection("hosted",
connection_id="dxcon-ffabc123",
bandwidth="100Mbps",
name="tf-dx-hosted-connection",
owner_account_id="123456789012",
vlan=1)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var hosted = new Aws.DirectConnect.HostedConnection("hosted", new()
{
ConnectionId = "dxcon-ffabc123",
Bandwidth = "100Mbps",
Name = "tf-dx-hosted-connection",
OwnerAccountId = "123456789012",
Vlan = 1,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := directconnect.NewHostedConnection(ctx, "hosted", &directconnect.HostedConnectionArgs{
ConnectionId: pulumi.String("dxcon-ffabc123"),
Bandwidth: pulumi.String("100Mbps"),
Name: pulumi.String("tf-dx-hosted-connection"),
OwnerAccountId: pulumi.String("123456789012"),
Vlan: pulumi.Int(1),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.directconnect.HostedConnection;
import com.pulumi.aws.directconnect.HostedConnectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var hosted = new HostedConnection("hosted", HostedConnectionArgs.builder()
.connectionId("dxcon-ffabc123")
.bandwidth("100Mbps")
.name("tf-dx-hosted-connection")
.ownerAccountId("123456789012")
.vlan(1)
.build());
}
}
resources:
hosted:
type: aws:directconnect:HostedConnection
properties:
connectionId: dxcon-ffabc123
bandwidth: 100Mbps
name: tf-dx-hosted-connection
ownerAccountId: '123456789012'
vlan: 1
Properties
The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for Hosted Connections.
The ID of the interconnect or LAG.
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Boolean value representing if jumbo frames have been enabled for this connection.
The time of the most recent call to DescribeLoa for this connection.
The ID of the AWS account of the customer for the connection.
The name of the AWS Direct Connect service provider associated with the connection.
The name of the service provider associated with the connection.
The state of the connection. Possible values include: ordering, requested, pending, available, down, deleting, deleted, rejected, unknown. See AllocateHostedConnection for a description of each connection state.