import { Ec2TaskDefinition } from "../../../aws-ecs";
import { EcsTask } from "../../../aws-events-targets";
import { Construct } from 'constructs';
import { ScheduledTaskBase, ScheduledTaskBaseProps, ScheduledTaskImageProps } from '../base/scheduled-task-base';
/**
 * (experimental) The properties for the ScheduledEc2Task task.
 *
 * @experimental
 */
export interface ScheduledEc2TaskProps extends ScheduledTaskBaseProps {
    /**
     * (experimental) The properties to define if using an existing TaskDefinition in this construct.
     *
     * ScheduledEc2TaskDefinitionOptions or ScheduledEc2TaskImageOptions must be defined, but not both.
     *
     * @default none
     * @experimental
     */
    readonly scheduledEc2TaskDefinitionOptions?: ScheduledEc2TaskDefinitionOptions;
    /**
     * (experimental) The properties to define if the construct is to create a TaskDefinition.
     *
     * ScheduledEc2TaskDefinitionOptions or ScheduledEc2TaskImageOptions must be defined, but not both.
     *
     * @default none
     * @experimental
     */
    readonly scheduledEc2TaskImageOptions?: ScheduledEc2TaskImageOptions;
}
/**
 * (experimental) The properties for the ScheduledEc2Task using an image.
 *
 * @experimental
 */
export interface ScheduledEc2TaskImageOptions extends ScheduledTaskImageProps {
    /**
     * (experimental) The minimum number of CPU units to reserve for the container.
     *
     * @default none
     * @experimental
     */
    readonly cpu?: number;
    /**
     * (experimental) The hard limit (in MiB) of memory to present to the container.
     *
     * If your container attempts to exceed the allocated memory, the container
     * is terminated.
     *
     * At least one of memoryLimitMiB and memoryReservationMiB is required for non-Fargate services.
     *
     * @default - No memory limit.
     * @experimental
     */
    readonly memoryLimitMiB?: number;
    /**
     * (experimental) The soft limit (in MiB) of memory to reserve for the container.
     *
     * When system memory is under contention, Docker attempts to keep the
     * container memory within the limit. If the container requires more memory,
     * it can consume up to the value specified by the Memory property or all of
     * the available memory on the container instance—whichever comes first.
     *
     * At least one of memoryLimitMiB and memoryReservationMiB is required for non-Fargate services.
     *
     * @default - No memory reserved.
     * @experimental
     */
    readonly memoryReservationMiB?: number;
}
/**
 * (experimental) The properties for the ScheduledEc2Task using a task definition.
 *
 * @experimental
 */
export interface ScheduledEc2TaskDefinitionOptions {
    /**
     * (experimental) The task definition to use for tasks in the service. One of image or taskDefinition must be specified.
     *
     * [disable-awslint:ref-via-interface]
     *
     * @default - none
     * @experimental
     */
    readonly taskDefinition: Ec2TaskDefinition;
}
/**
 * (experimental) A scheduled EC2 task that will be initiated off of CloudWatch Events.
 *
 * @experimental
 */
export declare class ScheduledEc2Task extends ScheduledTaskBase {
    /**
     * (experimental) The EC2 task definition in this construct.
     *
     * @experimental
     */
    readonly taskDefinition: Ec2TaskDefinition;
    /**
     * (experimental) The ECS task in this construct.
     *
     * @experimental
     */
    readonly task: EcsTask;
    /**
     * (experimental) Constructs a new instance of the ScheduledEc2Task class.
     *
     * @experimental
     */
    constructor(scope: Construct, id: string, props: ScheduledEc2TaskProps);
}
