Class Connection
Provides a Connection of Direct Connect.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var hoge = new Aws.DirectConnect.Connection("hoge", new Aws.DirectConnect.ConnectionArgs
{
Bandwidth = "1Gbps",
Location = "EqDC2",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class Connection : CustomResource
Constructors
View SourceConnection(String, ConnectionArgs, CustomResourceOptions)
Create a Connection resource with the given unique name, arguments, and options.
Declaration
public Connection(string name, ConnectionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConnectionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN of the connection.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AwsDevice
The Direct Connect endpoint on which the physical connection terminates.
Declaration
public Output<string> AwsDevice { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Bandwidth
The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
Declaration
public Output<string> Bandwidth { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HasLogicalRedundancy
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Declaration
public Output<string> HasLogicalRedundancy { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
JumboFrameCapable
Boolean value representing if jumbo frames have been enabled for this connection.
Declaration
public Output<bool> JumboFrameCapable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Location
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use locationCode.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the connection.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, ConnectionState, CustomResourceOptions)
Get an existing Connection resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Connection Get(string name, Input<string> id, ConnectionState 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. |
| ConnectionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Connection |