import * as core from "@terrascript/core"; export interface ResumeClusterArgs extends core.SchemaArgs { clusterIdentifier: string | core.StringOut; } export declare class ResumeCluster extends core.Schema { clusterIdentifier: string | core.StringOut; } export interface PauseClusterArgs extends core.SchemaArgs { clusterIdentifier: string | core.StringOut; } export declare class PauseCluster extends core.Schema { clusterIdentifier: string | core.StringOut; } export interface ResizeClusterArgs extends core.SchemaArgs { classic?: boolean | core.BooleanOut; clusterIdentifier: string | core.StringOut; clusterType?: string | core.StringOut; nodeType?: string | core.StringOut; numberOfNodes?: number | core.NumberOut; } export declare class ResizeCluster extends core.Schema { classic?: boolean | core.BooleanOut; clusterIdentifier: string | core.StringOut; clusterType?: string | core.StringOut; nodeType?: string | core.StringOut; numberOfNodes?: number | core.NumberOut; } export interface TargetActionArgs extends core.SchemaArgs { pauseCluster?: PauseCluster; resizeCluster?: ResizeCluster; resumeCluster?: ResumeCluster; } export declare class TargetAction extends core.Schema { pauseCluster?: PauseCluster; resizeCluster?: ResizeCluster; resumeCluster?: ResumeCluster; } export interface ScheduledActionArgs extends core.ResourceArgs { /** * (Optional) The description of the scheduled action. */ description?: string | core.StringOut; /** * (Optional) Whether to enable the scheduled action. Default is `true` . */ enable?: boolean | core.BooleanOut; /** * (Optional) The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY- * MM-DDTHH:MM:SSZ). */ endTime?: string | core.StringOut; /** * (Required) The IAM role to assume to run the scheduled action. */ iamRole: string | core.StringOut; /** * (Required) The scheduled action name. */ name: string | core.StringOut; /** * (Required) The schedule of action. The schedule is defined format of "at expression" or "cron expres * sion", for example `at(2016-03-04T17:27:00)` or `cron(0 10 ? * MON *)`. See [Scheduled Action](https * ://docs.aws.amazon.com/redshift/latest/APIReference/API_ScheduledAction.html) for more information. */ schedule: string | core.StringOut; /** * (Optional) The start time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYY * Y-MM-DDTHH:MM:SSZ). */ startTime?: string | core.StringOut; /** * (Required) Target action. Documented below. */ targetAction: TargetAction; } export declare class ScheduledAction extends core.Resource { /** * (Optional) The description of the scheduled action. */ description?: string | core.StringOut; /** * (Optional) Whether to enable the scheduled action. Default is `true` . */ enable?: boolean | core.BooleanOut; /** * (Optional) The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY- * MM-DDTHH:MM:SSZ). */ endTime?: string | core.StringOut; /** * (Required) The IAM role to assume to run the scheduled action. */ iamRole: string | core.StringOut; /** * The Redshift Scheduled Action name. */ id: string | core.StringOut; /** * (Required) The scheduled action name. */ name: string | core.StringOut; /** * (Required) The schedule of action. The schedule is defined format of "at expression" or "cron expres * sion", for example `at(2016-03-04T17:27:00)` or `cron(0 10 ? * MON *)`. See [Scheduled Action](https * ://docs.aws.amazon.com/redshift/latest/APIReference/API_ScheduledAction.html) for more information. */ schedule: string | core.StringOut; /** * (Optional) The start time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYY * Y-MM-DDTHH:MM:SSZ). */ startTime?: string | core.StringOut; /** * (Required) Target action. Documented below. */ targetAction: TargetAction; constructor(name: string, args?: ScheduledActionArgs); getNamespace(): string; } //# sourceMappingURL=scheduled_action.d.ts.map