UNPKG

@pulumi/aws

Version:

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

95 lines (94 loc) 2.5 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides details about a specific DataPipeline Pipeline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.datapipeline.getPipeline({ * pipelineId: "pipelineID", * }); * ``` */ export declare function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise<GetPipelineResult>; /** * A collection of arguments for invoking getPipeline. */ export interface GetPipelineArgs { /** * ID of the pipeline. */ pipelineId: 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 assigned to the resource. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getPipeline. */ export interface GetPipelineResult { /** * Description of Pipeline. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of Pipeline. */ readonly name: string; readonly pipelineId: string; readonly region: string; /** * Map of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; } /** * Provides details about a specific DataPipeline Pipeline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.datapipeline.getPipeline({ * pipelineId: "pipelineID", * }); * ``` */ export declare function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPipelineResult>; /** * A collection of arguments for invoking getPipeline. */ export interface GetPipelineOutputArgs { /** * ID of the pipeline. */ pipelineId: 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 assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }