UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

60 lines 2.23 kB
"use strict"; // *** 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.getInfrastructureConfigurationsOutput = exports.getInfrastructureConfigurations = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.imagebuilder.getInfrastructureConfigurations({ * filters: [{ * name: "name", * values: ["example"], * }], * }); * ``` */ function getInfrastructureConfigurations(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:imagebuilder/getInfrastructureConfigurations:getInfrastructureConfigurations", { "filters": args.filters, "region": args.region, }, opts); } exports.getInfrastructureConfigurations = getInfrastructureConfigurations; /** * Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.imagebuilder.getInfrastructureConfigurations({ * filters: [{ * name: "name", * values: ["example"], * }], * }); * ``` */ function getInfrastructureConfigurationsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:imagebuilder/getInfrastructureConfigurations:getInfrastructureConfigurations", { "filters": args.filters, "region": args.region, }, opts); } exports.getInfrastructureConfigurationsOutput = getInfrastructureConfigurationsOutput; //# sourceMappingURL=getInfrastructureConfigurations.js.map