common_controls
Creates, updates, deletes, gets or lists a common_controls resource.
Overview
| Name | common_controls |
| Type | Resource |
| Id | aws.controlcatalog.common_controls |
Fields
The following fields are returned by SELECT queries:
- list_common_controls
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) that identifies the common control. (pattern: <code>arn:(aws(?:[-a-z]*)?):controlcatalog:::common-control/[0-9a-z]+</code>) |
create_time | string (date-time) | The time when the common control was created. |
description | string | The description of the common control. |
domain | object | The domain that the common control belongs to. |
last_update_time | string (date-time) | The time when the common control was most recently updated. |
name | string | The name of the common control. |
objective | object | The objective that the common control belongs to. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_common_controls | select | region | maxResults, nextToken | Returns a paginated list of common controls from the Amazon Web Services Control Catalog. You can apply an optional filter to see common controls that have a specific objective. If you don’t provide a filter, the operation returns all common controls. |
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_common_controls
Returns a paginated list of common controls from the Amazon Web Services Control Catalog. You can apply an optional filter to see common controls that have a specific objective. If you don’t provide a filter, the operation returns all common controls.
SELECT
arn,
create_time,
description,
domain,
last_update_time,
name,
objective
FROM aws.controlcatalog.common_controls
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;