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",
});
}
}
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.NewConnection(ctx, "hoge", &directconnect.ConnectionArgs{
Bandwidth: pulumi.String("1Gbps"),
Location: pulumi.String("EqDC2"),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
hoge = aws.directconnect.Connection("hoge",
bandwidth="1Gbps",
location="EqDC2")import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const hoge = new aws.directconnect.Connection("hoge", {
bandwidth: "1Gbps",
location: "EqDC2",
});Create a Connection Resource
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);def Connection(resource_name, opts=None, bandwidth=None, location=None, name=None, tags=None, __props__=None);func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Connection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Connection resource accepts the following input properties:
- Bandwidth string
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.
- Location string
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- Name string
The name of the connection.
- Dictionary<string, string>
A map of tags to assign to the resource.
- Bandwidth string
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.
- Location string
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- Name string
The name of the connection.
- map[string]string
A map of tags to assign to the resource.
- bandwidth string
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.
- location string
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- name string
The name of the connection.
- {[key: string]: string}
A map of tags to assign to the resource.
- bandwidth str
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.
- location str
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- name str
The name of the connection.
- Dict[str, str]
A map of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Arn string
The ARN of the connection.
- Aws
Device string The Direct Connect endpoint on which the physical connection terminates.
- Has
Logical stringRedundancy Indicates whether the connection 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 Boolean value representing if jumbo frames have been enabled for this connection.
- Arn string
The ARN of the connection.
- Aws
Device string The Direct Connect endpoint on which the physical connection terminates.
- Has
Logical stringRedundancy Indicates whether the connection 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 Boolean value representing if jumbo frames have been enabled for this connection.
- arn string
The ARN of the connection.
- aws
Device string The Direct Connect endpoint on which the physical connection terminates.
- has
Logical stringRedundancy Indicates whether the connection 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 Boolean value representing if jumbo frames have been enabled for this connection.
- arn str
The ARN of the connection.
- aws_
device str The Direct Connect endpoint on which the physical connection terminates.
- has_
logical_ strredundancy Indicates whether the connection 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 Boolean value representing if jumbo frames have been enabled for this connection.
Look up an Existing Connection Resource
Get an existing Connection 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?: ConnectionState, opts?: CustomResourceOptions): Connectionstatic get(resource_name, id, opts=None, arn=None, aws_device=None, bandwidth=None, has_logical_redundancy=None, jumbo_frame_capable=None, location=None, name=None, tags=None, __props__=None);func GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)public static Connection Get(string name, Input<string> id, ConnectionState? 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 connection.
- Aws
Device string The Direct Connect endpoint on which the physical connection terminates.
- Bandwidth string
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.
- Has
Logical stringRedundancy Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Jumbo
Frame boolCapable Boolean value representing if jumbo frames have been enabled for this connection.
- Location string
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- Name string
The name of the connection.
- Dictionary<string, string>
A map of tags to assign to the resource.
- Arn string
The ARN of the connection.
- Aws
Device string The Direct Connect endpoint on which the physical connection terminates.
- Bandwidth string
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.
- Has
Logical stringRedundancy Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Jumbo
Frame boolCapable Boolean value representing if jumbo frames have been enabled for this connection.
- Location string
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- Name string
The name of the connection.
- map[string]string
A map of tags to assign to the resource.
- arn string
The ARN of the connection.
- aws
Device string The Direct Connect endpoint on which the physical connection terminates.
- bandwidth string
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.
- has
Logical stringRedundancy Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
- jumbo
Frame booleanCapable Boolean value representing if jumbo frames have been enabled for this connection.
- location string
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- name string
The name of the connection.
- {[key: string]: string}
A map of tags to assign to the resource.
- arn str
The ARN of the connection.
- aws_
device str The Direct Connect endpoint on which the physical connection terminates.
- bandwidth str
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.
- has_
logical_ strredundancy Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
- jumbo_
frame_ boolcapable Boolean value representing if jumbo frames have been enabled for this connection.
- location str
The AWS Direct Connect location where the connection is located. See DescribeLocations for the list of AWS Direct Connect locations. Use
locationCode.- name str
The name of the connection.
- 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.