LinkAggregationGroup

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, Direct Connect requires creating a Connection. This provider will remove this unmanaged connection during resource creation.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var hoge = new Aws.DirectConnect.LinkAggregationGroup("hoge", new Aws.DirectConnect.LinkAggregationGroupArgs
        {
            ConnectionsBandwidth = "1Gbps",
            ForceDestroy = true,
            Location = "EqDC2",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/directconnect"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := directconnect.NewLinkAggregationGroup(ctx, "hoge", &directconnect.LinkAggregationGroupArgs{
            ConnectionsBandwidth: pulumi.String("1Gbps"),
            ForceDestroy:         pulumi.Bool(true),
            Location:             pulumi.String("EqDC2"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

hoge = aws.directconnect.LinkAggregationGroup("hoge",
    connections_bandwidth="1Gbps",
    force_destroy=True,
    location="EqDC2")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const hoge = new aws.directconnect.LinkAggregationGroup("hoge", {
    connectionsBandwidth: "1Gbps",
    forceDestroy: true,
    location: "EqDC2",
});

Create a LinkAggregationGroup Resource

def LinkAggregationGroup(resource_name, opts=None, connections_bandwidth=None, force_destroy=None, location=None, name=None, tags=None, __props__=None);
name string
The unique name of the resource.
args LinkAggregationGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LinkAggregationGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LinkAggregationGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

LinkAggregationGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The LinkAggregationGroup resource accepts the following input properties:

ConnectionsBandwidth string

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

Location 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.

ForceDestroy bool

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.

Name string

The name of the LAG.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

ConnectionsBandwidth string

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

Location 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.

ForceDestroy bool

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.

Name string

The name of the LAG.

Tags map[string]string

A map of tags to assign to the resource.

connectionsBandwidth string

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

location 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.

forceDestroy 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.

name string

The name of the LAG.

tags {[key: string]: string}

A map of tags to assign to the resource.

connections_bandwidth str

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

location str

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

force_destroy bool

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.

name str

The name of the LAG.

tags Dict[str, str]

A map of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the LinkAggregationGroup resource produces the following output properties:

Arn string

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

HasLogicalRedundancy string

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

Id string
The provider-assigned unique ID for this managed resource.
JumboFrameCapable bool
Arn string

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

HasLogicalRedundancy string

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

Id string
The provider-assigned unique ID for this managed resource.
JumboFrameCapable bool
arn string

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

hasLogicalRedundancy string

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

id string
The provider-assigned unique ID for this managed resource.
jumboFrameCapable boolean
arn str

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

has_logical_redundancy str

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

id str
The provider-assigned unique ID for this managed resource.
jumbo_frame_capable bool

Look up an Existing LinkAggregationGroup Resource

Get an existing LinkAggregationGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, arn=None, connections_bandwidth=None, force_destroy=None, has_logical_redundancy=None, jumbo_frame_capable=None, location=None, name=None, tags=None, __props__=None);
func GetLinkAggregationGroup(ctx *Context, name string, id IDInput, state *LinkAggregationGroupState, opts ...ResourceOption) (*LinkAggregationGroup, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

ConnectionsBandwidth string

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

ForceDestroy bool

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.

HasLogicalRedundancy string

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

JumboFrameCapable bool
Location 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.

Name string

The name of the LAG.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

Arn string

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

ConnectionsBandwidth string

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

ForceDestroy bool

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.

HasLogicalRedundancy string

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

JumboFrameCapable bool
Location 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.

Name string

The name of the LAG.

Tags map[string]string

A map of tags to assign to the resource.

arn string

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

connectionsBandwidth string

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

forceDestroy 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.

hasLogicalRedundancy string

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

jumboFrameCapable boolean
location 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.

name string

The name of the LAG.

tags {[key: string]: string}

A map of tags to assign to the resource.

arn str

The ARN of the LAG. * jumbo_frame_capable -Indicates whether jumbo frames (9001 MTU) are supported.

connections_bandwidth str

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

force_destroy bool

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.

has_logical_redundancy str

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

jumbo_frame_capable bool
location str

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

name str

The name of the LAG.

tags Dict[str, str]

A map of tags to assign to the resource.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.