import { Value } from '../../../cloudformation/Value';
/**
  The <code>Delegation</code> property type specifies the assignment of a control set to a delegate for review.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html">the AWS Docs</a>
*/
export interface DelegationProps {
    /** <code>Status</code>  <a name="cfn-auditmanager-assessment-delegation-status"></a>
  The status of the delegation.<br />
  
  Required: No<br />
  
  Allowed values: <code>COMPLETE | IN_PROGRESS | UNDER_REVIEW</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> */
    status?: Value<'COMPLETE' | 'IN_PROGRESS' | 'UNDER_REVIEW'>;
    /** <code>Comment</code>  <a name="cfn-auditmanager-assessment-delegation-comment"></a>
  The comment that’s related to the delegation.<br />
  
  Required: No<br />
  
  Maximum: <code>350</code><br />
  
  Pattern: <code>^[\w\W\s\S]*$</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>CreatedBy</code>  <a name="cfn-auditmanager-assessment-delegation-createdby"></a>
  The user or role that created the delegation.<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^[a-zA-Z0-9-_()\\[\\]\\s]+$</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> */
    createdBy?: Value<string>;
    /** <code>RoleType</code>  <a name="cfn-auditmanager-assessment-delegation-roletype"></a>
  The type of customer persona.<br />
  In <code>CreateAssessment</code>, <code>roleType</code> can only be <code>PROCESS_OWNER</code>.<br />
  In <code>UpdateSettings</code>, <code>roleType</code> can only be <code>PROCESS_OWNER</code>.<br />
  In <code>BatchCreateDelegationByAssessment</code>, <code>roleType</code> can only be <code>RESOURCE_OWNER</code>.
  
  Required: No<br />
  
  Allowed values: <code>PROCESS_OWNER | RESOURCE_OWNER</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> */
    roleType?: Value<'PROCESS_OWNER' | 'RESOURCE_OWNER'>;
    /** <code>AssessmentId</code>  <a name="cfn-auditmanager-assessment-delegation-assessmentid"></a>
  The identifier for the assessment that’s associated with the delegation.<br />
  
  Required: No<br />
  
  Minimum: <code>36</code><br />
  
  Maximum: <code>36</code><br />
  
  Pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</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> */
    assessmentId?: Value<string>;
    /** <code>CreationTime</code>  <a name="cfn-auditmanager-assessment-delegation-creationtime"></a>
  Specifies when the delegation was created.<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> */
    creationTime?: Value<number>;
    /** <code>LastUpdated</code>  <a name="cfn-auditmanager-assessment-delegation-lastupdated"></a>
  Specifies when the delegation was last updated.<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> */
    lastUpdated?: Value<number>;
    /** <code>Id</code>  <a name="cfn-auditmanager-assessment-delegation-id"></a>
  The unique identifier for the delegation.<br />
  
  Required: No<br />
  
  Minimum: <code>36</code><br />
  
  Maximum: <code>36</code><br />
  
  Pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</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> */
    id?: Value<string>;
    /** <code>AssessmentName</code>  <a name="cfn-auditmanager-assessment-delegation-assessmentname"></a>
  The name of the assessment that’s associated with the delegation.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>300</code><br />
  
  Pattern: <code>^[^\\]*$</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> */
    assessmentName?: Value<string>;
    /** <code>RoleArn</code>  <a name="cfn-auditmanager-assessment-delegation-rolearn"></a>
  The Amazon Resource Name (ARN) of the IAM role.<br />
  
  Required: No<br />
  
  Minimum: <code>20</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>^arn:.*:iam:.*</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>ControlSetId</code>  <a name="cfn-auditmanager-assessment-delegation-controlsetid"></a>
  The identifier for the control set that’s associated with the delegation.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>300</code><br />
  
  Pattern: <code>^[\w\W\s\S]*$</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> */
    controlSetId?: Value<string>;
}
