UNPKG

@pulumi/aws

Version:

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

128 lines (127 loc) 3.39 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for managing an AWS App Mesh Virtual Node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.appmesh.getVirtualNode({ * name: "serviceBv1", * meshName: "example-mesh", * }); * ``` */ export declare function getVirtualNode(args: GetVirtualNodeArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualNodeResult>; /** * A collection of arguments for invoking getVirtualNode. */ export interface GetVirtualNodeArgs { /** * Name of the service mesh in which the virtual node exists. */ meshName: string; /** * AWS account ID of the service mesh's owner. */ meshOwner?: string; /** * Name of the virtual node. */ name: 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 tags. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getVirtualNode. */ export interface GetVirtualNodeResult { /** * ARN of the virtual node. */ readonly arn: string; /** * Creation date of the virtual node. */ readonly createdDate: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Last update date of the virtual node. */ readonly lastUpdatedDate: string; readonly meshName: string; readonly meshOwner: string; readonly name: string; readonly region: string; /** * Resource owner's AWS account ID. */ readonly resourceOwner: string; /** * Virtual node specification. See the `aws.appmesh.VirtualNode` resource for details. */ readonly specs: outputs.appmesh.GetVirtualNodeSpec[]; /** * Map of tags. */ readonly tags: { [key: string]: string; }; } /** * Data source for managing an AWS App Mesh Virtual Node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.appmesh.getVirtualNode({ * name: "serviceBv1", * meshName: "example-mesh", * }); * ``` */ export declare function getVirtualNodeOutput(args: GetVirtualNodeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualNodeResult>; /** * A collection of arguments for invoking getVirtualNode. */ export interface GetVirtualNodeOutputArgs { /** * Name of the service mesh in which the virtual node exists. */ meshName: pulumi.Input<string>; /** * AWS account ID of the service mesh's owner. */ meshOwner?: pulumi.Input<string>; /** * Name of the virtual node. */ name: 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 tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }