import * as pulumi from "@pulumi/pulumi"; /** * Data source for managing an Amazon ARC Region Switch plan. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.arcregionswitch.getPlan({ * arn: "arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan", * }); * ``` */ export declare function getPlan(args: GetPlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPlan. */ export interface GetPlanArgs { /** * ARN of the ARC Region Switch Plan. */ arn: 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. * * @deprecated This attribute will be removed in a future version of the provider. */ region?: string; } /** * A collection of values returned by getPlan. */ export interface GetPlanResult { readonly arn: string; /** * Description of the plan. */ readonly description: string; /** * Execution role ARN for the plan. */ readonly executionRole: string; /** * Name of the plan. */ readonly name: string; /** * Owner of the plan. */ readonly owner: string; /** * Primary region for the plan. */ readonly primaryRegion: string; /** * Recovery approach for the plan. */ readonly recoveryApproach: string; /** * Recovery time objective in minutes. */ readonly recoveryTimeObjectiveMinutes: number; /** * @deprecated This attribute will be removed in a future version of the provider. */ readonly region: string; /** * List of regions included in the plan. */ readonly regions: string[]; /** * Map of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; /** * Timestamp when the plan was last updated (RFC3339 format). */ readonly updatedAt: string; /** * Version of the plan. */ readonly version: string; } /** * Data source for managing an Amazon ARC Region Switch plan. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.arcregionswitch.getPlan({ * arn: "arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan", * }); * ``` */ export declare function getPlanOutput(args: GetPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPlan. */ export interface GetPlanOutputArgs { /** * ARN of the ARC Region Switch Plan. */ arn: 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. * * @deprecated This attribute will be removed in a future version of the provider. */ region?: pulumi.Input; } //# sourceMappingURL=getPlan.d.ts.map