LinkAggregationGroupArgs

data class LinkAggregationGroupArgs(val connectionId: Output<String>? = null, val connectionsBandwidth: Output<String>? = null, val forceDestroy: Output<Boolean>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val providerName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LinkAggregationGroupArgs>

Provides a Direct Connect LAG. Connections can be added to the LAG via the aws.directconnect.Connection and aws.directconnect.ConnectionAssociation resources.

NOTE: When creating a LAG, if no existing connection is specified, Direct Connect will create a connection and this provider will remove this unmanaged connection during resource creation.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.directconnect.LinkAggregationGroup;
import com.pulumi.aws.directconnect.LinkAggregationGroupArgs;
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 hoge = new LinkAggregationGroup("hoge", LinkAggregationGroupArgs.builder()
.connectionsBandwidth("1Gbps")
.forceDestroy(true)
.location("EqDC2")
.build());
}
}

Import

Direct Connect LAGs can be imported using the lag id, e.g.,

$ pulumi import aws:directconnect/linkAggregationGroup:LinkAggregationGroup test_lag dxlag-fgnsp5rq

Constructors

Link copied to clipboard
constructor(connectionId: Output<String>? = null, connectionsBandwidth: Output<String>? = null, forceDestroy: Output<Boolean>? = null, location: Output<String>? = null, name: Output<String>? = null, providerName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

The ID of an existing dedicated connection to migrate to the LAG.

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

The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.

Link copied to clipboard
val forceDestroy: Output<Boolean>? = null

A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are not recoverable.

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

The AWS Direct Connect location in which the LAG should be allocated. See DescribeLocations for the list of AWS Direct Connect locations. Use locationCode.

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

The name of the LAG.

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

The name of the service provider associated with the LAG.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

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