control_mappings
Creates, updates, deletes, gets or lists a control_mappings resource.
Overview
| Name | control_mappings |
| Type | Resource |
| Id | aws.controlcatalog.control_mappings |
Fields
The following fields are returned by SELECT queries:
- list_control_mappings
| Name | Datatype | Description |
|---|---|---|
control_arn | string | The Amazon Resource Name (ARN) that identifies the control in the mapping. (pattern: <code>arn:(aws(?:[-a-z])?):(controlcatalog|controltower):[a-zA-Z0-9-]::control/[0-9a-zA-Z_-]+</code>) |
mapping | object | The details of the mapping relationship, for example, containing framework, common control, or related control information. |
mapping_type | string | The type of mapping relationship between the control and other entities. (FRAMEWORK, COMMON_CONTROL, RELATED_CONTROL) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_control_mappings | select | region | nextToken, maxResults | Returns a paginated list of control mappings from the Control Catalog. Control mappings show relationships between controls and other entities, such as common controls or compliance frameworks. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results on a page or for an API request call. |
nextToken | string | The pagination token that's used to fetch the next set of results. |
SELECT examples
- list_control_mappings
Returns a paginated list of control mappings from the Control Catalog. Control mappings show relationships between controls and other entities, such as common controls or compliance frameworks.
SELECT
control_arn,
mapping,
mapping_type
FROM aws.controlcatalog.control_mappings
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;