@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
85 lines (84 loc) • 2.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getImagePipelines({
* filters: [{
* name: "name",
* values: ["example"],
* }],
* });
* ```
*/
export declare function getImagePipelines(args?: GetImagePipelinesArgs, opts?: pulumi.InvokeOptions): Promise<GetImagePipelinesResult>;
/**
* A collection of arguments for invoking getImagePipelines.
*/
export interface GetImagePipelinesArgs {
/**
* Configuration block(s) for filtering. Detailed below.
*/
filters?: inputs.imagebuilder.GetImagePipelinesFilter[];
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getImagePipelines.
*/
export interface GetImagePipelinesResult {
/**
* Set of ARNs of the matched Image Builder Image Pipelines.
*/
readonly arns: string[];
readonly filters?: outputs.imagebuilder.GetImagePipelinesFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Set of names of the matched Image Builder Image Pipelines.
*/
readonly names: string[];
readonly region: string;
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getImagePipelines({
* filters: [{
* name: "name",
* values: ["example"],
* }],
* });
* ```
*/
export declare function getImagePipelinesOutput(args?: GetImagePipelinesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImagePipelinesResult>;
/**
* A collection of arguments for invoking getImagePipelines.
*/
export interface GetImagePipelinesOutputArgs {
/**
* Configuration block(s) for filtering. Detailed below.
*/
filters?: pulumi.Input<pulumi.Input<inputs.imagebuilder.GetImagePipelinesFilterArgs>[]>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}