UNPKG

@pulumi/aws

Version:

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

102 lines (101 loc) 2.95 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for managing an AWS SSO Admin Application. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssoadmin.getApplication({ * applicationArn: "arn:aws:sso::123456789012:application/ssoins-1234/apl-5678", * }); * ``` */ export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationArgs { /** * ARN of the application. */ applicationArn: 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 { /** * AWS account ID. */ readonly applicationAccount: string; readonly applicationArn: string; /** * ARN of the application provider. */ readonly applicationProviderArn: string; /** * Description of the application. */ readonly description: string; /** * ARN of the application. */ readonly id: string; /** * ARN of the instance of IAM Identity Center. */ readonly instanceArn: string; /** * Name of the application. */ readonly name: string; /** * Options for the portal associated with an application. See the `aws.ssoadmin.Application` resource documentation. The attributes are the same. */ readonly portalOptions: outputs.ssoadmin.GetApplicationPortalOption[]; readonly region: string; /** * Status of the application. */ readonly status: string; } /** * Data source for managing an AWS SSO Admin Application. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssoadmin.getApplication({ * applicationArn: "arn:aws:sso::123456789012:application/ssoins-1234/apl-5678", * }); * ``` */ export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult>; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationOutputArgs { /** * ARN of the application. */ applicationArn: 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>; }