1. Packages
  2. AWS
  3. API Docs
  4. datapipeline
  5. getPipeline
AWS v6 v6.83.2 published on Thursday, Nov 20, 2025 by Pulumi
aws-v6 logo
AWS v6 v6.83.2 published on Thursday, Nov 20, 2025 by Pulumi

    Provides details about a specific DataPipeline Pipeline.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.datapipeline.getPipeline({
        pipelineId: "pipelineID",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.datapipeline.get_pipeline(pipeline_id="pipelineID")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datapipeline"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datapipeline.LookupPipeline(ctx, &datapipeline.LookupPipelineArgs{
    			PipelineId: "pipelineID",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.DataPipeline.GetPipeline.Invoke(new()
        {
            PipelineId = "pipelineID",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.datapipeline.DatapipelineFunctions;
    import com.pulumi.aws.datapipeline.inputs.GetPipelineArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = DatapipelineFunctions.getPipeline(GetPipelineArgs.builder()
                .pipelineId("pipelineID")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:datapipeline:getPipeline
          arguments:
            pipelineId: pipelineID
    

    Using getPipeline

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPipeline(args: GetPipelineArgs, opts?: InvokeOptions): Promise<GetPipelineResult>
    function getPipelineOutput(args: GetPipelineOutputArgs, opts?: InvokeOptions): Output<GetPipelineResult>
    def get_pipeline(pipeline_id: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPipelineResult
    def get_pipeline_output(pipeline_id: Optional[pulumi.Input[str]] = None,
                     tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPipelineResult]
    func LookupPipeline(ctx *Context, args *LookupPipelineArgs, opts ...InvokeOption) (*LookupPipelineResult, error)
    func LookupPipelineOutput(ctx *Context, args *LookupPipelineOutputArgs, opts ...InvokeOption) LookupPipelineResultOutput

    > Note: This function is named LookupPipeline in the Go SDK.

    public static class GetPipeline 
    {
        public static Task<GetPipelineResult> InvokeAsync(GetPipelineArgs args, InvokeOptions? opts = null)
        public static Output<GetPipelineResult> Invoke(GetPipelineInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPipelineResult> getPipeline(GetPipelineArgs args, InvokeOptions options)
    public static Output<GetPipelineResult> getPipeline(GetPipelineArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:datapipeline/getPipeline:getPipeline
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PipelineId string
    ID of the pipeline.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    PipelineId string
    ID of the pipeline.
    Tags map[string]string
    Map of tags assigned to the resource.
    pipelineId String
    ID of the pipeline.
    tags Map<String,String>
    Map of tags assigned to the resource.
    pipelineId string
    ID of the pipeline.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    pipeline_id str
    ID of the pipeline.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    pipelineId String
    ID of the pipeline.
    tags Map<String>
    Map of tags assigned to the resource.

    getPipeline Result

    The following output properties are available:

    Description string
    Description of Pipeline.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of Pipeline.
    PipelineId string
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    Description string
    Description of Pipeline.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of Pipeline.
    PipelineId string
    Tags map[string]string
    Map of tags assigned to the resource.
    description String
    Description of Pipeline.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of Pipeline.
    pipelineId String
    tags Map<String,String>
    Map of tags assigned to the resource.
    description string
    Description of Pipeline.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of Pipeline.
    pipelineId string
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    description str
    Description of Pipeline.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of Pipeline.
    pipeline_id str
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    description String
    Description of Pipeline.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of Pipeline.
    pipelineId String
    tags Map<String>
    Map of tags assigned to the resource.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws-v6 logo
    AWS v6 v6.83.2 published on Thursday, Nov 20, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate