

# Task

Full task structure returned in responses.

## Contents
<a name="API_Task_Contents"></a>

 ** controlId **   <a name="assurance-Type-Task-controlId"></a>
The control identifier. Optional. If omitted, the operation applies to the full framework.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._()-]*`   
Required: Yes

 ** environment **   <a name="assurance-Type-Task-environment"></a>
The name of the governance environment the task belongs to.  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 36.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9\-]*`   
Required: Yes

 ** framework **   <a name="assurance-Type-Task-framework"></a>
The name of the compliance framework.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._:-]*`   
Required: Yes

 ** frameworkVersion **   <a name="assurance-Type-Task-frameworkVersion"></a>
The version of the compliance framework.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._-]*`   
Required: Yes

 ** project **   <a name="assurance-Type-Task-project"></a>
The name of the project.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._-]*`   
Required: Yes

 ** status **   <a name="assurance-Type-Task-status"></a>
The current lifecycle state of the task.  
Type: String  
Valid Values: `OPEN | PENDING | COMPLETED | CANCELLED`   
Required: Yes

 ** taskId **   <a name="assurance-Type-Task-taskId"></a>
The identifier of the task.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._()-]*`   
Required: Yes

 ** title **   <a name="assurance-Type-Task-title"></a>
The human-readable title of the task.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: Yes

 ** createdAt **   <a name="assurance-Type-Task-createdAt"></a>
The timestamp when the task was created.  
Type: Timestamp  
Required: No

 ** createdBy **   <a name="assurance-Type-Task-createdBy"></a>
The identity of the principal who created the task.  
Type: String  
Required: No

 ** description **   <a name="assurance-Type-Task-description"></a>
A description of the task.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Required: No

 ** dueAt **   <a name="assurance-Type-Task-dueAt"></a>
The deadline for the task.  
Type: Timestamp  
Required: No

 ** priority **   <a name="assurance-Type-Task-priority"></a>
The relative priority of the item.  
Type: String  
Valid Values: `HIGH | MEDIUM | LOW`   
Required: No

 ** updatedAt **   <a name="assurance-Type-Task-updatedAt"></a>
The timestamp when the task was last updated.  
Type: Timestamp  
Required: No

## See Also
<a name="API_Task_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/Task) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/Task) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/Task) 