import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Resource Type definition for AWS::DirectConnect::Connection
 */
export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
export interface GetConnectionArgs {
    /**
     * The ARN of the connection.
     */
    connectionArn: string;
}
export interface GetConnectionResult {
    /**
     * The ARN of the connection.
     */
    readonly connectionArn?: string;
    /**
     * The ID of the connection.
     */
    readonly connectionId?: string;
    /**
     * The name of the connection.
     */
    readonly connectionName?: string;
    /**
     * The state of the connection.
     */
    readonly connectionState?: string;
    /**
     * The ID or ARN of the LAG to associate the connection with.
     */
    readonly lagId?: string;
    /**
     * The tags associated with the connection.
     */
    readonly tags?: outputs.Tag[];
}
/**
 * Resource Type definition for AWS::DirectConnect::Connection
 */
export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
export interface GetConnectionOutputArgs {
    /**
     * The ARN of the connection.
     */
    connectionArn: pulumi.Input<string>;
}
