import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage scaling lifecycle hook
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooCommand = new volcengine.ecs.Command("fooCommand", {
 *     description: "tf",
 *     workingDir: "/home",
 *     username: "root",
 *     timeout: 100,
 *     commandContent: "IyEvYmluL2Jhc2gKCgplY2hvICJvcGVyYXRpb24gc3VjY2VzcyEi",
 * });
 * const fooScalingGroup = new volcengine.autoscaling.ScalingGroup("fooScalingGroup", {
 *     scalingGroupName: "acc-test-scaling-group-lifecycle",
 *     subnetIds: [fooSubnet.id],
 *     multiAzPolicy: "BALANCE",
 *     desireInstanceNumber: 0,
 *     minInstanceNumber: 0,
 *     maxInstanceNumber: 1,
 *     instanceTerminatePolicy: "OldestInstance",
 *     defaultCooldown: 10,
 * });
 * const fooScalingLifecycleHook = new volcengine.autoscaling.ScalingLifecycleHook("fooScalingLifecycleHook", {
 *     lifecycleHookName: "acc-test-lifecycle",
 *     lifecycleHookPolicy: "ROLLBACK",
 *     lifecycleHookTimeout: 300,
 *     lifecycleHookType: "SCALE_OUT",
 *     scalingGroupId: fooScalingGroup.id,
 * });
 * //  lifecycle_command {
 * //    command_id = volcengine_ecs_command.foo.id
 * //    parameters = "{}"
 * //  }
 * ```
 *
 * ## Import
 *
 * ScalingLifecycleHook can be imported using the ScalingGroupId:LifecycleHookId, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:autoscaling/scalingLifecycleHook:ScalingLifecycleHook default scg-yblfbfhy7agh9zn72iaz:sgh-ybqholahe4gso0ee88sd
 * ```
 */
export declare class ScalingLifecycleHook extends pulumi.CustomResource {
    /**
     * Get an existing ScalingLifecycleHook 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?: ScalingLifecycleHookState, opts?: pulumi.CustomResourceOptions): ScalingLifecycleHook;
    /**
     * Returns true if the given object is an instance of ScalingLifecycleHook.  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 ScalingLifecycleHook;
    /**
     * Batch job command.
     */
    readonly lifecycleCommand: pulumi.Output<outputs.autoscaling.ScalingLifecycleHookLifecycleCommand | undefined>;
    /**
     * The id of the lifecycle hook.
     */
    readonly lifecycleHookId: pulumi.Output<string>;
    /**
     * The name of the lifecycle hook.
     */
    readonly lifecycleHookName: pulumi.Output<string>;
    /**
     * The policy of the lifecycle hook. Valid values: CONTINUE, REJECT, ROLLBACK.
     */
    readonly lifecycleHookPolicy: pulumi.Output<string>;
    /**
     * The timeout of the lifecycle hook.
     */
    readonly lifecycleHookTimeout: pulumi.Output<number>;
    /**
     * The type of the lifecycle hook. Valid values: SCALE_IN, SCALE_OUT.
     */
    readonly lifecycleHookType: pulumi.Output<string>;
    /**
     * The id of the scaling group.
     */
    readonly scalingGroupId: pulumi.Output<string>;
    /**
     * Create a ScalingLifecycleHook 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: ScalingLifecycleHookArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ScalingLifecycleHook resources.
 */
export interface ScalingLifecycleHookState {
    /**
     * Batch job command.
     */
    lifecycleCommand?: pulumi.Input<inputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
    /**
     * The id of the lifecycle hook.
     */
    lifecycleHookId?: pulumi.Input<string>;
    /**
     * The name of the lifecycle hook.
     */
    lifecycleHookName?: pulumi.Input<string>;
    /**
     * The policy of the lifecycle hook. Valid values: CONTINUE, REJECT, ROLLBACK.
     */
    lifecycleHookPolicy?: pulumi.Input<string>;
    /**
     * The timeout of the lifecycle hook.
     */
    lifecycleHookTimeout?: pulumi.Input<number>;
    /**
     * The type of the lifecycle hook. Valid values: SCALE_IN, SCALE_OUT.
     */
    lifecycleHookType?: pulumi.Input<string>;
    /**
     * The id of the scaling group.
     */
    scalingGroupId?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a ScalingLifecycleHook resource.
 */
export interface ScalingLifecycleHookArgs {
    /**
     * Batch job command.
     */
    lifecycleCommand?: pulumi.Input<inputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
    /**
     * The name of the lifecycle hook.
     */
    lifecycleHookName: pulumi.Input<string>;
    /**
     * The policy of the lifecycle hook. Valid values: CONTINUE, REJECT, ROLLBACK.
     */
    lifecycleHookPolicy: pulumi.Input<string>;
    /**
     * The timeout of the lifecycle hook.
     */
    lifecycleHookTimeout: pulumi.Input<number>;
    /**
     * The type of the lifecycle hook. Valid values: SCALE_IN, SCALE_OUT.
     */
    lifecycleHookType: pulumi.Input<string>;
    /**
     * The id of the scaling group.
     */
    scalingGroupId: pulumi.Input<string>;
}
