Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.datapipeline.getPipeline
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:datapipeline/getPipeline:getPipeline
arguments:
# arguments dictionary
The following arguments are supported:
- Pipeline
Id string - ID of the pipeline.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Pipeline
Id string - ID of the pipeline.
- map[string]string
- Map of tags assigned to the resource.
- pipeline
Id String - ID of the pipeline.
- Map<String,String>
- Map of tags assigned to the resource.
- pipeline
Id string - ID of the pipeline.
- {[key: string]: string}
- Map of tags assigned to the resource.
- pipeline_
id str - ID of the pipeline.
- Mapping[str, str]
- Map of tags assigned to the resource.
- pipeline
Id String - ID of the pipeline.
- 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.
- Pipeline
Id string - 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.
- Pipeline
Id string - 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.
- pipeline
Id String - 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.
- pipeline
Id string - {[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 - 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.
- pipeline
Id String - 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.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi