UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

92 lines (91 loc) 3.55 kB
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<pulumi.ID>, 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<number>; readonly availabilitySlo: pulumi.Output<outputs.resiliencehubv2.PolicyAvailabilitySlo | undefined>; /** * The timestamp when the policy was created. */ readonly createdAt: pulumi.Output<string>; readonly dataRecovery: pulumi.Output<outputs.resiliencehubv2.PolicyDataRecoveryTargets | undefined>; /** * The description of the policy. */ readonly description: pulumi.Output<string | undefined>; /** * The KMS key ID for encrypting policy data. */ readonly kmsKeyId: pulumi.Output<string | undefined>; readonly multiAz: pulumi.Output<outputs.resiliencehubv2.PolicyMultiAzTargets | undefined>; readonly multiRegion: pulumi.Output<outputs.resiliencehubv2.PolicyMultiRegionTargets | undefined>; /** * The name of the policy. */ readonly name: pulumi.Output<string>; /** * The ARN of the policy. */ readonly policyArn: pulumi.Output<string>; /** * Tags assigned to the policy. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * The timestamp when the policy was last updated. */ readonly updatedAt: pulumi.Output<string>; /** * 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<inputs.resiliencehubv2.PolicyAvailabilitySloArgs>; dataRecovery?: pulumi.Input<inputs.resiliencehubv2.PolicyDataRecoveryTargetsArgs>; /** * The description of the policy. */ description?: pulumi.Input<string>; /** * The KMS key ID for encrypting policy data. */ kmsKeyId?: pulumi.Input<string>; multiAz?: pulumi.Input<inputs.resiliencehubv2.PolicyMultiAzTargetsArgs>; multiRegion?: pulumi.Input<inputs.resiliencehubv2.PolicyMultiRegionTargetsArgs>; /** * The name of the policy. */ name?: pulumi.Input<string>; /** * Tags assigned to the policy. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }