@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)
74 lines (73 loc) • 2.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The ``AWS::ApiGatewayV2::VpcLink`` resource creates a VPC link. Supported only for HTTP APIs. The VPC link status must transition from ``PENDING`` to ``AVAILABLE`` to successfully create a VPC link, which can take up to 10 minutes. To learn more, see [Working with VPC Links for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vpc-links.html) in the *API Gateway Developer Guide*.
*/
export declare class VpcLink extends pulumi.CustomResource {
/**
* Get an existing VpcLink 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): VpcLink;
/**
* Returns true if the given object is an instance of VpcLink. 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 VpcLink;
/**
* The name of the VPC link.
*/
readonly name: pulumi.Output<string>;
/**
* A list of security group IDs for the VPC link.
*/
readonly securityGroupIds: pulumi.Output<string[] | undefined>;
/**
* A list of subnet IDs to include in the VPC link.
*/
readonly subnetIds: pulumi.Output<string[]>;
/**
* The collection of tags. Each tag element is associated with a given resource.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The VPC link ID.
*/
readonly vpcLinkId: pulumi.Output<string>;
/**
* Create a VpcLink 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: VpcLinkArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a VpcLink resource.
*/
export interface VpcLinkArgs {
/**
* The name of the VPC link.
*/
name?: pulumi.Input<string>;
/**
* A list of security group IDs for the VPC link.
*/
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A list of subnet IDs to include in the VPC link.
*/
subnetIds: pulumi.Input<pulumi.Input<string>[]>;
/**
* The collection of tags. Each tag element is associated with a given resource.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}