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.getPipelineDefinition
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 Definition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.datapipeline.getPipelineDefinition({
pipelineId: "pipelineID",
});
import pulumi
import pulumi_aws as aws
example = aws.datapipeline.get_pipeline_definition(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.LookupPipelineDefinition(ctx, &datapipeline.LookupPipelineDefinitionArgs{
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.GetPipelineDefinition.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.GetPipelineDefinitionArgs;
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.getPipelineDefinition(GetPipelineDefinitionArgs.builder()
.pipelineId("pipelineID")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:datapipeline:getPipelineDefinition
Arguments:
pipelineId: pipelineID
Using getPipelineDefinition
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 getPipelineDefinition(args: GetPipelineDefinitionArgs, opts?: InvokeOptions): Promise<GetPipelineDefinitionResult>
function getPipelineDefinitionOutput(args: GetPipelineDefinitionOutputArgs, opts?: InvokeOptions): Output<GetPipelineDefinitionResult>
def get_pipeline_definition(parameter_values: Optional[Sequence[GetPipelineDefinitionParameterValue]] = None,
pipeline_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPipelineDefinitionResult
def get_pipeline_definition_output(parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[GetPipelineDefinitionParameterValueArgs]]]] = None,
pipeline_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPipelineDefinitionResult]
func LookupPipelineDefinition(ctx *Context, args *LookupPipelineDefinitionArgs, opts ...InvokeOption) (*LookupPipelineDefinitionResult, error)
func LookupPipelineDefinitionOutput(ctx *Context, args *LookupPipelineDefinitionOutputArgs, opts ...InvokeOption) LookupPipelineDefinitionResultOutput
> Note: This function is named LookupPipelineDefinition
in the Go SDK.
public static class GetPipelineDefinition
{
public static Task<GetPipelineDefinitionResult> InvokeAsync(GetPipelineDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetPipelineDefinitionResult> Invoke(GetPipelineDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPipelineDefinitionResult> getPipelineDefinition(GetPipelineDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:datapipeline/getPipelineDefinition:getPipelineDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Pipeline
Id string - ID of the pipeline.
- Parameter
Values List<GetPipeline Definition Parameter Value> - Parameter values used in the pipeline definition. See below
- Pipeline
Id string - ID of the pipeline.
- Parameter
Values []GetPipeline Definition Parameter Value - Parameter values used in the pipeline definition. See below
- pipeline
Id String - ID of the pipeline.
- parameter
Values List<GetPipeline Definition Parameter Value> - Parameter values used in the pipeline definition. See below
- pipeline
Id string - ID of the pipeline.
- parameter
Values GetPipeline Definition Parameter Value[] - Parameter values used in the pipeline definition. See below
- pipeline_
id str - ID of the pipeline.
- parameter_
values Sequence[GetPipeline Definition Parameter Value] - Parameter values used in the pipeline definition. See below
- pipeline
Id String - ID of the pipeline.
- parameter
Values List<Property Map> - Parameter values used in the pipeline definition. See below
getPipelineDefinition Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameter
Objects List<GetPipeline Definition Parameter Object> - Parameter objects used in the pipeline definition. See below
- Pipeline
Id string - Pipeline
Objects List<GetPipeline Definition Pipeline Object> - Objects defined in the pipeline. See below
- Parameter
Values List<GetPipeline Definition Parameter Value> - Parameter values used in the pipeline definition. See below
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameter
Objects []GetPipeline Definition Parameter Object - Parameter objects used in the pipeline definition. See below
- Pipeline
Id string - Pipeline
Objects []GetPipeline Definition Pipeline Object - Objects defined in the pipeline. See below
- Parameter
Values []GetPipeline Definition Parameter Value - Parameter values used in the pipeline definition. See below
- id String
- The provider-assigned unique ID for this managed resource.
- parameter
Objects List<GetPipeline Definition Parameter Object> - Parameter objects used in the pipeline definition. See below
- pipeline
Id String - pipeline
Objects List<GetPipeline Definition Pipeline Object> - Objects defined in the pipeline. See below
- parameter
Values List<GetPipeline Definition Parameter Value> - Parameter values used in the pipeline definition. See below
- id string
- The provider-assigned unique ID for this managed resource.
- parameter
Objects GetPipeline Definition Parameter Object[] - Parameter objects used in the pipeline definition. See below
- pipeline
Id string - pipeline
Objects GetPipeline Definition Pipeline Object[] - Objects defined in the pipeline. See below
- parameter
Values GetPipeline Definition Parameter Value[] - Parameter values used in the pipeline definition. See below
- id str
- The provider-assigned unique ID for this managed resource.
- parameter_
objects Sequence[GetPipeline Definition Parameter Object] - Parameter objects used in the pipeline definition. See below
- pipeline_
id str - pipeline_
objects Sequence[GetPipeline Definition Pipeline Object] - Objects defined in the pipeline. See below
- parameter_
values Sequence[GetPipeline Definition Parameter Value] - Parameter values used in the pipeline definition. See below
- id String
- The provider-assigned unique ID for this managed resource.
- parameter
Objects List<Property Map> - Parameter objects used in the pipeline definition. See below
- pipeline
Id String - pipeline
Objects List<Property Map> - Objects defined in the pipeline. See below
- parameter
Values List<Property Map> - Parameter values used in the pipeline definition. See below
Supporting Types
GetPipelineDefinitionParameterObject
- Attributes
List<Get
Pipeline Definition Parameter Object Attribute> - Id string
- ID of the object.
- Attributes
[]Get
Pipeline Definition Parameter Object Attribute - Id string
- ID of the object.
- attributes
List<Get
Pipeline Definition Parameter Object Attribute> - id String
- ID of the object.
- attributes
Get
Pipeline Definition Parameter Object Attribute[] - id string
- ID of the object.
- attributes
Sequence[Get
Pipeline Definition Parameter Object Attribute] - id str
- ID of the object.
- attributes List<Property Map>
- id String
- ID of the object.
GetPipelineDefinitionParameterObjectAttribute
- Key string
- Field identifier.
- String
Value string - Field value, expressed as a String.
- Key string
- Field identifier.
- String
Value string - Field value, expressed as a String.
- key String
- Field identifier.
- string
Value String - Field value, expressed as a String.
- key string
- Field identifier.
- string
Value string - Field value, expressed as a String.
- key str
- Field identifier.
- string_
value str - Field value, expressed as a String.
- key String
- Field identifier.
- string
Value String - Field value, expressed as a String.
GetPipelineDefinitionParameterValue
- Id string
- ID of the object.
- String
Value string - Field value, expressed as a String.
- Id string
- ID of the object.
- String
Value string - Field value, expressed as a String.
- id String
- ID of the object.
- string
Value String - Field value, expressed as a String.
- id string
- ID of the object.
- string
Value string - Field value, expressed as a String.
- id str
- ID of the object.
- string_
value str - Field value, expressed as a String.
- id String
- ID of the object.
- string
Value String - Field value, expressed as a String.
GetPipelineDefinitionPipelineObject
- Id string
- ID of the object.
- Name string
- ARN of the storage connector.
- Fields
List<Get
Pipeline Definition Pipeline Object Field> - Key-value pairs that define the properties of the object. See below
- Id string
- ID of the object.
- Name string
- ARN of the storage connector.
- Fields
[]Get
Pipeline Definition Pipeline Object Field - Key-value pairs that define the properties of the object. See below
- id String
- ID of the object.
- name String
- ARN of the storage connector.
- fields
List<Get
Pipeline Definition Pipeline Object Field> - Key-value pairs that define the properties of the object. See below
- id string
- ID of the object.
- name string
- ARN of the storage connector.
- fields
Get
Pipeline Definition Pipeline Object Field[] - Key-value pairs that define the properties of the object. See below
- id str
- ID of the object.
- name str
- ARN of the storage connector.
- fields
Sequence[Get
Pipeline Definition Pipeline Object Field] - Key-value pairs that define the properties of the object. See below
- id String
- ID of the object.
- name String
- ARN of the storage connector.
- fields List<Property Map>
- Key-value pairs that define the properties of the object. See below
GetPipelineDefinitionPipelineObjectField
- Key string
- Field identifier.
- Ref
Value string - Field value, expressed as the identifier of another object
- String
Value string - Field value, expressed as a String.
- Key string
- Field identifier.
- Ref
Value string - Field value, expressed as the identifier of another object
- String
Value string - Field value, expressed as a String.
- key String
- Field identifier.
- ref
Value String - Field value, expressed as the identifier of another object
- string
Value String - Field value, expressed as a String.
- key string
- Field identifier.
- ref
Value string - Field value, expressed as the identifier of another object
- string
Value string - Field value, expressed as a String.
- key str
- Field identifier.
- ref_
value str - Field value, expressed as the identifier of another object
- string_
value str - Field value, expressed as a String.
- key String
- Field identifier.
- ref
Value String - Field value, expressed as the identifier of another object
- string
Value String - Field value, expressed as a String.
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