@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
64 lines • 2.07 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getImageRecipesOutput = exports.getImageRecipes = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getImageRecipes({
* owner: "Self",
* filters: [{
* name: "platform",
* values: ["Linux"],
* }],
* });
* ```
*/
function getImageRecipes(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:imagebuilder/getImageRecipes:getImageRecipes", {
"filters": args.filters,
"owner": args.owner,
"region": args.region,
}, opts);
}
exports.getImageRecipes = getImageRecipes;
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getImageRecipes({
* owner: "Self",
* filters: [{
* name: "platform",
* values: ["Linux"],
* }],
* });
* ```
*/
function getImageRecipesOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:imagebuilder/getImageRecipes:getImageRecipes", {
"filters": args.filters,
"owner": args.owner,
"region": args.region,
}, opts);
}
exports.getImageRecipesOutput = getImageRecipesOutput;
//# sourceMappingURL=getImageRecipes.js.map