

# Control

A leaf control within a framework version, with its full attributes including its requirements. To retrieve the attributes of the control group it belongs to, use `GetControlGroup`. To retrieve the other controls in that group, use `ListControls`.

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

 ** type **   <a name="assurance-Type-Control-type"></a>
The type of the control.  
Type: String  
Valid Values: `MANAGED | CUSTOM`   
Required: Yes

 ** controlId **   <a name="assurance-Type-Control-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: No

 ** controlIntents **   <a name="assurance-Type-Control-controlIntents"></a>
The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 20 items.  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

 ** createdAt **   <a name="assurance-Type-Control-createdAt"></a>
The time when you created the control. The response includes it only for controls in custom frameworks.  
Type: Timestamp  
Required: No

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

 ** framework **   <a name="assurance-Type-Control-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: No

 ** frameworkVersion **   <a name="assurance-Type-Control-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: No

 ** groupId **   <a name="assurance-Type-Control-groupId"></a>
The parent group ID (for example, "A.2" for control "A.2.2").  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._()-]*`   
Required: No

 ** requirements **   <a name="assurance-Type-Control-requirements"></a>
The individual checks an assessment scores for this control. Absent when the control has none.  
Type: Array of [Requirement](API_Requirement.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 100 items.  
Required: No

 ** status **   <a name="assurance-Type-Control-status"></a>
The lifecycle status of the control.  
Type: String  
Valid Values: `ACTIVE | PENDING | PRE_PROD`   
Required: No

 ** title **   <a name="assurance-Type-Control-title"></a>
The human-readable title of the control.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 512.  
Required: No

 ** updatedAt **   <a name="assurance-Type-Control-updatedAt"></a>
The time when the control was last modified. Returned for controls in custom frameworks only.  
Type: Timestamp  
Required: No

 ** workflowType **   <a name="assurance-Type-Control-workflowType"></a>
How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:  
+  `automated-scan` – Evaluates the configuration of your AWS resources.
+  `document` – Evaluates the evidence documents that you provide.
+  `hybrid` – Evaluates both resource configuration and evidence documents.
Type: String  
Valid Values: `automated-scan | document | hybrid`   
Required: No

## See Also
<a name="API_Control_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/Control) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/Control) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/Control) 