@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)
104 lines (103 loc) • 3.52 kB
TypeScript
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<pulumi.ID>, 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<string>;
/**
* The ARN of the connection.
*/
readonly connectionArn: pulumi.Output<string>;
/**
* The ID of the connection.
*/
readonly connectionId: pulumi.Output<string>;
/**
* The name of the connection.
*/
readonly connectionName: pulumi.Output<string>;
/**
* The state of the connection.
*/
readonly connectionState: pulumi.Output<string>;
/**
* The ID or ARN of the LAG to associate the connection with.
*/
readonly lagId: pulumi.Output<string | undefined>;
/**
* The location of the connection.
*/
readonly location: pulumi.Output<string>;
/**
* The name of the service provider associated with the requested connection.
*/
readonly providerName: pulumi.Output<string | undefined>;
/**
* Indicates whether you want the connection to support MAC Security (MACsec).
*/
readonly requestMacSec: pulumi.Output<boolean | undefined>;
/**
* The tags associated with the connection.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* 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<string>;
/**
* The name of the connection.
*/
connectionName?: pulumi.Input<string>;
/**
* The ID or ARN of the LAG to associate the connection with.
*/
lagId?: pulumi.Input<string>;
/**
* The location of the connection.
*/
location: pulumi.Input<string>;
/**
* The name of the service provider associated with the requested connection.
*/
providerName?: pulumi.Input<string>;
/**
* Indicates whether you want the connection to support MAC Security (MACsec).
*/
requestMacSec?: pulumi.Input<boolean>;
/**
* The tags associated with the connection.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
}