@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
87 lines (86 loc) • 3.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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,
* }) })));
* ```
*/
export declare function getConfigurationProfiles(args: GetConfigurationProfilesArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationProfilesResult>;
/**
* A collection of arguments for invoking getConfigurationProfiles.
*/
export interface GetConfigurationProfilesArgs {
/**
* ID of the AppConfig Application.
*/
applicationId: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getConfigurationProfiles.
*/
export interface GetConfigurationProfilesResult {
readonly applicationId: string;
/**
* Set of Configuration Profile IDs associated with the AppConfig Application.
*/
readonly configurationProfileIds: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly region: string;
}
/**
* 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,
* }) })));
* ```
*/
export declare function getConfigurationProfilesOutput(args: GetConfigurationProfilesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigurationProfilesResult>;
/**
* A collection of arguments for invoking getConfigurationProfiles.
*/
export interface GetConfigurationProfilesOutputArgs {
/**
* ID of the AppConfig Application.
*/
applicationId: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}