import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Creates a resilience policy that defines availability and disaster recovery requirements. */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyArgs { /** * The ARN of the policy. */ policyArn: string; } export interface GetPolicyResult { /** * The number of services associated with this policy. */ readonly associatedServiceCount?: number; readonly availabilitySlo?: outputs.resiliencehubv2.PolicyAvailabilitySlo; /** * The timestamp when the policy was created. */ readonly createdAt?: string; readonly dataRecovery?: outputs.resiliencehubv2.PolicyDataRecoveryTargets; /** * The description of the policy. */ readonly description?: string; readonly multiAz?: outputs.resiliencehubv2.PolicyMultiAzTargets; readonly multiRegion?: outputs.resiliencehubv2.PolicyMultiRegionTargets; /** * The ARN of the policy. */ readonly policyArn?: string; /** * Tags assigned to the policy. */ readonly tags?: outputs.Tag[]; /** * The timestamp when the policy was last updated. */ readonly updatedAt?: string; } /** * Creates a resilience policy that defines availability and disaster recovery requirements. */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetPolicyOutputArgs { /** * The ARN of the policy. */ policyArn: pulumi.Input; }