AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getPipeline

Provides details about a specific DataPipeline Pipeline.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.DataPipeline.GetPipeline.InvokeAsync(new Aws.DataPipeline.GetPipelineArgs
        {
            PipelineId = "pipelineID",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(DatapipelineFunctions.getPipeline(GetPipelineArgs.builder()
            .pipelineId("pipelineID")
            .build()));

    }
}
import pulumi
import pulumi_aws as aws

example = aws.datapipeline.get_pipeline(pipeline_id="pipelineID")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.datapipeline.getPipeline({
    pipelineId: "pipelineID",
}));
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)
// Output-based functions aren't available in Java yet
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>

A map of tags assigned to the resource.

PipelineId string

ID of the pipeline.

Tags map[string]string

A map of tags assigned to the resource.

pipelineId String

ID of the pipeline.

tags Map<String,String>

A map of tags assigned to the resource.

pipelineId string

ID of the pipeline.

tags {[key: string]: string}

A map of tags assigned to the resource.

pipeline_id str

ID of the pipeline.

tags Mapping[str, str]

A map of tags assigned to the resource.

pipelineId String

ID of the pipeline.

tags Map<String>

A 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>

A 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

A 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>

A 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}

A 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]

A 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>

A map of tags assigned to the resource.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.