Class ConnectionAssociation
Associates a Direct Connect Connection with a LAG.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleConnection = new Aws.DirectConnect.Connection("exampleConnection", new Aws.DirectConnect.ConnectionArgs
{
Bandwidth = "1Gbps",
Location = "EqSe2",
});
var exampleLinkAggregationGroup = new Aws.DirectConnect.LinkAggregationGroup("exampleLinkAggregationGroup", new Aws.DirectConnect.LinkAggregationGroupArgs
{
ConnectionsBandwidth = "1Gbps",
Location = "EqSe2",
});
var exampleConnectionAssociation = new Aws.DirectConnect.ConnectionAssociation("exampleConnectionAssociation", new Aws.DirectConnect.ConnectionAssociationArgs
{
ConnectionId = exampleConnection.Id,
LagId = exampleLinkAggregationGroup.Id,
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class ConnectionAssociation : CustomResource
Constructors
View SourceConnectionAssociation(String, ConnectionAssociationArgs, CustomResourceOptions)
Create a ConnectionAssociation resource with the given unique name, arguments, and options.
Declaration
public ConnectionAssociation(string name, ConnectionAssociationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConnectionAssociationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceConnectionId
The ID of the connection.
Declaration
public Output<string> ConnectionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LagId
The ID of the LAG with which to associate the connection.
Declaration
public Output<string> LagId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ConnectionAssociationState, CustomResourceOptions)
Get an existing ConnectionAssociation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ConnectionAssociation Get(string name, Input<string> id, ConnectionAssociationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ConnectionAssociationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ConnectionAssociation |