Link Aggregation Group
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());
}
}
Content copied to clipboard
Import
Direct Connect LAGs can be imported using the lag id
, e.g.,
$ pulumi import aws:directconnect/linkAggregationGroup:LinkAggregationGroup test_lag dxlag-fgnsp5rq
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard