@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)
76 lines (75 loc) • 3.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* The AWS::AppRunner::VpcConnector resource specifies an App Runner VpcConnector.
*/
export declare class VpcConnector extends pulumi.CustomResource {
/**
* Get an existing VpcConnector 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): VpcConnector;
/**
* Returns true if the given object is an instance of VpcConnector. 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 VpcConnector;
/**
* A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
*/
readonly securityGroups: pulumi.Output<string[] | undefined>;
/**
* A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
*/
readonly subnets: pulumi.Output<string[]>;
/**
* A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
*/
readonly tags: pulumi.Output<outputs.CreateOnlyTag[] | undefined>;
/**
* The Amazon Resource Name (ARN) of this VPC connector.
*/
readonly vpcConnectorArn: pulumi.Output<string>;
/**
* A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
*/
readonly vpcConnectorName: pulumi.Output<string | undefined>;
/**
* The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
*/
readonly vpcConnectorRevision: pulumi.Output<number>;
/**
* Create a VpcConnector 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: VpcConnectorArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a VpcConnector resource.
*/
export interface VpcConnectorArgs {
/**
* A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
*/
securityGroups?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
*/
subnets: pulumi.Input<pulumi.Input<string>[]>;
/**
* A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
*/
tags?: pulumi.Input<pulumi.Input<inputs.CreateOnlyTagArgs>[]>;
/**
* A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
*/
vpcConnectorName?: pulumi.Input<string>;
}