import * as pulumi from "@pulumi/pulumi"; /** * Bucket RenameObject feature configuration. When enabled, you can call the RenameObject API to rename objects; this feature is mutually exclusive with versioning * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const tOSBucketRenameDemo = new volcenginecc.tos.BucketRename("TOSBucketRenameDemo", {bucket: "ccapi-test-16"}); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:tos/bucketRename:BucketRename example "bucket" * ``` */ export declare class BucketRename extends pulumi.CustomResource { /** * Get an existing BucketRename 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?: BucketRenameState, opts?: pulumi.CustomResourceOptions): BucketRename; /** * Returns true if the given object is an instance of BucketRename. 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 BucketRename; /** * Bucket name */ readonly bucket: pulumi.Output; /** * Whether to enable RenameObject feature. true means enabled */ readonly renameEnable: pulumi.Output; /** * Create a BucketRename 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: BucketRenameArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BucketRename resources. */ export interface BucketRenameState { /** * Bucket name */ bucket?: pulumi.Input; /** * Whether to enable RenameObject feature. true means enabled */ renameEnable?: pulumi.Input; } /** * The set of arguments for constructing a BucketRename resource. */ export interface BucketRenameArgs { /** * Bucket name */ bucket: pulumi.Input; }