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
new LinkAggregationGroup(name: string, args: LinkAggregationGroupArgs, opts?: CustomResourceOptions);def LinkAggregationGroup(resource_name, opts=None, connections_bandwidth=None, force_destroy=None, location=None, name=None, tags=None, __props__=None);func NewLinkAggregationGroup(ctx *Context, name string, args LinkAggregationGroupArgs, opts ...ResourceOption) (*LinkAggregationGroup, error)public LinkAggregationGroup(string name, LinkAggregationGroupArgs args, CustomResourceOptions? opts = null)- 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:
- Connections
Bandwidth 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.- 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 string
The name of the LAG.
- Dictionary<string, string>
A map of tags to assign to the resource.
- Connections
Bandwidth 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.- 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 string
The name of the LAG.
- map[string]string
A map of tags to assign to the resource.
- connections
Bandwidth 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.- force
Destroy 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.
- {[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.
- 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.- Has
Logical stringRedundancy 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.
- Jumbo
Frame boolCapable
- Arn string
The ARN of the LAG. *
jumbo_frame_capable-Indicates whether jumbo frames (9001 MTU) are supported.- Has
Logical stringRedundancy 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.
- Jumbo
Frame boolCapable
- arn string
The ARN of the LAG. *
jumbo_frame_capable-Indicates whether jumbo frames (9001 MTU) are supported.- has
Logical stringRedundancy 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.
- jumbo
Frame booleanCapable
- arn str
The ARN of the LAG. *
jumbo_frame_capable-Indicates whether jumbo frames (9001 MTU) are supported.- has_
logical_ strredundancy 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_ boolcapable
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.
public static get(name: string, id: Input<ID>, state?: LinkAggregationGroupState, opts?: CustomResourceOptions): LinkAggregationGroupstatic 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)public static LinkAggregationGroup Get(string name, Input<string> id, LinkAggregationGroupState? state, CustomResourceOptions? opts = null)- 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.- Connections
Bandwidth 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.
- 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 stringRedundancy Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Jumbo
Frame boolCapable - 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.
- 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.- Connections
Bandwidth 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.
- 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 stringRedundancy Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Jumbo
Frame boolCapable - 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.
- 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.- connections
Bandwidth 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.
- force
Destroy 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.
- has
Logical stringRedundancy Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
- jumbo
Frame booleanCapable - 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.
- {[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_ strredundancy Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
- jumbo_
frame_ boolcapable - 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.
- 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
awsTerraform Provider.