import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Looks up an existing AWS Account Access Application. Lookup is by Application ARN or by IAM Identity Center instance ARN (one Application per instance). * * ## Example Usage * * ### By Application ARN * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.accountaccess.getApplication({ * arn: "arn:aws:account-access:us-east-1:123456789012:application/aam-0123456789abcdef", * }); * ``` * * ### By Identity Center Instance * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssoadmin.getInstances({}); * const exampleGetApplication = example.then(example => aws.accountaccess.getApplication({ * identityCenterInstanceArn: example.arns?.[0], * })); * ``` */ export declare function getApplication(args?: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationArgs { /** * ARN of the Application to look up. Exactly one of `arn` or `identityCenterInstanceArn` must be specified. */ arn?: string; /** * ARN of the IAM Identity Center instance whose bound Application should be returned. Exactly one of `arn` or `identityCenterInstanceArn` must be specified. */ identityCenterInstanceArn?: 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 { readonly arn: string; /** * Date and time, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339), when the Application was created. */ readonly createdAt: string; readonly identityCenterInstanceArn?: string; /** * Identity source for the application. Forces replacement when changed. See `identitySource` Block below. */ readonly identitySources: outputs.accountaccess.GetApplicationIdentitySource[]; readonly region: string; /** * Current lifecycle status. One of `CREATE_IN_PROGRESS`, `ACTIVE`, `DELETE_IN_PROGRESS`, `CREATE_FAILED`, `DELETE_FAILED`. */ readonly status: string; /** * Map of tags assigned to the Application. */ readonly tags: { [key: string]: string; }; /** * Internal tenant identifier returned by the service. */ readonly tenantId: string; /** * Date and time, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339), when the Application was last updated. */ readonly updatedAt: string; } /** * Looks up an existing AWS Account Access Application. Lookup is by Application ARN or by IAM Identity Center instance ARN (one Application per instance). * * ## Example Usage * * ### By Application ARN * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.accountaccess.getApplication({ * arn: "arn:aws:account-access:us-east-1:123456789012:application/aam-0123456789abcdef", * }); * ``` * * ### By Identity Center Instance * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssoadmin.getInstances({}); * const exampleGetApplication = example.then(example => aws.accountaccess.getApplication({ * identityCenterInstanceArn: example.arns?.[0], * })); * ``` */ export declare function getApplicationOutput(args?: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationOutputArgs { /** * ARN of the Application to look up. Exactly one of `arn` or `identityCenterInstanceArn` must be specified. */ arn?: pulumi.Input; /** * ARN of the IAM Identity Center instance whose bound Application should be returned. Exactly one of `arn` or `identityCenterInstanceArn` must be specified. */ identityCenterInstanceArn?: pulumi.Input; /** * 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; } //# sourceMappingURL=getApplication.d.ts.map