import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Object Lifecycle Policy resource in Oracle Cloud Infrastructure Object Storage service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/objectstorage/latest/ObjectLifecyclePolicy
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
 *
 * Creates or replaces the object lifecycle policy for the bucket.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testObjectLifecyclePolicy = new oci.objectstorage.ObjectLifecyclePolicy("test_object_lifecycle_policy", {
 *     bucket: objectLifecyclePolicyBucket,
 *     namespace: objectLifecyclePolicyNamespace,
 *     rules: [{
 *         action: objectLifecyclePolicyRulesAction,
 *         isEnabled: objectLifecyclePolicyRulesIsEnabled === "true",
 *         name: objectLifecyclePolicyRulesName,
 *         timeAmount: objectLifecyclePolicyRulesTimeAmount,
 *         timeUnit: objectLifecyclePolicyRulesTimeUnit,
 *         objectNameFilter: {
 *             exclusionPatterns: objectLifecyclePolicyRulesObjectNameFilterExclusionPatterns,
 *             inclusionPatterns: objectLifecyclePolicyRulesObjectNameFilterInclusionPatterns,
 *             inclusionPrefixes: objectLifecyclePolicyRulesObjectNameFilterInclusionPrefixes,
 *         },
 *         target: objectLifecyclePolicyRulesTarget,
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * ObjectLifecyclePolicies can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:ObjectStorage/objectLifecyclePolicy:ObjectLifecyclePolicy test_object_lifecycle_policy "n/{namespaceName}/b/{bucketName}/l"
 * ```
 */
export declare class ObjectLifecyclePolicy extends pulumi.CustomResource {
    /**
     * Get an existing ObjectLifecyclePolicy 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 state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ObjectLifecyclePolicyState, opts?: pulumi.CustomResourceOptions): ObjectLifecyclePolicy;
    /**
     * Returns true if the given object is an instance of ObjectLifecyclePolicy.  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 ObjectLifecyclePolicy;
    /**
     * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
     */
    readonly bucket: pulumi.Output<string>;
    /**
     * The Object Storage namespace used for the request.
     */
    readonly namespace: pulumi.Output<string>;
    /**
     * (Updatable) The bucket's set of lifecycle policy rules.
     */
    readonly rules: pulumi.Output<outputs.ObjectStorage.ObjectLifecyclePolicyRule[]>;
    /**
     * The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Create a ObjectLifecyclePolicy 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: ObjectLifecyclePolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ObjectLifecyclePolicy resources.
 */
export interface ObjectLifecyclePolicyState {
    /**
     * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
     */
    bucket?: pulumi.Input<string | undefined>;
    /**
     * The Object Storage namespace used for the request.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The bucket's set of lifecycle policy rules.
     */
    rules?: pulumi.Input<pulumi.Input<inputs.ObjectStorage.ObjectLifecyclePolicyRule>[] | undefined>;
    /**
     * The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ObjectLifecyclePolicy resource.
 */
export interface ObjectLifecyclePolicyArgs {
    /**
     * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
     */
    bucket: pulumi.Input<string>;
    /**
     * The Object Storage namespace used for the request.
     */
    namespace: pulumi.Input<string>;
    /**
     * (Updatable) The bucket's set of lifecycle policy rules.
     */
    rules?: pulumi.Input<pulumi.Input<inputs.ObjectStorage.ObjectLifecyclePolicyRule>[] | undefined>;
}
//# sourceMappingURL=objectLifecyclePolicy.d.ts.map