import { SsmParameterProps } from './SsmParameterProps';
import { Value } from '../../../cloudformation/Value';
import { DynamicSsmParameterProps } from './DynamicSsmParameterProps';
/**
  The <code>SsmAutomation</code> property type specifies details about the Systems Manager automation document that will be used as a runbook during an incident.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html">the AWS Docs</a>
*/
export interface SsmAutomationProps {
    /** <code>Parameters</code>  <a name="cfn-ssmincidents-responseplan-ssmautomation-parameters"></a>
  The key-value pair parameters to use when running the automation document.<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?: SsmParameterProps[];
    /** <code>TargetAccount</code>  <a name="cfn-ssmincidents-responseplan-ssmautomation-targetaccount"></a>
  The account that the automation document will be run in. This can be in either the management account or an application account.<br />
  
  Required: No<br />
  
  Allowed values: <code>IMPACTED_ACCOUNT | RESPONSE_PLAN_OWNER_ACCOUNT</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> */
    targetAccount?: Value<'IMPACTED_ACCOUNT' | 'RESPONSE_PLAN_OWNER_ACCOUNT'>;
    /** <code>DynamicParameters</code>  <a name="cfn-ssmincidents-responseplan-ssmautomation-dynamicparameters"></a>
  The key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook.<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> */
    dynamicParameters?: DynamicSsmParameterProps[];
    /** <code>DocumentVersion</code>  <a name="cfn-ssmincidents-responseplan-ssmautomation-documentversion"></a>
  The automation document’s version to use when running.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>128</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>RoleArn</code>  <a name="cfn-ssmincidents-responseplan-ssmautomation-rolearn"></a>
  The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.<br />
  
  Required: Yes<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>1000</code><br />
  
  Pattern: <code>^arn:aws(-cn|-us-gov)?:iam::([0-9]{12})?:role/.+$</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> */
    roleArn: Value<string>;
    /** <code>DocumentName</code>  <a name="cfn-ssmincidents-responseplan-ssmautomation-documentname"></a>
  The automation document’s name.<br />
  
  Required: Yes<br />
  
  Pattern: <code>^[a-zA-Z0-9_\-.:/]{3,128}$</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> */
    documentName: Value<string>;
}
