UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

107 lines (106 loc) 2.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get information on an Amazon MSK VPC Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.msk.getVpcConnection({ * arn: exampleAwsMskVpcConnection.arn, * }); * ``` */ export declare function getVpcConnection(args: GetVpcConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcConnectionResult>; /** * A collection of arguments for invoking getVpcConnection. */ export interface GetVpcConnectionArgs { /** * ARN of the VPC Connection. */ arn: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Map of key-value pairs assigned to the VPC Connection. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getVpcConnection. */ export interface GetVpcConnectionResult { readonly arn: string; /** * The authentication type for the client VPC Connection. */ readonly authentication: string; /** * The list of subnets in the client VPC. */ readonly clientSubnets: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly region: string; /** * The security groups attached to the ENIs for the broker nodes. */ readonly securityGroups: string[]; /** * Map of key-value pairs assigned to the VPC Connection. */ readonly tags: { [key: string]: string; }; /** * The Amazon Resource Name (ARN) of the cluster. */ readonly targetClusterArn: string; /** * The VPC ID of the remote client. */ readonly vpcId: string; } /** * Get information on an Amazon MSK VPC Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.msk.getVpcConnection({ * arn: exampleAwsMskVpcConnection.arn, * }); * ``` */ export declare function getVpcConnectionOutput(args: GetVpcConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcConnectionResult>; /** * A collection of arguments for invoking getVpcConnection. */ export interface GetVpcConnectionOutputArgs { /** * ARN of the VPC Connection. */ arn: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; /** * Map of key-value pairs assigned to the VPC Connection. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }