@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
86 lines (85 loc) • 2.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides details about an AWS AppConfig Application.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.appconfig.getApplication({
* name: "my-appconfig-application",
* });
* ```
*/
export declare function getApplication(args?: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>;
/**
* A collection of arguments for invoking getApplication.
*/
export interface GetApplicationArgs {
/**
* ID of the Application. Either `id` or `name` must be specified.
*/
id?: string;
/**
* AWS AppConfig Application name. Either `name` or `id` must be specified.
*/
name?: 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 getApplication.
*/
export interface GetApplicationResult {
/**
* ARN of the Application.
*/
readonly arn: string;
/**
* Description of the Application.
*/
readonly description: string;
readonly id: string;
readonly name: string;
readonly region: string;
}
/**
* Provides details about an AWS AppConfig Application.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.appconfig.getApplication({
* name: "my-appconfig-application",
* });
* ```
*/
export declare function getApplicationOutput(args?: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult>;
/**
* A collection of arguments for invoking getApplication.
*/
export interface GetApplicationOutputArgs {
/**
* ID of the Application. Either `id` or `name` must be specified.
*/
id?: pulumi.Input<string>;
/**
* AWS AppConfig Application name. Either `name` or `id` must be specified.
*/
name?: 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>;
}