UNPKG

@pulumi/aws

Version:

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

76 lines 2.2 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.getInferenceProfilesOutput = exports.getInferenceProfiles = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing AWS Bedrock Inference Profiles. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.bedrock.getInferenceProfiles({}); * ``` * * ### Filter by Type * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.bedrock.getInferenceProfiles({ * type: "APPLICATION", * }); * ``` */ function getInferenceProfiles(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:bedrock/getInferenceProfiles:getInferenceProfiles", { "region": args.region, "type": args.type, }, opts); } exports.getInferenceProfiles = getInferenceProfiles; /** * Data source for managing AWS Bedrock Inference Profiles. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.bedrock.getInferenceProfiles({}); * ``` * * ### Filter by Type * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.bedrock.getInferenceProfiles({ * type: "APPLICATION", * }); * ``` */ function getInferenceProfilesOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:bedrock/getInferenceProfiles:getInferenceProfiles", { "region": args.region, "type": args.type, }, opts); } exports.getInferenceProfilesOutput = getInferenceProfilesOutput; //# sourceMappingURL=getInferenceProfiles.js.map