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 Components matching the specified criteria. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.imagebuilder.getComponents({ * filters: [{ * name: "platform", * values: ["Linux"], * }], * owner: "Self", * }); * ``` */ export declare function getComponents(args?: GetComponentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getComponents. */ export interface GetComponentsArgs { /** * Configuration block(s) for filtering. Detailed below. */ filters?: inputs.imagebuilder.GetComponentsFilter[]; /** * Owner of the image recipes. Valid values are `Self`, `Shared`, `Amazon` and `ThirdParty`. Defaults to `Self`. */ owner?: string; /** * 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 getComponents. */ export interface GetComponentsResult { /** * Set of ARNs of the matched Image Builder Components. */ readonly arns: string[]; readonly filters?: outputs.imagebuilder.GetComponentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Set of names of the matched Image Builder Components. */ readonly names: string[]; readonly owner?: string; readonly region: string; } /** * Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.imagebuilder.getComponents({ * filters: [{ * name: "platform", * values: ["Linux"], * }], * owner: "Self", * }); * ``` */ export declare function getComponentsOutput(args?: GetComponentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getComponents. */ export interface GetComponentsOutputArgs { /** * Configuration block(s) for filtering. Detailed below. */ filters?: pulumi.Input[] | undefined>; /** * Owner of the image recipes. Valid values are `Self`, `Shared`, `Amazon` and `ThirdParty`. Defaults to `Self`. */ owner?: pulumi.Input; /** * 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; } //# sourceMappingURL=getComponents.d.ts.map