UNPKG

@pulumi/aws

Version:

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

66 lines 2.64 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.getConfigurationProfilesOutput = exports.getConfigurationProfiles = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides access to all Configuration Properties for an AppConfig Application. This will allow you to pass Configuration * Profile IDs to another resource. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.appconfig.getConfigurationProfiles({ * applicationId: "a1d3rpe", * }); * const exampleGetConfigurationProfile = example.then(example => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.appconfig.getConfigurationProfile({ * configurationProfileId: __value, * applicationId: exampleAwsAppconfigApplication.id, * }) }))); * ``` */ function getConfigurationProfiles(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:appconfig/getConfigurationProfiles:getConfigurationProfiles", { "applicationId": args.applicationId, "region": args.region, }, opts); } exports.getConfigurationProfiles = getConfigurationProfiles; /** * Provides access to all Configuration Properties for an AppConfig Application. This will allow you to pass Configuration * Profile IDs to another resource. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.appconfig.getConfigurationProfiles({ * applicationId: "a1d3rpe", * }); * const exampleGetConfigurationProfile = example.then(example => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.appconfig.getConfigurationProfile({ * configurationProfileId: __value, * applicationId: exampleAwsAppconfigApplication.id, * }) }))); * ``` */ function getConfigurationProfilesOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:appconfig/getConfigurationProfiles:getConfigurationProfiles", { "applicationId": args.applicationId, "region": args.region, }, opts); } exports.getConfigurationProfilesOutput = getConfigurationProfilesOutput; //# sourceMappingURL=getConfigurationProfiles.js.map