Show / Hide Table of Contents

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,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ConnectionAssociation
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 Source

ConnectionAssociation(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 Source

ConnectionId

The ID of the connection.

Declaration
public Output<string> ConnectionId { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.