import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * `minio.IlmPolicy` handles lifecycle settings for a given `minio.S3Bucket`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as minio from "@pulumi/minio"; * * const bucket = new minio.S3Bucket("bucket", {bucket: "bucket"}); * const bucket_lifecycle_rules = new minio.IlmPolicy("bucket-lifecycle-rules", { * bucket: bucket.bucket, * rules: [{ * id: "expire-7d", * expiration: "7d", * }], * }); * ``` */ export declare class IlmPolicy extends pulumi.CustomResource { /** * Get an existing IlmPolicy 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, state?: IlmPolicyState, opts?: pulumi.CustomResourceOptions): IlmPolicy; /** * Returns true if the given object is an instance of IlmPolicy. 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 IlmPolicy; readonly bucket: pulumi.Output; readonly rules: pulumi.Output; /** * Create a IlmPolicy 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: IlmPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IlmPolicy resources. */ export interface IlmPolicyState { bucket?: pulumi.Input; rules?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a IlmPolicy resource. */ export interface IlmPolicyArgs { bucket: pulumi.Input; rules: pulumi.Input[]>; } //# sourceMappingURL=ilmPolicy.d.ts.map