@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)
70 lines (69 loc) • 2.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::Interconnect::Connection. Creates a managed network connection between AWS and a partner cloud service provider.
*/
export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
export interface GetConnectionArgs {
/**
* The Amazon Resource Name (ARN) of the connection.
*/
arn: string;
}
export interface GetConnectionResult {
/**
* The Amazon Resource Name (ARN) of the connection.
*/
readonly arn?: string;
/**
* The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS.
*/
readonly bandwidth?: string;
/**
* The billing tier for the connection.
*/
readonly billingTier?: number;
/**
* The unique identifier for the connection.
*/
readonly connectionId?: string;
/**
* A description of the connection.
*/
readonly description?: string;
/**
* The AWS account ID of the connection owner.
*/
readonly ownerAccount?: string;
/**
* The partner cloud service provider.
*/
readonly provider?: outputs.interconnect.ConnectionProvider;
/**
* The shared identifier for the connection pairing.
*/
readonly sharedId?: string;
/**
* The current state of the connection.
*/
readonly state?: enums.interconnect.ConnectionState;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
/**
* The type of managed connection.
*/
readonly type?: string;
}
/**
* Resource Type definition for AWS::Interconnect::Connection. Creates a managed network connection between AWS and a partner cloud service provider.
*/
export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
export interface GetConnectionOutputArgs {
/**
* The Amazon Resource Name (ARN) of the connection.
*/
arn: pulumi.Input<string>;
}