AWS v7.11.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws.imagebuilder.getImagePipelines
Start a Neo task
Explain and create an aws.imagebuilder.getImagePipelines resource
Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.imagebuilder.getImagePipelines({
filters: [{
name: "name",
values: ["example"],
}],
});
import pulumi
import pulumi_aws as aws
example = aws.imagebuilder.get_image_pipelines(filters=[{
"name": "name",
"values": ["example"],
}])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/imagebuilder"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := imagebuilder.GetImagePipelines(ctx, &imagebuilder.GetImagePipelinesArgs{
Filters: []imagebuilder.GetImagePipelinesFilter{
{
Name: "name",
Values: []string{
"example",
},
},
},
}, 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.ImageBuilder.GetImagePipelines.Invoke(new()
{
Filters = new[]
{
new Aws.ImageBuilder.Inputs.GetImagePipelinesFilterInputArgs
{
Name = "name",
Values = new[]
{
"example",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
.filters(GetImagePipelinesFilterArgs.builder()
.name("name")
.values("example")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: aws:imagebuilder:getImagePipelines
arguments:
filters:
- name: name
values:
- example
Using getImagePipelines
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 getImagePipelines(args: GetImagePipelinesArgs, opts?: InvokeOptions): Promise<GetImagePipelinesResult>
function getImagePipelinesOutput(args: GetImagePipelinesOutputArgs, opts?: InvokeOptions): Output<GetImagePipelinesResult>def get_image_pipelines(filters: Optional[Sequence[GetImagePipelinesFilter]] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetImagePipelinesResult
def get_image_pipelines_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetImagePipelinesFilterArgs]]]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImagePipelinesResult]func GetImagePipelines(ctx *Context, args *GetImagePipelinesArgs, opts ...InvokeOption) (*GetImagePipelinesResult, error)
func GetImagePipelinesOutput(ctx *Context, args *GetImagePipelinesOutputArgs, opts ...InvokeOption) GetImagePipelinesResultOutput> Note: This function is named GetImagePipelines in the Go SDK.
public static class GetImagePipelines
{
public static Task<GetImagePipelinesResult> InvokeAsync(GetImagePipelinesArgs args, InvokeOptions? opts = null)
public static Output<GetImagePipelinesResult> Invoke(GetImagePipelinesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImagePipelinesResult> getImagePipelines(GetImagePipelinesArgs args, InvokeOptions options)
public static Output<GetImagePipelinesResult> getImagePipelines(GetImagePipelinesArgs args, InvokeOptions options)
fn::invoke:
function: aws:imagebuilder/getImagePipelines:getImagePipelines
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Image Pipelines Filter> - Configuration block(s) for filtering. Detailed below.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Filters
[]Get
Image Pipelines Filter - Configuration block(s) for filtering. Detailed below.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters
List<Get
Image Pipelines Filter> - Configuration block(s) for filtering. Detailed below.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters
Get
Image Pipelines Filter[] - Configuration block(s) for filtering. Detailed below.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters
Sequence[Get
Image Pipelines Filter] - Configuration block(s) for filtering. Detailed below.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters List<Property Map>
- Configuration block(s) for filtering. Detailed below.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getImagePipelines Result
The following output properties are available:
Supporting Types
GetImagePipelinesFilter
- Name string
- Name of the filter field. Valid values can be found in the Image Builder ListImagePipelines API Reference.
- Values List<string>
- Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
- Name string
- Name of the filter field. Valid values can be found in the Image Builder ListImagePipelines API Reference.
- Values []string
- Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
- name String
- Name of the filter field. Valid values can be found in the Image Builder ListImagePipelines API Reference.
- values List<String>
- Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
- name string
- Name of the filter field. Valid values can be found in the Image Builder ListImagePipelines API Reference.
- values string[]
- Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
- name str
- Name of the filter field. Valid values can be found in the Image Builder ListImagePipelines API Reference.
- values Sequence[str]
- Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
- name String
- Name of the filter field. Valid values can be found in the Image Builder ListImagePipelines API Reference.
- values List<String>
- Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
