HostedConnectionArgs

data class HostedConnectionArgs(val bandwidth: Output<String>? = null, val connectionId: Output<String>? = null, val name: Output<String>? = null, val ownerAccountId: Output<String>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<HostedConnectionArgs>

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

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()
.bandwidth("100Mbps")
.connectionId("dxcon-ffabc123")
.ownerAccountId("123456789012")
.vlan(1)
.build());
}
}

Constructors

Link copied to clipboard
constructor(bandwidth: Output<String>? = null, connectionId: Output<String>? = null, name: Output<String>? = null, ownerAccountId: Output<String>? = null, vlan: Output<Int>? = null)

Properties

Link copied to clipboard
val bandwidth: Output<String>? = null

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 and 10Gbps. Case sensitive.

Link copied to clipboard
val connectionId: Output<String>? = null

The ID of the interconnect or LAG.

Link copied to clipboard
val name: Output<String>? = null

The name of the connection.

Link copied to clipboard
val ownerAccountId: Output<String>? = null

The ID of the AWS account of the customer for the connection.

Link copied to clipboard
val vlan: Output<Int>? = null

The dedicated VLAN provisioned to the hosted connection.

Functions

Link copied to clipboard
open override fun toJava(): HostedConnectionArgs