Skip to main content

control_mappings

Creates, updates, deletes, gets or lists a control_mappings resource.

Overview​

Namecontrol_mappings
TypeResource
Idaws.controlcatalog.control_mappings

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
control_arnstringThe 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>)
mappingobjectThe details of the mapping relationship, for example, containing framework, common control, or related control information.
mapping_typestringThe type of mapping relationship between the control and other entities. (FRAMEWORK, COMMON_CONTROL, RELATED_CONTROL)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_control_mappingsselectregionnextToken, maxResultsReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results on a page or for an API request call.
nextTokenstringThe pagination token that's used to fetch the next set of results.

SELECT examples​

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 }}'
;