import { Value } from '../../cloudformation/Value';
import { ScheduledActionTypeProps } from './scheduledaction/ScheduledActionTypeProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type ScheduledActionAttributes = {
    State: Attribute<string>;
    NextInvocations: Attribute<string[]>;
};
export type ScheduledAction = AwsResource<'AWS::Redshift::ScheduledAction', ScheduledActionProperties, ScheduledActionAttributes>;
/**
  Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the <code>ResizeCluster</code> API operation.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html">the AWS Docs</a>
*/
export declare function scheduledAction(scheduledActionProps: ScheduledActionProperties): ScheduledAction;
/**
  Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the <code>ResizeCluster</code> API operation.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html">the AWS Docs</a>
*/
export interface ScheduledActionProperties {
    /** <code>ScheduledActionDescription</code>  <a name="cfn-redshift-scheduledaction-scheduledactiondescription"></a>
  The description of the scheduled action.<br />
  
  Required: No<br />
  
  Maximum: <code>2147483647</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    scheduledActionDescription?: Value<string>;
    /** <code>ScheduledActionName</code>  <a name="cfn-redshift-scheduledaction-scheduledactionname"></a>
  The name of the scheduled action.<br />
  
  Required: Yes<br />
  
  Maximum: <code>2147483647</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    scheduledActionName: Value<string>;
    /** <code>EndTime</code>  <a name="cfn-redshift-scheduledaction-endtime"></a>
  The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    endTime?: Value<string>;
    /** <code>Schedule</code>  <a name="cfn-redshift-scheduledaction-schedule"></a>
  The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.<br />
  Format of at expressions is “<code>at(yyyy-mm-ddThh:mm:ss)</code>”. For example, “<code>at(2016-03-04T17:27:00)</code>”.<br />
  Format of cron expressions is “<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>”. For example, “<code>cron(0 10 ? * MON *)</code>”. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron Expressions</a> in the
  Amazon CloudWatch Events User Guide: br />
  
  Required: No<br />
  
  Maximum: <code>2147483647</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    schedule?: Value<string>;
    /** <code>IamRole</code>  <a name="cfn-redshift-scheduledaction-iamrole"></a>
  The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for Amazon Redshift</a> in the
  Amazon Redshift Cluster Management Guide: br />
  
  Required: No<br />
  
  Maximum: <code>2147483647</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    iamRole?: Value<string>;
    /** <code>StartTime</code>  <a name="cfn-redshift-scheduledaction-starttime"></a>
  The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    startTime?: Value<string>;
    /** <code>Enable</code>  <a name="cfn-redshift-scheduledaction-enable"></a>
  If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about <code>state</code> of the scheduled action, see <a href="#aws-resource-redshift-scheduledaction">AWS::Redshift::ScheduledAction</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    enable?: Value<boolean>;
    /** <code>TargetAction</code>  <a name="cfn-redshift-scheduledaction-targetaction"></a>
  A JSON format string of the Amazon Redshift API operation with input parameters.<br />
  “<code>{\&quot;ResizeCluster\&quot;:{\&quot;NodeType\&quot;:\&quot;ds2.8xlarge\&quot;,\&quot;ClusterIdentifier\&quot;:\&quot;my-test-cluster\&quot;,\&quot;NumberOfNodes\&quot;:3}}</code>”.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    targetAction?: ScheduledActionTypeProps;
}
