import { Value } from '../../../cloudformation/Value';
import { CloudWatchOutputConfigProps } from './CloudWatchOutputConfigProps';
import { NotificationConfigProps } from './NotificationConfigProps';
/**
  The <code>MaintenanceWindowRunCommandParameters</code> property type specifies the parameters for a <code>RUN_COMMAND</code> task type for a maintenance window task in AWS Systems Manager. This means that these parameters are the same as those for the <code>SendCommand</code> API call. For more information about <code>SendCommand</code> parameters, see <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html">SendCommand</a> in the <em>AWS Systems Manager API Reference</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html">the AWS Docs</a>
*/
export interface MaintenanceWindowRunCommandParametersProps {
    /** <code>TimeoutSeconds</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-timeoutseconds"></a>
  If this time is reached and the command hasn’t already started running, it doesn’t run.<br />
  
  Required: No<br />
  
  Minimum: <code>30</code><br />
  
  Maximum: <code>2592000</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> */
    timeoutSeconds?: Value<number>;
    /** <code>Comment</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-comment"></a>
  Information about the command or commands to run.<br />
  
  Required: No<br />
  
  Maximum: <code>100</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> */
    comment?: Value<string>;
    /** <code>OutputS3KeyPrefix</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3keyprefix"></a>
  The S3 bucket subfolder.<br />
  
  Required: No<br />
  
  Maximum: <code>500</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> */
    outputS3KeyPrefix?: Value<string>;
    /** <code>Parameters</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-parameters"></a>
  The parameters for the <code>RUN_COMMAND</code> task execution.<br />
  The supported parameters are the same as those for the <code>SendCommand</code> API call. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html">SendCommand</a> in the
  AWS Systems Manager API Reference: 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> */
    parameters?: Value<any>;
    /** <code>CloudWatchOutputConfig</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-cloudwatchoutputconfig"></a>
  Configuration options for sending command output to Amazon CloudWatch Logs.<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> */
    cloudWatchOutputConfig?: CloudWatchOutputConfigProps;
    /** <code>DocumentHashType</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthashtype"></a>
  The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.<br />
  
  Required: No<br />
  
  Allowed values: <code>Sha1 | Sha256</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> */
    documentHashType?: Value<'Sha1' | 'Sha256'>;
    /** <code>ServiceRoleArn</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-servicerolearn"></a>
  The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.<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> */
    serviceRoleArn?: Value<string>;
    /** <code>NotificationConfig</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-notificationconfig"></a>
  Configurations for sending notifications about command status changes on a per-managed node basis.<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> */
    notificationConfig?: NotificationConfigProps;
    /** <code>DocumentVersion</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documentversion"></a>
  The AWS Systems Manager document (SSM document) version to use in the request. You can specify <code>$DEFAULT</code>, <code>$LATEST</code>, or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don’t need to use the backslash. For example:<br />
  <code>--document-version &quot;\$DEFAULT&quot;</code><br />
  <code>--document-version &quot;\$LATEST&quot;</code><br />
  <code>--document-version &quot;3&quot;</code><br />
  
  Required: No<br />
  
  Pattern: <code>([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)</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> */
    documentVersion?: Value<string>;
    /** <code>OutputS3BucketName</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3bucketname"></a>
  The name of the Amazon Simple Storage Service (Amazon S3) bucket.<br />
  
  Required: No<br />
  
  Minimum: <code>3</code><br />
  
  Maximum: <code>63</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> */
    outputS3BucketName?: Value<string>;
    /** <code>DocumentHash</code>  <a name="cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthash"></a>
  The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.<br />
  
  Required: No<br />
  
  Maximum: <code>256</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> */
    documentHash?: Value<string>;
}
