LinkAggregationGroup

class LinkAggregationGroup : KotlinCustomResource

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

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const hoge = new aws.directconnect.LinkAggregationGroup("hoge", {
name: "tf-dx-lag",
connectionsBandwidth: "1Gbps",
location: "EqDC2",
forceDestroy: true,
});
import pulumi
import pulumi_aws as aws
hoge = aws.directconnect.LinkAggregationGroup("hoge",
name="tf-dx-lag",
connections_bandwidth="1Gbps",
location="EqDC2",
force_destroy=True)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var hoge = new Aws.DirectConnect.LinkAggregationGroup("hoge", new()
{
Name = "tf-dx-lag",
ConnectionsBandwidth = "1Gbps",
Location = "EqDC2",
ForceDestroy = true,
});
});
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.NewLinkAggregationGroup(ctx, "hoge", &directconnect.LinkAggregationGroupArgs{
Name: pulumi.String("tf-dx-lag"),
ConnectionsBandwidth: pulumi.String("1Gbps"),
Location: pulumi.String("EqDC2"),
ForceDestroy: pulumi.Bool(true),
})
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.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()
.name("tf-dx-lag")
.connectionsBandwidth("1Gbps")
.location("EqDC2")
.forceDestroy(true)
.build());
}
}
resources:
hoge:
type: aws:directconnect:LinkAggregationGroup
properties:
name: tf-dx-lag
connectionsBandwidth: 1Gbps
location: EqDC2
forceDestroy: true

Import

Using pulumi import, import Direct Connect LAGs using the LAG id. For example:

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

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the LAG.

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

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

Link copied to clipboard

The bandwidth of the individual dedicated connections bundled by the LAG. Valid values: 1Gbps, 10Gbps, 100Gbps, and 400Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for Dedicated Connections.

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

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

Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Indicates whether jumbo frames (9001 MTU) are supported.

Link copied to clipboard
val location: Output<String>

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>

The name of the LAG.

Link copied to clipboard
val ownerAccountId: Output<String>

The ID of the AWS account that owns the LAG.

Link copied to clipboard
val providerName: Output<String>

The name of the service provider associated with the LAG.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>