UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

49 lines (48 loc) 1.35 kB
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>; }