code_security_scan_configuration_associations
Creates, updates, deletes, gets or lists a code_security_scan_configuration_associations resource.
Overview
| Name | code_security_scan_configuration_associations |
| Type | Resource |
| Id | aws.inspector2.code_security_scan_configuration_associations |
Fields
The following fields are returned by SELECT queries:
- list_code_security_scan_configuration_associations
| Name | Datatype | Description |
|---|---|---|
associations | array | A list of associations between code repositories and scan configurations. |
next_token | string | A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_code_security_scan_configuration_associations | select | region | nextToken, maxResults | Lists the associations between code repositories and Amazon Inspector code security scan configurations. |
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 to return in the response. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results. |
nextToken | string | A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page. |
SELECT examples
- list_code_security_scan_configuration_associations
Lists the associations between code repositories and Amazon Inspector code security scan configurations.
SELECT
associations,
next_token
FROM aws.inspector2.code_security_scan_configuration_associations
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;