import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::DirectConnect::Connection */ export declare class Connection extends pulumi.CustomResource { /** * Get an existing Connection resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Connection; /** * Returns true if the given object is an instance of Connection. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Connection; /** * The bandwidth of the connection. */ readonly bandwidth: pulumi.Output; /** * The ARN of the connection. */ readonly connectionArn: pulumi.Output; /** * The ID of the connection. */ readonly connectionId: pulumi.Output; /** * The name of the connection. */ readonly connectionName: pulumi.Output; /** * The state of the connection. */ readonly connectionState: pulumi.Output; /** * The ID or ARN of the LAG to associate the connection with. */ readonly lagId: pulumi.Output; /** * The location of the connection. */ readonly location: pulumi.Output; /** * The name of the service provider associated with the requested connection. */ readonly providerName: pulumi.Output; /** * Indicates whether you want the connection to support MAC Security (MACsec). */ readonly requestMacSec: pulumi.Output; /** * The tags associated with the connection. */ readonly tags: pulumi.Output; /** * Create a Connection resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Connection resource. */ export interface ConnectionArgs { /** * The bandwidth of the connection. */ bandwidth: pulumi.Input; /** * The name of the connection. */ connectionName?: pulumi.Input; /** * The ID or ARN of the LAG to associate the connection with. */ lagId?: pulumi.Input; /** * The location of the connection. */ location: pulumi.Input; /** * The name of the service provider associated with the requested connection. */ providerName?: pulumi.Input; /** * Indicates whether you want the connection to support MAC Security (MACsec). */ requestMacSec?: pulumi.Input; /** * The tags associated with the connection. */ tags?: pulumi.Input[]>; }