@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
64 lines • 2.14 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.getContainerRecipesOutput = exports.getContainerRecipes = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getContainerRecipes({
* owner: "Self",
* filters: [{
* name: "platform",
* values: ["Linux"],
* }],
* });
* ```
*/
function getContainerRecipes(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:imagebuilder/getContainerRecipes:getContainerRecipes", {
"filters": args.filters,
"owner": args.owner,
"region": args.region,
}, opts);
}
exports.getContainerRecipes = getContainerRecipes;
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getContainerRecipes({
* owner: "Self",
* filters: [{
* name: "platform",
* values: ["Linux"],
* }],
* });
* ```
*/
function getContainerRecipesOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:imagebuilder/getContainerRecipes:getContainerRecipes", {
"filters": args.filters,
"owner": args.owner,
"region": args.region,
}, opts);
}
exports.getContainerRecipesOutput = getContainerRecipesOutput;
//# sourceMappingURL=getContainerRecipes.js.map