import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Creates a resilience policy that defines availability and disaster recovery requirements. */ export declare class Policy extends pulumi.CustomResource { /** * Get an existing Policy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Policy; /** * Returns true if the given object is an instance of Policy. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Policy; /** * The number of services associated with this policy. */ readonly associatedServiceCount: pulumi.Output; readonly availabilitySlo: pulumi.Output; /** * The timestamp when the policy was created. */ readonly createdAt: pulumi.Output; readonly dataRecovery: pulumi.Output; /** * The description of the policy. */ readonly description: pulumi.Output; /** * The KMS key ID for encrypting policy data. */ readonly kmsKeyId: pulumi.Output; readonly multiAz: pulumi.Output; readonly multiRegion: pulumi.Output; /** * The name of the policy. */ readonly name: pulumi.Output; /** * The ARN of the policy. */ readonly policyArn: pulumi.Output; /** * Tags assigned to the policy. */ readonly tags: pulumi.Output; /** * The timestamp when the policy was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a Policy resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: PolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Policy resource. */ export interface PolicyArgs { availabilitySlo?: pulumi.Input; dataRecovery?: pulumi.Input; /** * The description of the policy. */ description?: pulumi.Input; /** * The KMS key ID for encrypting policy data. */ kmsKeyId?: pulumi.Input; multiAz?: pulumi.Input; multiRegion?: pulumi.Input; /** * The name of the policy. */ name?: pulumi.Input; /** * Tags assigned to the policy. */ tags?: pulumi.Input[]>; }